Set up and use Alibaba Cloud Model Studio's Coding Plan with Kilo CLI.
To integrate with Kilo CLI, modify the model provider in the config file ~/.config/kilo/config.json. The Set up Coding Plan in Kilo CLI section below provides details.
Install Kilo CLI
Install Node.js (v18.0 or later).
Run the following command in the terminal to install Kilo CLI:
npm install -g @kilocode/cliVerify the installation. If a version number is displayed, the installation was successful.
kilo --version
Set up Coding Plan in Kilo CLI
Open the config file
~/.config/kilo/config.jsonusing a text editor.vim ~/.config/kilo/config.jsonCopy and paste the following. Replace
YOUR_API_KEYwith your exclusive Coding Plan API key. Set and switch models listed in 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. Enter
/models, search forAlibaba Cloud Model Studio, and select the model to use.
Start a conversation.

For more Kilo CLI usage tips and common commands, see the Kilo Code official documentation.