// IDE Plugin
Use Kilo Code with llmrelay
VS Code AI coding agent with pluggable model providers Point it at api.llmrelay.dev and get the same models at half the price.
Recommended model
claude-opus-5
Route
anthropic-compatible
On llmrelay
$2.5/M · $12.5/M
Setup
- 1 Open Kilo Code Settings (gear icon) and go to the Providers tab.
- 2 Scroll to the bottom and click Custom provider.
- 3 Set Provider ID to llmrelay, Display name to LLM Relay, and Provider API to Anthropic Messages (use OpenAI Compatible if you want the /v1 Chat Completions path instead).
- 4 Set Base URL to https://api.llmrelay.dev for Anthropic Messages, or https://api.llmrelay.dev/v1 for OpenAI Compatible, and paste your API key.
- 5 Add models manually or accept the auto-fetched list, then click Submit.
- 6 Pick the new provider's model in the model picker.
Config
# Kilo Code custom provider (Settings -> Providers -> Custom provider) # Provider ID: llmrelay # Display name: LLM Relay # Provider API: Anthropic Messages (or "OpenAI Compatible") # Base URL: https://api.llmrelay.dev # Anthropic Messages # https://api.llmrelay.dev/v1 # OpenAI Compatible # API key: *** # Models: claude-opus-5, claude-sonnet-5, gpt-5.6-terra
Smoke test
Copy, paste, run. If you get JSON back with a message, you're good.
After Submit, open the model picker and confirm the relay models are listed, then send one short prompt in a new Kilo task.
Gotchas
- !Kilo auto-fetches models from the provider's /v1/models endpoint; if that call fails you must type model IDs manually, which is not a fatal error.
- !The docs' only Base URL example is OpenAI-style (https://api.your-provider.com/v1), which is why people paste /v1 into the Anthropic Messages field too. For Anthropic Messages the value is the bare host; Kilo also accepts a full endpoint (.../v1/messages) if you prefer being explicit.
- !Auto-fetch must point at https://api.llmrelay.dev/v1. Tested 2026-07-28: the /v1-less https://api.llmrelay.dev/models returns 200 with our marketing HTML page, not JSON — so a wrong base URL here fails as an unparseable model list rather than a clean error.
- !Token limits, tool-calling flags and variants are not exposed in the dialog; edit kilo.jsonc directly for those.
You need an llmrelay key first
Sign up in about 30 seconds — free to create an account, no subscription, $10 minimum top-up.