Skip to main content
kRouter
All providers

OAuth subscription

kc/

Kilo Code

Kilo Code — OAuth-based coding agent.

kilocode.ai

Quick setup

  1. Open the kRouter dashboard at http://localhost:20128

  2. Go to Providers → click the Kilo Code tile

  3. Click Connect and complete the OAuth flow in your browser

  4. 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.

ide configbash
# Endpoint
http://localhost:20128/v1

# API key (from Dashboard → API Keys)
sk-krouter-XXXX

# Model
kc/kilo-default

How 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.

ModelRoute as
Claude Sonnet 4kc/anthropic/claude-sonnet-4-20250514
Claude Opus 4kc/anthropic/claude-opus-4-20250514
Gemini 2.5 Prokc/google/gemini-2.5-pro
Gemini 2.5 Flashkc/google/gemini-2.5-flash
GPT-4.1kc/openai/gpt-4.1
o3kc/openai/o3
DeepSeek Chatkc/deepseek/deepseek-chat
DeepSeek Reasonerkc/deepseek/deepseek-reasoner

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.