All Products
Search
Document Center

Alibaba Cloud Model Studio:Kilo CLI

Last Updated:Mar 15, 2026

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

  1. Install Node.js (v18.0 or later).

  2. In your terminal, install Kilo CLI:

    npm install -g @kilocode/cli

    Verify installation (a version number confirms success):

    kilo --version

Set up Coding Plan in Kilo CLI

  1. Open ~/.config/kilo/config.json in a text editor.

    vim ~/.config/kilo/config.json

    Paste the configuration below. Replace YOUR_API_KEY with 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

  1. After configuration, restart Kilo CLI. Run /models, search for Alibaba Cloud Model Studio, and select a model.

    image

  2. Start a conversation.

    image

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