tencent cloud

Kilo CLI

Download
Modo Foco
Tamanho da Fonte
Última atualização: 2026-07-14 16:02:05
Kilo CLI is the command-line version of the Kilo Code full-stack AI programming agent platform. This article describes how to configure and use the Tencent Cloud Large Language Model Token Plan in Kilo CLI.

Prerequisites

Before starting the configuration, make sure you have completed the following preparatory work:

Install Kilo CLI

Run the following command in the terminal to install Kilo CLI.
npm install -g @kilocode/cli
After installation is complete, you can run the following command to check. If the version number is output, it indicates that the installation was successful.
kilo --version

Configure Token Plan

1. Open the Kilo CLI configuration file. The configuration file path is as follows:
macOS/Linux:~/.config/kilo/config.json.
Windows: C:\\Users\\<username>\\.config\\kilo\\config.json.
2. In the configuration file, copy and paste the following configuration and save it.
Note:
Replace $your_api_key in your code with the API Key exclusive to the Token Plan. The configuration below is pre-populated with the list of models supported by the Token Plan. You can retain the models you need as required.
{
"$schema": "https://kilo.ai/config.json",
"provider": {
"lkeap": {
"npm": "@ai-sdk/anthropic",
"name": "Tencent Token Plan",
"options": {
"baseURL": "https://tokenhub-intl.tencentcloudmaas.com/plan/anthropic/v1",
"apiKey": "$your_api_key"
},
"models": {
"auto": {
"name": "Auto",
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
},
"glm-5.2": {
"name": "GLM-5.2",
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
},
"kimi-k2.6": {
"name": "Kimi-K2.6",
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
},
"minimax-m3": {
"name": "MiniMax-M3",
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
},
"deepseek-v4-flash-202605": {
"name": "DeepSeek-V4-Flash Direct from Manufacturer",
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
},
"deepseek-v4-pro-202606": {
"name": "DeepSeek-V4-Pro Direct from Manufacturer",
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
}
}
}
}
}

Use Kilo CLI

Run the following command to start Kilo CLI after the configuration is complete.
kilo
Enter /models and select a model under the Tencent Token Plan group.

Ajuda e Suporte

Esta página foi útil?

comentários