Overview
Type: IDE and CLI coding agentPrimary Path: OpenAI-compatible Chat CompletionsSupport Confidence: Official custom-provider path
Install
For VS Code, search for Kilo Code in Extensions and install the pre-release channel. Kilo documents that channel as the current stable, recommended extension. For the CLI, run:Configure in the UI
- Open Kilo Code Settings → Providers.
- Scroll down and click Custom provider.
- Use these values:
Kilo automatically queries TokenLab’s
/v1/models endpoint after the Base URL and key are entered. Click Submit, then choose tokenlab/kimi-k3 in the model picker.
Configure the CLI
Store secrets in an environment variable:~/.config/kilo/kilo.jsonc:
Verify
Restart Kilo after editing global configuration, then run:Troubleshooting
Models do not appear
Models do not appear
Confirm the Base URL ends in
/v1, the key is active, and kilo models lists the configured provider. Add kimi-k3 manually if model discovery is unavailable.Context compaction does not run
Context compaction does not run
Custom models need explicit
limit.context and limit.output values. Keep the limits aligned with TokenLab’s current model metadata.The model cannot edit or run tools
The model cannot edit or run tools
Confirm
tool_call is true, then review Kilo’s permission settings for the current project.