Kilo Code
Run Kilo Code on Boundless models: the kilo.jsonc provider, model ids with limits, a verify step and common errors.
Kilo Code's CLI and extension share one config, kilo.jsonc. It is OpenCode's format with Kilo's schema, and the base URL is https://api.inference.boundless.network/v1.
Install#
Install Kilo Code from its own documentation first. Then pick one way to point it at Boundless.
Run this in a terminal on macOS or Linux and choose Kilo Code:
Or run the package yourself, which also works on Windows:
Setup signs you in through your browser, creates a key on your account and backs up every file it changes. To undo it, run curl -fsSL https://boundless.md/install | sh -s -- --revert. Need a key to configure by hand? Create one in API Keys.
Configure#
Kilo Code#
Kilo's CLI and extension share one config, kilo.jsonc in your project or ~/.config/kilo/kilo.jsonc. It is OpenCode's format with Kilo's schema:
small_model is what Kilo uses for session titles, commit messages and prompt enhancement. Leave it unset while signed in to Kilo's own gateway and those go there instead. In the extension the same provider can be added by hand: Settings → Providers → Custom provider, with Provider API left on OpenAI Compatible.
Model ids#
The examples use boundless/deepseek/deepseek-v4.1-flash. Use boundless/ plus any id from GET https://api.inference.boundless.network/v1/models, never the bare id; the models page lists each one with its price and limits. The list in the config above carries each model's limits.
Verify#
To check the base URL and key on their own, list the models the gateway serves. A list of models means both are right. A 401 means the key is missing or wrong:
Then send a short message in a new session and check that a reply comes back.
Common errors#
| What you see | What it usually is |
|---|---|
401 on every request |
The key is wrong, or BOUNDLESS_API_KEY is not set where Kilo starts. |
| Session titles or commit messages come from another provider | small_model is unset while you are signed in to Kilo's own gateway. Set it. |
| An error naming a model you never chose | The harness is sending its default. Set the model explicitly, including any small or background slot. |
403 with model_not_allowed |
Your team admin has not enabled that model for you. Ask them, or pick another. See Model access. |
Every status and code is on the Errors page. Other harnesses are on the Coding Agents & Harnesses page.