Using Claude in Kilo Code
Kilo Code lets you bring your own key, so a purchased Claude key gets you agentic coding on Claude in minutes — no Anthropic account, no waitlist. Buy a key, set the provider, and Kilo's plan-and-edit loops run on Claude.
Get a key and pick the provider
Buy a key on ClaudeAPIKey.dev (register, add credit, generate). In Kilo's settings, choose OpenAI Compatible, set the Base URL with /v1, paste the key, and type the model id. For native Anthropic, choose Anthropic with Use custom base URL and the host root.
Anthropic, Claude Code, and OpenAI-Compatible are separate provider flows — pick the one matching the gateway.
Model id and context
The Model ID in OpenAI Compatible mode is free-text and unvalidated — a typo 404s as 'model not found', so enter exactly the gateway id. Set Context Window and Max Output Tokens under Model Configuration or Kilo may truncate.
Enable Computer Use / function-calling if the gateway forwards tool calls.
Why buy a key for Kilo
No Anthropic account or approval — a purchased gateway key works immediately with Kilo's agent. Pay as you go, top up with card or crypto, and only spend on what you use.
New accounts get a small free credit to try the setup first.
Start coding
With the provider set, Kilo's plan and edit modes run on Claude. Use a Sonnet-class model for implementation and an Opus-class one for harder planning.
One key powers every Kilo session.
# Kilo Code -> Settings -> API Provider
# OpenAI Compatible:
# Base URL: https://claudeapikey.dev/v1
# API Key: <your key>
# Model ID: claude-sonnet-4-5
# Model Config -> set Context Window + Max Output
Frequently asked questions
How do I use Claude in Kilo Code?
Buy a key on ClaudeAPIKey.dev, then in Kilo choose OpenAI Compatible (Base URL {SITE}/v1, free-text Model ID) or Anthropic, and paste the key.
Do I need an Anthropic account?
No — a purchased gateway key works immediately, no waitlist.
Why does Kilo say 'model not found'?
The Model ID is free-text and unvalidated — a typo 404s. Enter the exact gateway id.
Is there a free trial?
New accounts get WELCOME5 free credit to test before topping up.
Get an API key — no Anthropic account or waitlist required.
Get your API keyClaude API Key is an independent API gateway. It is not affiliated with, endorsed by, or a reseller of Anthropic. Claude and related model names are trademarks of their respective owners.