All Products
Search
Document Center

Alibaba Cloud Model Studio:Kilo CLI

Last Updated:Feb 25, 2026

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

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

  2. Run the following command in the terminal to install Kilo CLI:

    npm install -g @kilocode/cli

    Verify the installation. If a version number is displayed, the installation was successful.

    kilo --version

Set up Coding Plan in Kilo CLI

  1. Open the config file ~/.config/kilo/config.json using a text editor.

    vim ~/.config/kilo/config.json

    Copy and paste the following. Replace YOUR_API_KEY with 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

  1. After configuration, restart Kilo CLI. Enter /models, search for Alibaba Cloud Model Studio, and select the model to use.

    image

  2. Start a conversation.

    image

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