Docs · Apps · Coding

Continue

Chat, edit and autocomplete in VS Code and JetBrains with Continue.

All apps
Where~/.continue/config.yaml

You’ll need an API key. Create one in Dashboard → API keys and give it a monthly limit if the app is shared.

  1. 01

    Open your config

    In Continue, open the config file (~/.continue/config.yaml) from the settings menu.

  2. 02

    Add a model

    Add an entry under models. Keep the key in an environment variable or Continue's secrets rather than in the file.

    config.yaml
    models:
      - name: Claude Sonnet (TokenHaven)
        provider: openai
        model: anthropic/claude-sonnet-4.5
        apiBase: https://api.tokenhaven.ai/v1
        apiKey: ${{ secrets.TOKENHAVEN_API_KEY }}
        roles:
          - chat
          - edit
          - apply
  3. 03

    Reload

    Save the file. The model appears in Continue's model picker.

Good to know

  • For autocomplete, add a second entry with a fast, cheap model and roles: [autocomplete].

Continue’s own docs · Model ids are on the models page.