mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-10-21 05:24:25 +08:00
客户端从未读取该字段:DesireCore 主仓的代码与 Schema 都没有引用它。「省略 thinking 时 上游是否默认思考」由主仓 thinking-profiles.ts 的 Anthropic 代际表判定(desirecore#2944)。 数据本身也不一致:Fable 5.1 / Opus 5 有该字段,同样默认 adaptive 的 Sonnet 5 却缺失, 保留下去容易被误当成可以调整行为的开关。 删除 model-specs/anthropic.json 1 处,providers/anthropic.json 与 anthropic-claude.json 各 2 处。extra 是开放对象,本仓与客户端 Schema 都未声明该字段,删除不影响任何校验; 客户端合并预设不回传字段删除,存量 compute.json 里残留的该字段依旧无人读取,无害。 presetDataVersion 118 → 119。
202 lines
5.4 KiB
JSON
202 lines
5.4 KiB
JSON
{
|
||
"id": "provider-anthropic-001",
|
||
"provider": "anthropic",
|
||
"label": "Anthropic Claude",
|
||
"baseUrl": "https://api.anthropic.com",
|
||
"apiFormat": "anthropic-messages",
|
||
"apiKeyRef": "anthropic",
|
||
"apiKeyVerified": false,
|
||
"enabled": false,
|
||
"status": "unconfigured",
|
||
"priceCurrency": "USD",
|
||
"services": [
|
||
"chat",
|
||
"computer_use"
|
||
],
|
||
"models": [
|
||
{
|
||
"modelName": "claude-fable-5-1",
|
||
"displayName": "Claude Fable 5.1",
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"description": "面向高难推理和长程智能体任务,1M 上下文,始终开启自适应思考",
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use",
|
||
"agent",
|
||
"long_context"
|
||
],
|
||
"inputPrice": 10,
|
||
"outputPrice": 50,
|
||
"extra": {
|
||
"thinkingRoundTrip": {
|
||
"enabled": true,
|
||
"protocol": "anthropic-messages",
|
||
"allowEmptySignature": false,
|
||
"scope": "active-tool-turn"
|
||
},
|
||
"thinkingToolTurnValidation": "accepts-thinkless",
|
||
"serverSideWebSearch": {
|
||
"enabled": true,
|
||
"dialect": "anthropic-messages",
|
||
"fallbackPriority": 1,
|
||
"searchRequestPriceUsd": 0.01,
|
||
"toolType": "web_search_20260318"
|
||
},
|
||
"cachePricing": {
|
||
"write5m": 12.5,
|
||
"write1h": 20,
|
||
"read": 0.25
|
||
},
|
||
"adaptiveThinking": true,
|
||
"reasoning": {
|
||
"supportedEfforts": [
|
||
"low",
|
||
"medium",
|
||
"high",
|
||
"xhigh",
|
||
"max"
|
||
],
|
||
"defaultEffort": "high"
|
||
},
|
||
"samplingParametersDeprecated": true,
|
||
"forcedToolChoiceUnsupported": true,
|
||
"pricingNotes": "Prices are per 1M tokens. Full 1M context is billed at standard pricing.",
|
||
"thinkingOnly": true
|
||
}
|
||
},
|
||
{
|
||
"modelName": "claude-opus-5",
|
||
"displayName": "Claude Opus 5",
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"description": "Anthropic Opus 系列当前旗舰,复杂智能体编码与长程任务能力显著强于 Opus 4.8,价格不变,1M 上下文",
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use",
|
||
"agent",
|
||
"long_context"
|
||
],
|
||
"inputPrice": 5,
|
||
"outputPrice": 25,
|
||
"extra": {
|
||
"thinkingRoundTrip": {
|
||
"enabled": true,
|
||
"protocol": "anthropic-messages",
|
||
"allowEmptySignature": false,
|
||
"scope": "active-tool-turn"
|
||
},
|
||
"thinkingToolTurnValidation": "accepts-thinkless",
|
||
"serverSideWebSearch": {
|
||
"enabled": true,
|
||
"dialect": "anthropic-messages",
|
||
"fallbackPriority": 2,
|
||
"searchRequestPriceUsd": 0.01,
|
||
"toolType": "web_search_20260318"
|
||
},
|
||
"cachePricing": {
|
||
"write5m": 6.25,
|
||
"write1h": 10,
|
||
"read": 0.5
|
||
},
|
||
"promptCacheMinTokens": 512,
|
||
"adaptiveThinking": true,
|
||
"reasoning": {
|
||
"supportedEfforts": [
|
||
"low",
|
||
"medium",
|
||
"high",
|
||
"xhigh",
|
||
"max"
|
||
],
|
||
"defaultEffort": "xhigh"
|
||
},
|
||
"defaultEffort": "xhigh",
|
||
"samplingParametersDeprecated": true,
|
||
"pricingNotes": "Prices are per 1M tokens. Full 1M context is billed at standard pricing."
|
||
}
|
||
},
|
||
{
|
||
"modelName": "claude-sonnet-5",
|
||
"displayName": "Claude Sonnet 5",
|
||
"serviceType": [
|
||
"chat",
|
||
"computer_use"
|
||
],
|
||
"description": "Anthropic Sonnet 5,速度与智能平衡模型,支持电脑使用和长上下文智能体任务",
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use",
|
||
"computer_use",
|
||
"agent",
|
||
"long_context"
|
||
],
|
||
"inputPrice": 2,
|
||
"outputPrice": 10,
|
||
"extra": {
|
||
"thinkingRoundTrip": {
|
||
"enabled": true,
|
||
"protocol": "anthropic-messages",
|
||
"allowEmptySignature": false,
|
||
"scope": "active-tool-turn"
|
||
},
|
||
"thinkingToolTurnValidation": "accepts-thinkless",
|
||
"serverSideWebSearch": {
|
||
"enabled": true,
|
||
"dialect": "anthropic-messages",
|
||
"fallbackPriority": 3,
|
||
"searchRequestPriceUsd": 0.01,
|
||
"toolType": "web_search_20260318"
|
||
},
|
||
"cachePricing": {
|
||
"write5m": 2.5,
|
||
"write1h": 4,
|
||
"read": 0.2
|
||
},
|
||
"introductoryPricingUntil": "2026-08-31",
|
||
"standardPricingFrom": "2026-09-01",
|
||
"standardInputPrice": 3,
|
||
"standardOutputPrice": 15,
|
||
"adaptiveThinking": true,
|
||
"reasoning": {
|
||
"supportedEfforts": [
|
||
"low",
|
||
"medium",
|
||
"high",
|
||
"xhigh",
|
||
"max"
|
||
],
|
||
"defaultEffort": "xhigh"
|
||
},
|
||
"defaultEffort": "xhigh",
|
||
"samplingParametersDeprecated": true
|
||
}
|
||
}
|
||
],
|
||
"tombstones": [
|
||
"claude-opus-4-8",
|
||
"claude-opus-4-7",
|
||
"claude-sonnet-4-6",
|
||
"claude-fable-5",
|
||
"claude-haiku-4-5",
|
||
"claude-haiku-4-5-20251001"
|
||
]
|
||
}
|