mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-02-28 13:38:31 +08:00
feat: 拆分 providers.json 为按 Provider 独立文件
将 compute/providers.json(54KB, 14 providers, 99 models)拆分为
compute/providers/ 目录下的独立 JSON 文件,便于维护和按需更新。
新增文件:
- compute/providers/_index.json — 加载顺序索引(保证 digest 确定性)
- compute/providers/{provider}.json × 14 — 各 provider 独立配置
保留 compute/providers.json 供旧客户端向后兼容(过渡期)。
presetDataVersion: 2 → 3
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
165
compute/providers/zhipu.json
Normal file
165
compute/providers/zhipu.json
Normal file
@@ -0,0 +1,165 @@
|
||||
{
|
||||
"id": "provider-zhipu-001",
|
||||
"provider": "zhipu",
|
||||
"label": "智谱 AI",
|
||||
"baseUrl": "https://open.bigmodel.cn/api/paas/v4",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "zhipu",
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
"status": "unconfigured",
|
||||
"services": [
|
||||
"chat",
|
||||
"vision",
|
||||
"reasoning",
|
||||
"embedding"
|
||||
],
|
||||
"defaultTemperature": 0.95,
|
||||
"defaultTopP": 0.7,
|
||||
"models": [
|
||||
{
|
||||
"modelName": "glm-5",
|
||||
"displayName": "GLM-5",
|
||||
"serviceType": "chat",
|
||||
"description": "智谱GLM-5,745B参数MoE架构,2026年2月发布,编程能力登顶",
|
||||
"contextWindow": 192000,
|
||||
"maxOutputTokens": 128000,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"multilingual",
|
||||
"deep_thinking",
|
||||
"long_context",
|
||||
"math"
|
||||
],
|
||||
"inputPrice": 4,
|
||||
"outputPrice": 8,
|
||||
"extra": {}
|
||||
},
|
||||
{
|
||||
"modelName": "glm-5-plus",
|
||||
"displayName": "GLM-5-Plus",
|
||||
"serviceType": "chat",
|
||||
"description": "智谱GLM-5增强版,幻觉率仅2.6%,面向严肃医疗场景",
|
||||
"contextWindow": 192000,
|
||||
"maxOutputTokens": 128000,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"multilingual",
|
||||
"deep_thinking",
|
||||
"long_context",
|
||||
"medical"
|
||||
],
|
||||
"inputPrice": 8,
|
||||
"outputPrice": 16,
|
||||
"extra": {}
|
||||
},
|
||||
{
|
||||
"modelName": "glm-4.7",
|
||||
"displayName": "GLM-4.7",
|
||||
"serviceType": "chat",
|
||||
"description": "智谱GLM-4.7,面向超长上下文理解与生成,200K上下文",
|
||||
"contextWindow": 200000,
|
||||
"maxOutputTokens": 128000,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"multilingual",
|
||||
"deep_thinking",
|
||||
"long_context"
|
||||
],
|
||||
"inputPrice": 4,
|
||||
"outputPrice": 16,
|
||||
"extra": {}
|
||||
},
|
||||
{
|
||||
"modelName": "glm-4.7-thinking",
|
||||
"displayName": "GLM-4.7 Thinking",
|
||||
"serviceType": "reasoning",
|
||||
"description": "智谱GLM-4.7深度思考版,200K上下文",
|
||||
"contextWindow": 200000,
|
||||
"maxOutputTokens": 64000,
|
||||
"capabilities": [
|
||||
"reasoning",
|
||||
"math",
|
||||
"code",
|
||||
"deep_thinking",
|
||||
"long_context"
|
||||
],
|
||||
"inputPrice": 8,
|
||||
"outputPrice": 32,
|
||||
"extra": {}
|
||||
},
|
||||
{
|
||||
"modelName": "glm-4.7v",
|
||||
"displayName": "GLM-4.7V",
|
||||
"serviceType": "vision",
|
||||
"description": "智谱GLM-4.7多模态版,支持图像视频理解,200K上下文",
|
||||
"contextWindow": 200000,
|
||||
"maxOutputTokens": 8192,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"vision",
|
||||
"video_understanding",
|
||||
"image_understanding",
|
||||
"long_context"
|
||||
],
|
||||
"inputPrice": 8,
|
||||
"outputPrice": 32,
|
||||
"extra": {}
|
||||
},
|
||||
{
|
||||
"modelName": "glm-4.6",
|
||||
"displayName": "GLM-4.6",
|
||||
"serviceType": "chat",
|
||||
"description": "智谱GLM-4.6,最新一代模型,增强推理能力,128K上下文",
|
||||
"contextWindow": 128000,
|
||||
"maxOutputTokens": 8192,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"code",
|
||||
"multilingual",
|
||||
"deep_thinking"
|
||||
],
|
||||
"inputPrice": 4,
|
||||
"outputPrice": 16,
|
||||
"extra": {}
|
||||
},
|
||||
{
|
||||
"modelName": "glm-4.6v",
|
||||
"displayName": "GLM-4.6V",
|
||||
"serviceType": "vision",
|
||||
"description": "智谱GLM-4.6多模态版,支持图像理解,128K上下文",
|
||||
"contextWindow": 128000,
|
||||
"maxOutputTokens": 8192,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"vision",
|
||||
"image_understanding",
|
||||
"ocr"
|
||||
],
|
||||
"inputPrice": 8,
|
||||
"outputPrice": 32,
|
||||
"extra": {}
|
||||
},
|
||||
{
|
||||
"modelName": "embedding-3",
|
||||
"displayName": "智谱 embedding-3",
|
||||
"serviceType": "embedding",
|
||||
"description": "智谱嵌入模型v3,支持自定义维度,单条最大3072 tokens",
|
||||
"contextWindow": 3072,
|
||||
"capabilities": [
|
||||
"text_embedding",
|
||||
"semantic_search",
|
||||
"rag"
|
||||
],
|
||||
"inputPrice": 0.5,
|
||||
"extra": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user