mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-09-06 01:13:42 +08:00
Opus 5 是 Anthropic Opus 系列当前旗舰(1M 上下文 / 128K 输出 / $5·$25 per MTok, 与 Opus 4.8 同价),此前 config-center 完全缺失,用户在模型选择器里看不到它。 变更: - compute/providers/anthropic.json:新增 claude-opus-5(排在 fable-5 之后、 opus-4-8 之前);serverSideWebSearch.fallbackPriority 顺延重排 - compute/providers/anthropic-claude.json:Claude 订阅 provider 同步新增 claude-opus-5 - compute/model-specs/anthropic.json:补 claude-opus-5 与 claude-sonnet-5 规格 (sonnet-5 此前只有 provider 条目、没有规格) - 补 extra.reasoning.supportedEfforts:客户端 parseReasoningEffortConfig 只读 extra.reasoning,原有的顶层 extra.defaultEffort 不被消费,导致 Claude 模型的 effort 档位在 UI 上始终不可选。按各模型实际支持声明档位(sonnet-4-6 无 xhigh) - __tests__/validate.test.mjs:WebSearch 允许名单登记 claude-opus-5 - manifest.json:presetDataVersion 84 → 85
122 lines
4.4 KiB
JSON
122 lines
4.4 KiB
JSON
{
|
||
"description": "Anthropic Claude 系列模型规格。参数来源:config-center compute/providers/anthropic.json。",
|
||
"specs": [
|
||
{
|
||
"id": "claude-fable-5",
|
||
"displayName": "Claude Fable 5",
|
||
"family": "claude-fable",
|
||
"match": { "exact": ["claude-fable-5"], "patterns": ["claude-fable-5*"] },
|
||
"spec": {
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": ["chat", "reasoning", "deep_thinking", "code", "vision", "tool_use", "long_context"],
|
||
"serviceType": ["chat"],
|
||
"supportsReasoning": true,
|
||
"description": "Anthropic 最强模型,基于 Mythos 架构,支持自主知识工作"
|
||
}
|
||
},
|
||
{
|
||
"id": "claude-opus-5",
|
||
"displayName": "Claude Opus 5",
|
||
"family": "claude-opus",
|
||
"match": { "patterns": ["claude-opus-5*"] },
|
||
"spec": {
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "tool_use", "long_context"],
|
||
"serviceType": ["chat"],
|
||
"supportsReasoning": true,
|
||
"description": "Claude Opus 5,Anthropic Opus 系列当前旗舰;思考默认开启,effort 支持到 max"
|
||
}
|
||
},
|
||
{
|
||
"id": "claude-opus-4-8",
|
||
"displayName": "Claude Opus 4.8",
|
||
"family": "claude-opus",
|
||
"match": { "patterns": ["claude-opus-4-8*"] },
|
||
"spec": {
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "tool_use", "long_context"],
|
||
"serviceType": ["chat"],
|
||
"supportsReasoning": true,
|
||
"description": "Claude Opus 4.8,Anthropic Opus 系列最新旗舰"
|
||
}
|
||
},
|
||
{
|
||
"id": "claude-opus-4-7",
|
||
"displayName": "Claude Opus 4.7",
|
||
"family": "claude-opus",
|
||
"match": { "patterns": ["claude-opus-4-7*"] },
|
||
"spec": {
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "tool_use"],
|
||
"serviceType": ["chat"],
|
||
"defaultTemperature": 1,
|
||
"supportsReasoning": true,
|
||
"description": "Anthropic 当前最强通用模型,适合复杂推理和智能体编码任务"
|
||
}
|
||
},
|
||
{
|
||
"id": "claude-sonnet-5",
|
||
"displayName": "Claude Sonnet 5",
|
||
"family": "claude-sonnet",
|
||
"match": { "patterns": ["claude-sonnet-5*"] },
|
||
"spec": {
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "tool_use", "computer_use", "long_context"],
|
||
"serviceType": ["chat"],
|
||
"supportsReasoning": true,
|
||
"description": "Claude Sonnet 5,速度与智能平衡;思考默认开启,effort 支持到 max"
|
||
}
|
||
},
|
||
{
|
||
"id": "claude-sonnet-4-6",
|
||
"displayName": "Claude Sonnet 4.6",
|
||
"family": "claude-sonnet",
|
||
"match": { "patterns": ["claude-sonnet-4-6*"] },
|
||
"spec": {
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 64000,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "tool_use", "computer_use"],
|
||
"serviceType": ["chat", "computer_use"],
|
||
"defaultTemperature": 1,
|
||
"supportsReasoning": true,
|
||
"description": "Anthropic 高智能高速度模型,适合编码、工具使用和智能体任务"
|
||
}
|
||
},
|
||
{
|
||
"id": "claude-sonnet-4-5",
|
||
"displayName": "Claude Sonnet 4.5",
|
||
"family": "claude-sonnet",
|
||
"match": { "patterns": ["claude-sonnet-4-5*"] },
|
||
"spec": {
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 64000,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "tool_use"],
|
||
"serviceType": ["chat"],
|
||
"defaultTemperature": 1,
|
||
"supportsReasoning": true,
|
||
"description": "Anthropic 主力模型,长文本与代码任务表现优异"
|
||
}
|
||
},
|
||
{
|
||
"id": "claude-haiku-4-5",
|
||
"displayName": "Claude Haiku 4.5",
|
||
"family": "claude-haiku",
|
||
"match": { "patterns": ["claude-haiku-4-5*"] },
|
||
"spec": {
|
||
"contextWindow": 200000,
|
||
"maxOutputTokens": 64000,
|
||
"capabilities": ["chat", "reasoning", "code", "vision", "tool_use"],
|
||
"serviceType": ["chat"],
|
||
"defaultTemperature": 1,
|
||
"supportsReasoning": true,
|
||
"description": "Anthropic 最快模型,具备接近前沿模型的智能水平"
|
||
}
|
||
}
|
||
]
|
||
}
|