mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-07-23 04:33:20 +08:00
chore: refresh GLM model configs
## Summary - add GLM-5.2 and GLM-4.7-FlashX to Zhipu provider config - update GLM context/output/pricing tiers from official BigModel docs and pricing - align Zhipu Coding Plan with official GLM-5.2, GLM-5-Turbo, and GLM-4.7 availability - sync existing GLM max output values in DashScope configs - address Copilot review by using extra.pricingTiers consistently ## Validation - npm run validate - npm test - git diff --check
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"provider": "zhipu",
|
||||
"brandGroup": "zhipu",
|
||||
"label": "智谱 Token (Coding) Plan",
|
||||
"baseUrl": "https://open.bigmodel.cn/api/anthropic",
|
||||
"baseUrl": "https://api.z.ai/api/anthropic",
|
||||
"apiFormat": "anthropic-messages",
|
||||
"apiKeyRef": "",
|
||||
"apiKeyVerified": false,
|
||||
@@ -21,15 +21,22 @@
|
||||
"consoleUrl": "https://open.bigmodel.cn/console/overview"
|
||||
}
|
||||
},
|
||||
"tombstones": [
|
||||
"glm-5.1",
|
||||
"glm-5",
|
||||
"glm-4.5-air"
|
||||
],
|
||||
"models": [
|
||||
{
|
||||
"modelName": "glm-5.1",
|
||||
"displayName": "GLM-5.1 (Coding)",
|
||||
"modelName": "glm-5.2",
|
||||
"apiModelId": "glm-5.2[1m]",
|
||||
"displayName": "GLM-5.2 (Coding)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
"chat",
|
||||
"reasoning"
|
||||
],
|
||||
"description": "智谱 GLM-5.1 Coding Plan 版本,754B 参数旗舰,200K 上下文,SWE-Bench Pro 58.4%",
|
||||
"contextWindow": 200000,
|
||||
"description": "智谱 GLM-5.2 Coding Plan 版本,官方最新可用模型,1M 上下文,128K 最大输出",
|
||||
"contextWindow": 1000000,
|
||||
"maxOutputTokens": 131072,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
@@ -42,17 +49,33 @@
|
||||
"math",
|
||||
"multilingual"
|
||||
],
|
||||
"extra": {
|
||||
"codingPlanLongContextModelId": "glm-5.2[1m]",
|
||||
"reasoningEffort": {
|
||||
"default": "max",
|
||||
"supported": [
|
||||
"max",
|
||||
"xhigh",
|
||||
"high",
|
||||
"medium",
|
||||
"low",
|
||||
"minimal",
|
||||
"none"
|
||||
]
|
||||
}
|
||||
},
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "glm-5-turbo",
|
||||
"displayName": "GLM-5 Turbo (Coding)",
|
||||
"displayName": "GLM-5-Turbo (Coding)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
"chat",
|
||||
"reasoning"
|
||||
],
|
||||
"description": "智谱 GLM-5 Turbo Coding Plan 版本,高阶模型,速度更快",
|
||||
"description": "智谱 GLM-5-Turbo Coding Plan 版本,官方可用高阶模型,200K 上下文,128K 最大输出",
|
||||
"contextWindow": 200000,
|
||||
"maxOutputTokens": 128000,
|
||||
"maxOutputTokens": 131072,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
@@ -62,29 +85,8 @@
|
||||
"tool_use",
|
||||
"agent",
|
||||
"math",
|
||||
"multilingual"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "glm-5",
|
||||
"displayName": "GLM-5 (Coding)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "智谱 GLM-5 Coding Plan 版本,745B MoE,200K 上下文",
|
||||
"contextWindow": 200000,
|
||||
"maxOutputTokens": 128000,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"deep_thinking",
|
||||
"long_context",
|
||||
"tool_use",
|
||||
"agent",
|
||||
"math",
|
||||
"multilingual"
|
||||
"multilingual",
|
||||
"fast"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
@@ -92,11 +94,12 @@
|
||||
"modelName": "glm-4.7",
|
||||
"displayName": "GLM-4.7 (Coding)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
"chat",
|
||||
"reasoning"
|
||||
],
|
||||
"description": "智谱 GLM-4.7 Coding Plan 版本,355B MoE,200K 上下文",
|
||||
"description": "智谱 GLM-4.7 Coding Plan 版本,官方可用模型,200K 上下文,128K 最大输出",
|
||||
"contextWindow": 200000,
|
||||
"maxOutputTokens": 128000,
|
||||
"maxOutputTokens": 131072,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
@@ -104,25 +107,10 @@
|
||||
"deep_thinking",
|
||||
"long_context",
|
||||
"tool_use",
|
||||
"agent",
|
||||
"multilingual"
|
||||
],
|
||||
"source": "preset"
|
||||
},
|
||||
{
|
||||
"modelName": "glm-4.5-air",
|
||||
"displayName": "GLM-4.5 Air (Coding)",
|
||||
"serviceType": [
|
||||
"chat"
|
||||
],
|
||||
"description": "智谱 GLM-4.5 Air Coding Plan 版本,轻量级 Haiku 级模型",
|
||||
"contextWindow": 128000,
|
||||
"maxOutputTokens": 16384,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"code",
|
||||
"fast"
|
||||
],
|
||||
"source": "preset"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user