Coding Plan
Coding Plan 模式模型配置
Coding Plan 是各厂商推出的编程包月套餐,适合高频使用 Agent 的场景。通千算智 支持通过 OpenAI 兼容方式接入各厂商的 Coding Plan 接口。
Coding Plan 的 API Base 和 API Key 通常与普通按量计费接口不通用,请在各厂商平台单独获取。
通用配置格式
所有厂商均可使用 OpenAI 兼容协议接入,可在web控制台快速配置。设置模型厂商为OpenAI,选择自定义模型并填入模型编码,最后填写对应厂商的API Base 和 API Key:

也可通过 config.json 配置文件直接修改:
json
{
"bot_type": "openai",
"model": "模型名称",
"open_ai_api_base": "厂商 Coding Plan API Base",
"open_ai_api_key": "YOUR_API_KEY"
}| 参数 | 说明 |
|---|---|
bot_type |
固定为 openai(OpenAI 兼容方式) |
model |
各厂商支持的模型名称 |
open_ai_api_base |
各厂商 Coding Plan 专用 API Base |
open_ai_api_key |
各厂商 Coding Plan 专用 API Key |
阿里云
json
{
"bot_type": "openai",
"model": "qwen3.5-plus",
"open_ai_api_base": "https://coding.dashscope.aliyuncs.com/v1",
"open_ai_api_key": "YOUR_API_KEY"
}| 参数 | 说明 |
|---|---|
model |
qwen3.5-plus、qwen3-max-2026-01-23、qwen3-coder-next、qwen3-coder-plus、glm-5、glm-4.7、kimi-k2.5、MiniMax-M2.5 |
open_ai_api_base |
https://coding.dashscope.aliyuncs.com/v1 |
open_ai_api_key |
Coding Plan 专用 Key(与按量计费接口不通用) |
MiniMax
json
{
"bot_type": "openai",
"model": "MiniMax-M3",
"open_ai_api_base": "https://api.minimaxi.com/v1",
"open_ai_api_key": "YOUR_API_KEY"
}| 参数 | 说明 |
|---|---|
model |
MiniMax-M3、MiniMax-M2.7、MiniMax-M2.7-highspeed |
open_ai_api_base |
国内:https://api.minimaxi.com/v1;海外:https://api.minimax.io/v1 |
open_ai_api_key |
Coding Plan 专用 Key(与按量计费接口不通用) |
智谱 GLM
json
{
"bot_type": "openai",
"model": "glm-4.7",
"open_ai_api_base": "https://open.bigmodel.cn/api/coding/paas/v4",
"open_ai_api_key": "YOUR_API_KEY"
}| 参数 | 说明 |
|---|---|
model |
glm-5、glm-4.7、glm-4.6、glm-4.5、glm-4.5-air |
open_ai_api_base |
中国区:https://open.bigmodel.cn/api/coding/paas/v4;全球区:https://api.z.ai/api/coding/paas/v4 |
open_ai_api_key |
API Key 与普通接口通用 |
火山引擎
json
{
"bot_type": "openai",
"model": "Doubao-Seed-2.0-Code",
"open_ai_api_base": "https://ark.cn-beijing.volces.com/api/coding/v3",
"open_ai_api_key": "YOUR_API_KEY"
}| 参数 | 说明 |
|---|---|
model |
Doubao-Seed-2.0-Code、Doubao-Seed-2.0-pro、Doubao-Seed-2.0-lite、Doubao-Seed-Code、MiniMax-M2.5、Kimi-K2.5、GLM-4.7、DeepSeek-V3.2 |
open_ai_api_base |
https://ark.cn-beijing.volces.com/api/coding/v3 |
open_ai_api_key |
API Key 与普通接口通用 |
官方文档:快速开始
Kimi
json
{
"bot_type": "moonshot",
"model": "kimi-for-coding",
"moonshot_base_url": "https://api.kimi.com/coding/v1",
"moonshot_api_key": "YOUR_API_KEY"
}| 参数 | 说明 |
|---|---|
model |
填写 kimi-for-coding 会自动更新模型,或指定模型例如 kimi-k2.6 |
moonshot_base_url |
https://api.kimi.com/coding/v1 |
moonshot_api_key |
Coding Plan 专用 Key(与按量计费接口不通用) |
官方文档:Key 获取