tencent cloud

LLM Service TokenHub

Kilo CLI

Download
Focus Mode
Font Size
Last updated: 2026-09-09 21:14:04
AI-Translated
Kilo CLI is the command-line interface for the Kilo Code full-stack AI programming agent platform. This document describes how to configure and use the Tencent Cloud Large Language Model Token Plan Enterprise Edition in Kilo CLI.

Prerequisites

Before you start the configuration, ensure that you have completed the following preparations:

Installing the Kilo CLI

Run the following command in the terminal to install Kilo CLI.
Note:
Kilo CLI is installed via npm, which requires Node.js (version 18 or later recommended) to be installed first. If Node.js is not installed, visit the Node.js to download the LTS version.
npm install -g @kilocode/cli
After the installation is complete, you can run the following command to verify it. A successful installation is indicated by the output of the version number.
kilo --version

Configuring Token Plan Enterprise Edition

1. Open the Kilo CLI configuration file. The 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.
Attention:
Replace <USER_API_KEY> in the code with your API Key. The models list has been pre-filled in the configuration below based on your plan type. You can retain the models you need.
Pro Plan (Guangzhou)
Pro Plan (Singapore)
Lite Plan (Guangzhou)
Lite Plan (Singapore)
{
"$schema": "https://kilo.ai/config.json",
"provider": {
"lkeap": {
"npm": "@ai-sdk/anthropic",
"name": "Tencent Token Plan Enterprise",
"options": {
"baseURL": "https://tokenhub.tencentcloudmaas.com/plan/anthropic/v1",
"apiKey": "<USER_API_KEY>"
},
"models": {
"auto": {
"name": "Auto",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"glm-5.2": {
"name": "GLM-5.2",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"kimi-k2.7-code": {
"name": "Kimi K2.7 Code",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"kimi-k2.7-code-highspeed": {
"name": "Kimi K2.7 Code HighSpeed",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"minimax-m3": {
"name": "MiniMax-M3",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"deepseek-v4-flash": {
"name": "DeepSeek-V4-Flash",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"deepseek-v4-pro": {
"name": "DeepSeek-V4-Pro",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"deepseek-v4-flash-202605": {
"name": "DeepSeek-V4-Flash Vendor Direct",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"deepseek-v4-pro-202606": {
"name": "DeepSeek-V4-Pro Vendor Direct",
"options": {
"thinking": {
"type": "enabled"
}
}
}
}
}
}
}
{
"$schema": "https://kilo.ai/config.json",
"provider": {
"lkeap": {
"npm": "@ai-sdk/anthropic",
"name": "Tencent Token Plan Enterprise",
"options": {
"baseURL": "https://tokenhub-intl.tencentcloudmaas.com/plan/anthropic/v1",
"apiKey": "<USER_API_KEY>"
},
"models": {
"auto": {
"name": "Auto",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"glm-5.2": {
"name": "GLM-5.2",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"kimi-k2.7-code": {
"name": "Kimi K2.7 Code",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"kimi-k2.7-code-highspeed": {
"name": "Kimi K2.7 Code HighSpeed",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"minimax-m3": {
"name": "MiniMax-M3",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"deepseek-v4-flash": {
"name": "DeepSeek-V4-Flash",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"deepseek-v4-pro": {
"name": "DeepSeek-V4-Pro",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"deepseek-v4-flash-202605": {
"name": "DeepSeek-V4-Flash Vendor Direct",
"options": {
"thinking": {
"type": "enabled"
}
}
},
"deepseek-v4-pro-202606": {
"name": "DeepSeek-V4-Pro Vendor Direct",
"options": {
"thinking": {
"type": "enabled"
}
}
}
}
}
}
}
{
"$schema": "https://kilo.ai/config.json",
"provider": {
"lkeap": {
"npm": "@ai-sdk/anthropic",
"name": "Tencent Token Plan Enterprise",
"options": {
"baseURL": "https://tokenhub.tencentcloudmaas.com/plan/anthropic/v1",
"apiKey": "<USER_API_KEY>"
},
"models": {
"auto": {
"name": "Auto",
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
}
}
}
}
}
{
"$schema": "https://kilo.ai/config.json",
"provider": {
"lkeap": {
"npm": "@ai-sdk/anthropic",
"name": "Tencent Token Plan Enterprise",
"options": {
"baseURL": "https://tokenhub-intl.tencentcloudmaas.com/plan/anthropic/v1",
"apiKey": "<USER_API_KEY>"
},
"models": {
"auto": {
"name": "Auto",
"options": {
"thinking": {
"type": "enabled",
"budgetTokens": 1024
}
}
}
}
}
}
}

Using the Kilo CLI

After the configuration is complete, run the following command to start Kilo CLI.
kilo
Enter /models and select a model from the Tencent Token Plan Enterprise group.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback