mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-10-21 04:44:26 +08:00
Claude Opus 4.7+ / Opus 5 / Fable 携带 temperature / top_p / top_k 会被官方 400 (Sonnet 5 非默认值 400),Claude Fable 5.1 对 tool_choice any / tool 回 400。客户端 改为纯按声明在出站删除采样参数、把强制工具选择降级为 auto(desirecore 主仓配套 PR)。 - providers/anthropic.json:claude-fable-5-1 增加 forcedToolChoiceUnsupported - model-specs/anthropic.json:fable-5-1 / opus-5 / opus-4-8 / opus-4-7 / sonnet-5 声明 samplingParametersDeprecated,fable-5-1 声明 forcedToolChoiceUnsupported,供精确命中 补全的动态 Provider 使用;opus-4-7 的 defaultTemperature 由 1 改为 null(不支持温度调节) - schemas:provider model extra 与 ModelSpec spec.extra 声明两个布尔字段(含 description) - 测试:已知拒绝代际必须声明(单向)、布尔类型校验 - presetDataVersion 116 → 117
317 lines
7.4 KiB
JSON
317 lines
7.4 KiB
JSON
{
|
||
"description": "Anthropic Claude 系列模型规格。参数来源:config-center compute/providers/anthropic.json。",
|
||
"specs": [
|
||
{
|
||
"id": "claude-fable-5-1",
|
||
"displayName": "Claude Fable 5.1",
|
||
"family": "claude-fable",
|
||
"match": {
|
||
"exact": [
|
||
"claude-fable-5-1"
|
||
],
|
||
"patterns": [
|
||
"claude-fable-5-1*"
|
||
]
|
||
},
|
||
"spec": {
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"deep_thinking",
|
||
"code",
|
||
"vision",
|
||
"tool_use",
|
||
"long_context"
|
||
],
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"supportsReasoning": true,
|
||
"description": "Claude Fable 5.1,面向高难推理和长程智能体任务,始终开启自适应思考",
|
||
"extra": {
|
||
"adaptiveThinking": true,
|
||
"thinkingOnByDefault": true,
|
||
"thinkingOnly": true,
|
||
"samplingParametersDeprecated": true,
|
||
"forcedToolChoiceUnsupported": true
|
||
}
|
||
},
|
||
"routing": {
|
||
"tier": "flagship",
|
||
"routingPriority": 20,
|
||
"eligibleForAgent": true,
|
||
"defaultReference": false,
|
||
"reasoning": {
|
||
"supportedModes": [
|
||
"auto",
|
||
"low",
|
||
"medium",
|
||
"high",
|
||
"xhigh",
|
||
"max"
|
||
],
|
||
"defaultMode": "high"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "claude-opus-5",
|
||
"displayName": "Claude Opus 5",
|
||
"family": "claude-opus-5",
|
||
"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",
|
||
"extra": {
|
||
"adaptiveThinking": true,
|
||
"samplingParametersDeprecated": true
|
||
}
|
||
},
|
||
"routing": {
|
||
"tier": "flagship",
|
||
"routingPriority": 25,
|
||
"eligibleForAgent": true,
|
||
"defaultReference": false,
|
||
"reasoning": {
|
||
"supportedModes": [
|
||
"auto",
|
||
"low",
|
||
"medium",
|
||
"high",
|
||
"xhigh",
|
||
"max"
|
||
],
|
||
"defaultMode": "xhigh"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "claude-opus-4-8",
|
||
"displayName": "Claude Opus 4.8",
|
||
"family": "claude-opus-4-8",
|
||
"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 系列最新旗舰",
|
||
"extra": {
|
||
"adaptiveThinking": true,
|
||
"samplingParametersDeprecated": true
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "claude-opus-4-7",
|
||
"displayName": "Claude Opus 4.7",
|
||
"family": "claude-opus-4-7",
|
||
"match": {
|
||
"patterns": [
|
||
"claude-opus-4-7*"
|
||
]
|
||
},
|
||
"spec": {
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use"
|
||
],
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"defaultTemperature": null,
|
||
"supportsReasoning": true,
|
||
"description": "Anthropic 当前最强通用模型,适合复杂推理和智能体编码任务",
|
||
"extra": {
|
||
"adaptiveThinking": true,
|
||
"samplingParametersDeprecated": true
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "claude-opus",
|
||
"family": "claude-opus",
|
||
"spec": {
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use",
|
||
"long_context"
|
||
],
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"supportsReasoning": true
|
||
}
|
||
},
|
||
{
|
||
"id": "claude-sonnet-5",
|
||
"displayName": "Claude Sonnet 5",
|
||
"family": "claude-sonnet-5",
|
||
"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",
|
||
"extra": {
|
||
"adaptiveThinking": true,
|
||
"samplingParametersDeprecated": true
|
||
}
|
||
},
|
||
"routing": {
|
||
"tier": "balanced",
|
||
"routingPriority": 20,
|
||
"eligibleForAgent": true,
|
||
"defaultReference": false,
|
||
"reasoning": {
|
||
"supportedModes": [
|
||
"auto",
|
||
"low",
|
||
"medium",
|
||
"high",
|
||
"xhigh",
|
||
"max"
|
||
],
|
||
"defaultMode": "xhigh"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "claude-sonnet-4-6",
|
||
"displayName": "Claude Sonnet 4.6",
|
||
"family": "claude-sonnet-4-6",
|
||
"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-4-5",
|
||
"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-sonnet",
|
||
"family": "claude-sonnet",
|
||
"spec": {
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use",
|
||
"computer_use",
|
||
"long_context"
|
||
],
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"supportsReasoning": true
|
||
}
|
||
}
|
||
]
|
||
}
|