Quick setup
Open the kRouter dashboard at http://localhost:20128
Go to Providers → click the Kilo Code tile
Click Connect and complete the OAuth flow in your browser
Test the connection — kRouter auto-refreshes tokens from here on
Use in your IDE
Point any OpenAI-compatible client at kRouter using your local API key.
# Endpoint
http://localhost:20128/v1
# API key (from Dashboard → API Keys)
sk-krouter-XXXX
# Model
kc/kilo-defaultHow Kilo Code billing works with kRouter
Kilo Code connects with your existing subscription — kRouter signs in with OAuth and reuses the plan you already pay for, so there is no per-token bill. kRouter authenticates it via oauth. 8 models are routable as kc/<model>.
Through kRouter, Kilo Code serves chat and code completion. Requests reach it through the same local OpenAI-compatible endpoint as every other provider, so switching to or from Kilo Code is a one-line model change in your client rather than a rewrite.
Kilo Code models & pricing
These are the model ids kRouter routes to. This provider does not publish per-token rates.
| Model | Route as |
|---|---|
| Claude Sonnet 4 | kc/anthropic/claude-sonnet-4-20250514 |
| Claude Opus 4 | kc/anthropic/claude-opus-4-20250514 |
| Gemini 2.5 Pro | kc/google/gemini-2.5-pro |
| Gemini 2.5 Flash | kc/google/gemini-2.5-flash |
| GPT-4.1 | kc/openai/gpt-4.1 |
| o3 | kc/openai/o3 |
| DeepSeek Chat | kc/deepseek/deepseek-chat |
| DeepSeek Reasoner | kc/deepseek/deepseek-reasoner |
Kilo Code links
Kilo Code FAQ
Is Kilo Code free through kRouter?
Kilo Code does not bill per token here — kRouter uses your existing subscription via OAuth, so the only cost is whatever you already pay Kilo Code directly. kRouter itself is MIT-licensed and free.
How do I use Kilo Code with Claude Code or Cursor?
Connect Kilo Code in the kRouter dashboard, then point your tool at kRouter's local endpoint (http://localhost:20128/v1) with a kRouter API key. Any OpenAI-compatible client works, and models are addressed as kc/<model>.
Which Kilo Code models can kRouter route to?
8 models, including Claude Sonnet 4, Claude Opus 4, Gemini 2.5 Pro. Every one is addressed as kc/<model> from any client.
What happens when Kilo Code is rate limited?
kRouter detects the limit, parks that account until its real reset time, and fails over to your next connected account or provider — so the request still completes instead of erroring.