Kilo Code Setup
Kilo Code is an open-source AI coding agent 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 Kilo Code
- Open the Kilo Code panel and click the settings (gear) icon.
- Under Providers, set API Provider to OpenAI Compatible.
- Fill in:
- Base URL:
https://api.cmoso.com/v1 - API Key: your key
- Model: for example
claude-sonnet-5-5
- Base URL:
- Click Save.
3. Pick a model and test
Start a new task in Kilo Code and send a short request.
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.