Skip to content

Continue Configuration

Configure Any API in Continue to use the open-source AI coding assistant.

Step 1: Install Continue Extension

VS Code

  1. Open VS Code and press Ctrl+Shift+X (Mac: Cmd+Shift+X) to open the Extensions panel
  2. Search for "Continue"
  3. Find the official Continue extension and click "Install"

JetBrains

  1. Open Settings (Ctrl+Alt+S), go to Plugins
  2. Search for "Continue" in the Marketplace tab
  3. Click "Install" and restart the IDE

Step 2: Configure API

  1. Click the Continue icon in the left activity bar to open the panel

  2. Click the gear icon at the bottom of the panel to open Continue settings

  3. In the "Models" section, click "Add Model"

  4. Select "OpenAI Compatible" as the Provider

  5. Fill in the following:

    SettingDescription
    Model nameCustom name (e.g., Claude)
    API Basehttps://anyapi.pro
    API KeyYour API key
    ModelEnter the model name (e.g., claude-sonnet-4-7)
  6. Click "Save"

Method 2: Edit Config File

The config file is located at ~/.continue/config.json. Add the following:

json
{
  "models": [
    {
      "title": "Claude",
      "provider": "openai",
      "model": "claude-sonnet-4-7",
      "apiBase": "https://anyapi.pro",
      "apiKey": "your_api_key"
    }
  ]
}

Step 3: Start Using

FeatureShortcut (Windows/Linux)Shortcut (Mac)Description
Open Chat PanelCtrl+LCmd+LOpen the Continue chat panel
Add Code to ChatCtrl+Shift+LCmd+Shift+LUse after selecting code
Inline EditCtrl+ICmd+IInline modification of selected code
Code CompletionTabTabAccept auto-completion suggestions

TIP

Continue supports both Chat and Autocomplete features. You can configure different models for each in the settings.

API PLAT