POST /v1/chat/completions.
This page covers LLM text only (
https://llm.modellix.ai).Modellix model IDs are provider/name (for example openai/gpt-5.5). Put that full string in the custom provider models map (and as the Model ID in the UI) so Kilo sends it unchanged in the request body. See Models & Pricing.Set Up Kilo Code
1
Install Kilo Code
Install the VS Code extension (also works in Cursor, Windsurf, and other VS Code forks):Or install the CLI:
2
Store Credentials
Export your Modellix API key from the console:Add the line to your shell profile (for example
~/.zshrc), then run source ~/.zshrc.Prefer the global config path ~/.config/kilo/kilo.jsonc for {env:MODELLIX_API_KEY}. Project-level kilo.jsonc does not resolve {env:...} references (Kilo security restriction).3
Add a Custom Provider in the UI
In Kilo Code, open Settings (gear icon) → Providers, scroll to the bottom, and click Custom provider.Fill in:
Submit to save. Include
/v1 in the Base URL so paths resolve to /v1/chat/completions.Do not pick a third-party built-in provider (for example AIhubmix) and paste a Modellix key there. Use a dedicated Custom provider with the Modellix Base URL.4
Or Edit kilo.jsonc
Create or update
~/.config/kilo/kilo.jsonc (Windows: %USERPROFILE%\.config\kilo\kilo.jsonc):Add or remove entries under
models as needed. Full catalog: Models & Pricing.5
Select a Modellix Model
In the IDE, open the model picker and choose a Modellix model (format You do not need a separate Anthropic Base URL without
modellix/openai/gpt-5.5).From the CLI:/v1 for these IDs. Register anthropic/... and google/... on the same Modellix OpenAI Compatible provider; traffic goes through Chat Completions on https://llm.modellix.ai/v1.Native Anthropic Messages is for the Anthropic SDK and Claude Code, not required here.Troubleshooting
Related
- Kilo OpenAI Compatible — custom provider UI and Base URL
- Kilo Custom Models —
kilo.jsoncschema, limits, andidmapping - Models & Pricing — Model IDs and rates
- LLM API guide — protocols and curl examples
- OpenCode — similar
@ai-sdk/openai-compatiblecustom provider setup