Kilo Code (VS Code extension and CLI) adds OpenAI-compatible APIs as custom providers. The current extension has no "API Provider" dropdown; you add the provider from the Providers tab.
Setup in the extension
- Open Settings (gear) → Providers, scroll down and choose Custom provider.
- Fill in:
- Provider ID:
chainless - Display name:
Chainless - Provider API: OpenAI Compatible (not "OpenAI Responses")
- Base URL:
https://chainless.one/v1 - API key: your
cl-…key - Models: fetched automatically from
/v1/models; press Fetch models to retry, or add ids by hand
- Provider ID:
- Click Submit and pick
chainless/kimi-k3.1-pro-uncensoredin the model selector.
Setup in kilo.json (recommended for limits)
Token limits and tool calling can only be set in the config file: ~/.config/kilo/kilo.json (global) or ./kilo.json in the project.
{
"provider": {
"chainless": {
"npm": "@ai-sdk/openai-compatible",
"env": ["CHAINLESS_API_KEY"],
"options": { "baseURL": "https://chainless.one/v1" },
"models": {
"kimi-k3.1-pro-uncensored": {
"name": "Kimi K3.1 Pro Uncensored",
"tool_call": true,
"limit": { "context": 1048576, "output": 131072 }
},
"glm-5.3-fast-uncensored": {
"name": "GLM 5.3 Fast Uncensored",
"tool_call": true,
"limit": { "context": 1048576, "output": 131072 }
}
}
}
},
"model": "chainless/kimi-k3.1-pro-uncensored"
}export CHAINLESS_API_KEY="cl-..."npm defaults to @ai-sdk/openai-compatible when omitted. Without limit, Kilo assumes a context of 0, so always set it. Every public model has the same limits shown here except where /models says otherwise.
Check the provider
curl https://chainless.one/v1/models -H "Authorization: Bearer $CHAINLESS_API_KEY"If the model list loads here but not in Kilo, the provider ID or base URL in the form has a typo. If requests fail with 402, the account needs an active plan (pricing).
Sources
Checked against the official documentation on 2026-11-29. Tools change their settings often; if a field moved, the source below is the reference.