Continue Configuration
Configure Any API in Continue to use the open-source AI coding assistant.
Step 1: Install Continue Extension
VS Code
- Open VS Code and press
Ctrl+Shift+X(Mac:Cmd+Shift+X) to open the Extensions panel - Search for "Continue"
- Find the official Continue extension and click "Install"
JetBrains
- Open Settings (
Ctrl+Alt+S), go to Plugins - Search for "Continue" in the Marketplace tab
- Click "Install" and restart the IDE
Step 2: Configure API
Method 1: UI Configuration (Recommended)
Click the Continue icon in the left activity bar to open the panel
Click the gear icon at the bottom of the panel to open Continue settings
In the "Models" section, click "Add Model"
Select "OpenAI Compatible" as the Provider
Fill in the following:
Setting Description Model name Custom name (e.g., Claude)API Base https://anyapi.proAPI Key Your API key Model Enter the model name (e.g., claude-sonnet-4-7)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
| Feature | Shortcut (Windows/Linux) | Shortcut (Mac) | Description |
|---|---|---|---|
| Open Chat Panel | Ctrl+L | Cmd+L | Open the Continue chat panel |
| Add Code to Chat | Ctrl+Shift+L | Cmd+Shift+L | Use after selecting code |
| Inline Edit | Ctrl+I | Cmd+I | Inline modification of selected code |
| Code Completion | Tab | Tab | Accept auto-completion suggestions |
TIP
Continue supports both Chat and Autocomplete features. You can configure different models for each in the settings.
