Kilo Gateway
Kilo Gateway provides a unified API that routes requests to many models behind a single endpoint and API key. It is OpenAI-compatible, so most OpenAI SDKs work by switching the base URL.Getting an API key
- Go to app.kilo.ai
- Sign in or create an account
- Navigate to API Keys and generate a new key
CLI setup
Config snippet
Default model
The default model iskilocode/kilo/auto, a provider-owned smart-routing
model managed by Kilo Gateway.
OpenClaw treats kilocode/kilo/auto as the stable default ref, but does not
publish a source-backed task-to-upstream-model mapping for that route.
Available models
OpenClaw dynamically discovers available models from the Kilo Gateway at startup. Use/models kilocode to see the full list of models available with your account.
Any model available on the gateway can be used with the kilocode/ prefix:
Notes
- Model refs are
kilocode/<model-id>(e.g.,kilocode/anthropic/claude-sonnet-4). - Default model:
kilocode/kilo/auto - Base URL:
https://api.kilo.ai/api/gateway/ - Bundled fallback catalog always includes
kilocode/kilo/auto(Kilo Auto) withinput: ["text", "image"],reasoning: true,contextWindow: 1000000, andmaxTokens: 128000 - At startup, OpenClaw tries
GET https://api.kilo.ai/api/gateway/modelsand merges discovered models ahead of the static fallback catalog - Exact upstream routing behind
kilocode/kilo/autois owned by Kilo Gateway, not hard-coded in OpenClaw - Kilo Gateway is documented in source as OpenRouter-compatible, so it stays on the proxy-style OpenAI-compatible path rather than native OpenAI request shaping
- Gemini-backed Kilo refs stay on the proxy-Gemini path, so OpenClaw keeps Gemini thought-signature sanitation there without enabling native Gemini replay validation or bootstrap rewrites.
- Kilo’s shared stream wrapper adds the provider app header and normalizes
proxy reasoning payloads for supported concrete model refs.
kilocode/kilo/autoand other proxy-reasoning-unsupported hints skip that reasoning injection. - For more model/provider options, see /concepts/model-providers.
- Kilo Gateway uses a Bearer token with your API key under the hood.