tencent cloud

Kilo CLI

Download
Modo Foco
Tamanho da Fonte
Última atualização: 2026-07-23 15:08:38
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.
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"
}
}
}
}
}
}
}
e{
"$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
}
}
}
}
}
}
}
e{
"$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.

Ajuda e Suporte

Esta página foi útil?

comentários