Continue Setup
Continue is an open-source AI code assistant for VS Code and JetBrains. This guide connects it to the API in about 3 minutes.
1. Create an API key
- Sign up on the registration page.
- In the console, open the API token page, create a token, and copy the key. It starts with
sk-.
2. Connect Continue
Open the Continue config (~/.continue/config.yaml) and add a model:
name: My Config
version: 0.0.1
schema: v1
models:
- name: Claude Sonnet 5.5
provider: openai
model: claude-sonnet-5-5
apiBase: https://api.cmoso.com/v1
apiKey: <YOUR_API_KEY>
roles:
- chat
- edit
- apply
Save the file. Continue reloads the config.
3. Pick a model and test
Open the Continue chat, select Claude Sonnet 5.5, and ask a question.
Popular model IDs: claude-sonnet-5-5, gpt-5.4, gemini-3.1-flash-lite, deepseek-v4-pro, qwen3.5-plus.
Troubleshooting
- 401 Unauthorized: the API key is wrong or disabled. Copy it again from the console.
- Model not found: check the model ID spelling. IDs are case-sensitive.
- Connection error: check that the base URL ends with
/v1and has no trailing slash.