Skip to main content
Use in AI Tools

Kilo CLI

Use Coding Plan with Kilo CLI

Install Kilo CLI

  1. Install Node.js (v18.0 or later).
  2. Install Kilo CLI:
npm install -g @kilocode/cli
Run kilo --version to verify.

Set up Coding Plan

  1. Open ~/.config/kilo/config.json:
vim ~/.config/kilo/config.json
Paste the configuration below. Replace YOUR_API_KEY with your Coding Plan API key.
{
  "$schema": "https://kilo.ai/config.json",
  "provider": {
    "qwen-cloud": {
      "npm": "@ai-sdk/anthropic",
      "name": "Qwen Cloud",
      "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. Restart Kilo CLI, run /models, search for Qwen Cloud, and select a model.
  2. Start a conversation. For more commands, see the Kilo Code docs.