Configure and use Kilo CLI with Coding Plan.
Configure the model provider in ~/.config/kilo/config.json to connect Kilo CLI to Coding Plan. See Set up Coding Plan in Kilo CLI.
Install Kilo CLI
-
Install Node.js (v18.0 or later).
-
In your terminal, install Kilo CLI:
npm install -g @kilocode/cliVerify installation (a version number confirms success):
kilo --version
Set up Coding Plan in Kilo CLI
-
Open
~/.config/kilo/config.jsonin a text editor.vim ~/.config/kilo/config.jsonPaste the configuration below. Replace
YOUR_API_KEYwith your Coding Plan API key. To view or switch available models, see Coding Plan overview.{ "$schema": "https://kilo.ai/config.json", "provider": { "bailian": { "npm": "@ai-sdk/anthropic", "name": "Alibaba Cloud Model Studio", "options": { "baseURL": "https://coding-intl.dashscope.aliyuncs.com/apps/anthropic/v1", "apiKey": "YOUR_API_KEY" }, "models": { "qwen3.5-plus": { "name": "Qwen3.5 Plus", "options": { "thinking": { "type": "enabled", "budgetTokens": 1024 } } }, "qwen3-max-2026-01-23": { "name": "Qwen3 Max 0123" }, "qwen3-coder-next": { "name": "Qwen3 Coder Next" }, "qwen3-coder-plus": { "name": "Qwen3 Coder Plus" }, "MiniMax-M2.5": { "name": "MiniMax M2.5", "options": { "thinking": { "type": "enabled", "budgetTokens": 1024 } } }, "glm-5": { "name": "GLM-5", "options": { "thinking": { "type": "enabled", "budgetTokens": 1024 } } }, "glm-4.7": { "name": "GLM-4.7", "options": { "thinking": { "type": "enabled", "budgetTokens": 1024 } } }, "kimi-k2.5": { "name": "Kimi K2.5", "options": { "thinking": { "type": "enabled", "budgetTokens": 1024 } } } } } } }
Use Kilo CLI
-
After configuration, restart Kilo CLI. Run
/models, search forAlibaba Cloud Model Studio, and select a model.
-
Start a conversation.

For more commands and usage, see the Kilo Code documentation.