Skip to main content
Auriko connects to Kilo Code as a provider, giving you access to multiple models through a single API key.

Prerequisites

  • Kilo Code VS Code extension or CLI
  • An Auriko API key — your key starts with ak_live_ (production) or ak_test_ (testing)

Install Kilo Code

Open Extensions in VS Code (Cmd+Shift+X on macOS, Ctrl+Shift+X on Windows/Linux), search “Kilo Code”, and install.
Install via npm:
Or via Homebrew (macOS):
Confirm the installation:

Set your API key

Export your API key in your shell:
To persist across sessions, add the same line to ~/.zshrc or ~/.bashrc, then either run source ~/.zshrc (or source ~/.bashrc) or open a new terminal.
Non-interactive shells (CI, Codespaces bash -c, scripts) don’t source ~/.bashrc. For those, export AURIKO_API_KEY directly in the environment or source the file explicitly at the top of your script.

Sanity-check the key

Confirm the key works before installing anything else:
Expected: 200. If you get 401, the key is missing, mistyped, or revoked.

Add Auriko as a provider

VS Code

  1. Open Kilo Code settings (gear icon in the Kilo Code panel).
  2. Go to the Providers tab.
  3. Click Custom provider.
  4. Fill in:
    • Provider ID: auriko
    • Display name: Auriko
    • Base URL: https://api.auriko.ai/v1
    • API key: your ak_live_... key
  5. Models auto-populate. Select a model.
  6. Click Submit.

CLI

No registration step is needed — kilo run resolves any auriko/<model> ID from your API key. Skip to Verify.
If kilo run --model auriko/<id> returns “model not found” (rare; usually means Kilo’s registry cache didn’t refresh), define the provider locally in a kilo.json at your project root:
This overrides Kilo’s provider registry with a local definition.

Verify

VS Code: Start a chat in the Kilo Code panel and send a message. You should see a response from the model you selected. CLI:
Expected output: setup-ok.
First run only: Kilo performs a one-time SQLite migration (Performing one time database migration, may take a few minutes...). The first call can take up to a minute. Subsequent calls return in seconds.

Set default model

To avoid passing --model on every run, create a kilo.json at your project root:
Place it at ~/.config/kilo/kilo.json for a global default instead. A project-root config takes precedence. VS Code users set their default model in the model picker (top of the Kilo Code panel).

Use different models

Pass any registered model with the --model flag:
VS Code: switch models in the model picker. These models are available through Auriko:
ModelAuthorContext
claude-sonnet-4-6Anthropic1M
claude-opus-4-6Anthropic1M
claude-opus-4-7Anthropic1M
deepseek-v4-flashDeepSeek1M
deepseek-v4-proDeepSeek1M
gemini-2.5-flashGoogle1M
gemini-2.5-proGoogle1M
gemini-3.1-pro-previewGoogle1M
glm-5.1Z.AI200K
grok-4.3xAI1M
kimi-k2.5Moonshot262K
kimi-k2.6Moonshot262K
minimax-m2-7MiniMax205K
minimax-m2-7-highspeedMiniMax205K
qwen-3.6-plusAlibaba1M

Known model quirks on Kilo

  • gemini-2.5-flash on tool-call prompts: returns an empty response (no tool invocation, no text). Use gemini-2.5-pro or gemini-3.1-pro-preview for tool-calling workflows on the Gemini family.
  • gemini-2.5-pro on arithmetic: can produce wrong answers when asked for an exact number without showing work. Prompt it to use a tool or show its reasoning for math-critical tasks.
To list every model available on your key (not only the 15 above):

Add unregistered models (advanced)

If you need a model that isn’t in the 15 above and auriko/<id> doesn’t resolve, define it locally in kilo.json:
Browse model capabilities via the directory API to fill in the model definition fields. VS Code custom provider auto-fetches all models from the API, so this section applies to CLI users only.

Control routing

Configure routing in the Auriko dashboard. See routing options for details.

Uninstall

VS Code: Remove the Auriko custom provider from Settings > Providers. Uninstall the Kilo Code extension. CLI: Remove AURIKO_API_KEY from your shell profile (~/.zshrc or ~/.bashrc). If you created a kilo.json, remove the auriko-related lines or delete the file.

Troubleshoot

SymptomCauseFix
Error: API key is invalid. or Error: Model not found: auriko/<model>.AURIKO_API_KEY missing in this shell, or revokedRun echo $AURIKO_API_KEY. If empty, export it. If set, verify at https://api.auriko.ai/v1/me (expect HTTP 200)
No models in custom provider dialog (VS Code)Base URL wrong or API unreachableUse exactly https://api.auriko.ai/v1. Enter the API key first — auto-detection requires both
Model not found (404)Wrong model ID formatVS Code: bare IDs (claude-sonnet-4-6). CLI: auriko/ prefix (auriko/claude-sonnet-4-6)
auriko/* models not resolved (CLI)Provider registry cache hasn’t refreshedAdd a provider block to kilo.json (see “If auriko/* models aren’t found”)
kilo.json model field is ignoredSibling opencode.json overrides it (Kilo reads both since it’s an opencode fork), or ~/.config/kilo/kilo.json is loaded after the project fileCheck ./kilo.json, ./opencode.json (if present), and ~/.config/kilo/kilo.json — keep them in sync or remove the ones you don’t use
Performing one time database migration... on first runKilo’s one-time SQLite migrationWait — typically completes in under a minute. Only happens on the very first call
kilo run returns exit code 0 even when output starts with Error:Kilo CLI doesn’t propagate failures via exit codeFor CI: grep stdout/stderr for ^Error:, or check for a non-empty text event in --format json output. Don’t rely on $?
gemini-2.5-flash returns nothing on a tool-using promptKnown Kilo host-side integration quirkUse gemini-2.5-pro or gemini-3.1-pro-preview for tool calls