Skip to content
exoticrouter.com ↗

Kilo Code

Open-source coding agent for editing and working with repositories. Point it at ExoticRouter with a base URL and a key: here are the values, and where they go in Kilo Code.

Setting Value
Base URL, OpenAI-compatible API https://api.exoticrouter.com/v1
Base URL, Anthropic API https://api.exoticrouter.com
API key Your key, from the API keys page
Model An id such as anthropic/claude-sonnet-5-5, from the models page

A tool that adds /v1 to the address by itself is given https://api.exoticrouter.com instead.

An example with a handful of models and a stand-in for the key. Put your own key where it says sk-er-YOUR-KEY.

kilo.jsonc goes here:

System Path
macOS ~/.config/kilo/kilo.jsonc
Linux ~/.config/kilo/kilo.jsonc
Windows %USERPROFILE%\.config\kilo\kilo.jsonc
kilo.jsonc
{
"$schema": "https://app.kilo.ai/config.json",
"provider": {
"exoticrouter": {
"npm": "@ai-sdk/openai-compatible",
"name": "ExoticRouter",
"options": {
"baseURL": "https://api.exoticrouter.com/v1",
"apiKey": "sk-er-YOUR-KEY"
},
"models": {
"anthropic-claude-fable-5-2": { "id": "anthropic/claude-fable-5-2", "name": "Claude Fable 5.2", "limit": { "context": 1000000, "output": 64000 }, "tool_call": true, "reasoning": true, "attachment": true },
"anthropic-claude-haiku-5-5": { "id": "anthropic/claude-haiku-5-5", "name": "Claude Haiku 5.5", "limit": { "context": 1000000, "output": 64000 }, "tool_call": true, "reasoning": true, "attachment": true },
"anthropic-claude-opus-5": { "id": "anthropic/claude-opus-5", "name": "Claude Opus 5", "limit": { "context": 1000000, "output": 64000 }, "tool_call": true, "reasoning": true, "attachment": true },
"anthropic-claude-opus-5-5": { "id": "anthropic/claude-opus-5-5", "name": "Claude Opus 5.5", "limit": { "context": 1000000, "output": 128000 }, "tool_call": true, "reasoning": true, "attachment": true },
"anthropic-claude-sonnet-5": { "id": "anthropic/claude-sonnet-5", "name": "Claude Sonnet 5", "limit": { "context": 1000000, "output": 64000 }, "tool_call": true, "reasoning": true, "attachment": true },
"anthropic-claude-sonnet-5-5": { "id": "anthropic/claude-sonnet-5-5", "name": "Claude Sonnet 5.5", "limit": { "context": 1000000, "output": 64000 }, "tool_call": true, "reasoning": true, "attachment": true },
"openai-gpt-6-1-sol": { "id": "openai/gpt-6.1-sol", "name": "GPT-6.1 Sol", "limit": { "context": 1050000, "output": 128000 }, "tool_call": true, "reasoning": true, "attachment": true },
"openai-gpt-6-2-astra": { "id": "openai/gpt-6.2-astra", "name": "GPT-6.2 Astra", "limit": { "context": 1050000, "output": 128000 }, "tool_call": true, "reasoning": true, "attachment": true },
"openai-gpt-6-2-sol": { "id": "openai/gpt-6.2-sol", "name": "GPT-6.2 Sol", "limit": { "context": 1050000, "output": 128000 }, "tool_call": true, "reasoning": true, "attachment": true },
"360-gpt-6-1-sol": { "id": "360/gpt-6.1-sol", "name": "gpt-6.1-sol", "limit": { "context": 128000, "output": 16384 } }
}
}
},
"model": "exoticrouter/anthropic-claude-opus-5-5"
}

If the file is there already, add this to it and keep the settings you have.

Start kilo and pick a model with /models: they are listed under ExoticRouter. The Kilo extension for VS Code reads the same file.

If Kilo Code is not on the machine yet, this is its own installer:

System Command
macOS npm install -g @kilocode/cli
Linux npm install -g @kilocode/cli
Windows npm install -g @kilocode/cli
API Models
OpenAI-compatible Every text model in the catalogue
Anthropic The Claude models

The setting is described in Kilo Code’s own documentation.

  • Claude Code: Works on a codebase from the terminal, IDE, or web.
  • Codex: Works on software engineering tasks through a coding agent.
  • OpenCode: Runs an open-source coding agent with configurable model providers.
  • Qwen Code: Runs the Qwen coding agent in a terminal.
  • Gemini CLI: Brings Google’s Gemini agent into a terminal.
  • Goose: Runs an extensible local agent for engineering work.