Skip to main content
Configure Kilo Code to call the Modellix LLM gateway. Modellix is not a built-in Kilo provider — use a custom OpenAI Compatible provider pointed at Chat Completions on 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.
Kilo may try to auto-fetch models from /v1/models. If detection fails, enter Model IDs manually — that is expected for gateways without an OpenAI models list endpoint.
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.
For custom models, always set limit.context and limit.output. If both are unset and the ID is not in Kilo’s catalog, context compaction is disabled and conversations can grow until the provider rejects the request.
5

Select a Modellix Model

In the IDE, open the model picker and choose a Modellix model (format modellix/openai/gpt-5.5).From the CLI:
You do not need a separate Anthropic Base URL without /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