BeeRoute logoBeeRoute.

Home / Guides / Kilo Code

Kilo Code

Kilo Code is an open-source AI coding agent that offers a VS Code extension, a JetBrains plugin, and a command-line version. Kilo Code lets you add custom providers with a choice of three formats: OpenAI Compatible (Chat Completions), OpenAI Responses, and Anthropic Messages.

1. Get an API Key

Open the API Keys page, click Create API Key, set Group to default, and copy the key (it starts with sk-).

2. Install Kilo Code

Search for Kilo Code in the VS Code extension marketplace and install it.

3. Add the BeeRoute Provider

  1. Open the Kilo Code settings (⚙️ gear icon) and go to the Providers tab.
  2. Scroll to the bottom of the provider list and click Custom provider.
  3. Fill in the fields as shown below:
SettingValue
Provider IDbeeroute (lowercase letters, digits, hyphens, or underscores)
Display nameBeeRoute
Provider APIOpenAI Compatible
Base URLhttps://beeroute.ai/v1
API keyYour BeeRoute key sk-xxx
ModelsAfter you enter the URL and key, Kilo fetches the model list automatically. Search for and select the models you want, for example claude-sonnet-5-5 and gpt-6.2-sol
  1. Click Submit to save. Then select a model under BeeRoute in the model picker to start using it.

Models appear in the form beeroute/<model-id>, for example beeroute/claude-sonnet-5-5.

Models added through the UI have no context length information, which may affect automatic compaction in long conversations. We recommend opening the configuration file ~/.config/kilo/kilo.jsonc and adding limit for each model:

{
  "provider": {
    "beeroute": {
      "models": {
        "claude-sonnet-5-5": {
          "name": "Claude Sonnet 5.5",
          "limit": { "context": 200000, "output": 32000 }
        },
        "gpt-6.2-sol": {
          "name": "GPT-6.2 Sol",
          "limit": { "context": 200000, "output": 32000 }
        }
      }
    }
  }
}

Only modify the models section. Do not delete other fields that the UI has already written to the file.

5. Use the Native Anthropic Format for Claude Models (Optional)

Add another custom provider, set Provider API to Anthropic Messages, set Base URL to https://beeroute.ai/v1, and fill in the rest the same way as above.

6. FAQ

The model list does not appear automatically after entering the URL?

Check that Base URL is https://beeroute.ai/v1 and that the key is correct. You can also enter model IDs manually.

Getting a 401 or 404 error?

401 means the key is wrong; 404 usually means Base URL is missing /v1.

Model not found?

The model ID must match the model ID on BeeRoute exactly. See the Pricing page for all models.

For more details, see the official Kilo Code documentation: OpenAI Compatible, Custom Models.

Last updated 2026-11-29 · Markdown source · llms.txt