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:
87
compute/providers/deepseek.json
Normal file
87
compute/providers/deepseek.json
Normal file
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"id": "provider-deepseek-001",
|
||||
"provider": "deepseek",
|
||||
"label": "DeepSeek",
|
||||
"baseUrl": "https://api.deepseek.com/v1",
|
||||
"apiFormat": "openai-completions",
|
||||
"apiKeyRef": "deepseek",
|
||||
"apiKeyVerified": false,
|
||||
"enabled": false,
|
||||
"status": "unconfigured",
|
||||
"services": [
|
||||
"chat",
|
||||
"reasoning"
|
||||
],
|
||||
"defaultTemperature": 1,
|
||||
"defaultTopP": 1,
|
||||
"models": [
|
||||
{
|
||||
"modelName": "deepseek-chat",
|
||||
"displayName": "DeepSeek V3.2",
|
||||
"serviceType": "chat",
|
||||
"description": "高性价比通用对话模型,64K 上下文",
|
||||
"contextWindow": 64000,
|
||||
"maxOutputTokens": 8000,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"code",
|
||||
"reasoning",
|
||||
"multilingual"
|
||||
],
|
||||
"inputPrice": 0.028,
|
||||
"outputPrice": 0.42,
|
||||
"extra": {}
|
||||
},
|
||||
{
|
||||
"modelName": "deepseek-reasoner",
|
||||
"displayName": "DeepSeek R1",
|
||||
"serviceType": "reasoning",
|
||||
"description": "DeepSeek R1 推理模型,64K 上下文,深度推理能力,比 GPT-4 便宜 90%",
|
||||
"contextWindow": 64000,
|
||||
"maxOutputTokens": 32768,
|
||||
"capabilities": [
|
||||
"chat",
|
||||
"reasoning",
|
||||
"deep_thinking",
|
||||
"code",
|
||||
"math"
|
||||
],
|
||||
"inputPrice": 0.55,
|
||||
"outputPrice": 2.19,
|
||||
"extra": {}
|
||||
},
|
||||
{
|
||||
"modelName": "deepseek-r1-distill-qwen-32b",
|
||||
"displayName": "DeepSeek R1 蒸馏版 32B",
|
||||
"serviceType": "reasoning",
|
||||
"description": "DeepSeek R1蒸馏版(基于Qwen-32B),64K 上下文,性价比高的推理模型",
|
||||
"contextWindow": 64000,
|
||||
"maxOutputTokens": 8192,
|
||||
"capabilities": [
|
||||
"reasoning",
|
||||
"math",
|
||||
"code",
|
||||
"fast"
|
||||
],
|
||||
"inputPrice": 0.14,
|
||||
"outputPrice": 0.28,
|
||||
"extra": {}
|
||||
},
|
||||
{
|
||||
"modelName": "deepseek-r1-distill-qwen-7b",
|
||||
"displayName": "DeepSeek R1 蒸馏版 7B",
|
||||
"serviceType": "reasoning",
|
||||
"description": "DeepSeek R1蒸馏版(基于Qwen-7B),64K 上下文,极致性价比",
|
||||
"contextWindow": 64000,
|
||||
"maxOutputTokens": 8192,
|
||||
"capabilities": [
|
||||
"reasoning",
|
||||
"code",
|
||||
"fast"
|
||||
],
|
||||
"inputPrice": 0.05,
|
||||
"outputPrice": 0.1,
|
||||
"extra": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user