mirror of
https://git.openapi.site/https://github.com/desirecore/config-center.git
synced 2026-09-05 18:34:35 +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
340 lines
8.8 KiB
JSON
340 lines
8.8 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",
|
||
"displayName": "Claude Fable 5",
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"description": "Anthropic 最高能力公开模型,面向长程智能体和高难推理任务",
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use",
|
||
"agent",
|
||
"long_context"
|
||
],
|
||
"inputPrice": 10,
|
||
"outputPrice": 50,
|
||
"extra": {
|
||
"serverSideWebSearch": {
|
||
"enabled": true,
|
||
"dialect": "anthropic-messages",
|
||
"fallbackPriority": 1,
|
||
"searchRequestPriceUsd": 0.01,
|
||
"toolType": "web_search_20260318"
|
||
},
|
||
"cachePricing": {
|
||
"write5m": 12.5,
|
||
"write1h": 20,
|
||
"read": 1
|
||
},
|
||
"adaptiveThinking": true,
|
||
"reasoning": {
|
||
"supportedEfforts": [
|
||
"low",
|
||
"medium",
|
||
"high",
|
||
"xhigh",
|
||
"max"
|
||
],
|
||
"defaultEffort": "high"
|
||
},
|
||
"samplingParametersDeprecated": true,
|
||
"pricingNotes": "Prices are per 1M tokens. Full 1M context is billed at standard pricing."
|
||
}
|
||
},
|
||
{
|
||
"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": {
|
||
"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,
|
||
"thinkingOnByDefault": true,
|
||
"reasoning": {
|
||
"supportedEfforts": [
|
||
"low",
|
||
"medium",
|
||
"high",
|
||
"xhigh",
|
||
"max"
|
||
],
|
||
"defaultEffort": "high"
|
||
},
|
||
"defaultEffort": "high",
|
||
"samplingParametersDeprecated": true,
|
||
"pricingNotes": "Prices are per 1M tokens. Full 1M context is billed at standard pricing."
|
||
}
|
||
},
|
||
{
|
||
"modelName": "claude-opus-4-8",
|
||
"displayName": "Claude Opus 4.8",
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"description": "Anthropic Opus 级复杂智能体编码与企业任务模型,1M 上下文",
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use",
|
||
"agent",
|
||
"long_context"
|
||
],
|
||
"inputPrice": 5,
|
||
"outputPrice": 25,
|
||
"extra": {
|
||
"serverSideWebSearch": {
|
||
"enabled": true,
|
||
"dialect": "anthropic-messages",
|
||
"fallbackPriority": 3,
|
||
"searchRequestPriceUsd": 0.01,
|
||
"toolType": "web_search_20260318"
|
||
},
|
||
"cachePricing": {
|
||
"write5m": 6.25,
|
||
"write1h": 10,
|
||
"read": 0.5
|
||
},
|
||
"adaptiveThinking": true,
|
||
"reasoning": {
|
||
"supportedEfforts": [
|
||
"low",
|
||
"medium",
|
||
"high",
|
||
"xhigh",
|
||
"max"
|
||
],
|
||
"defaultEffort": "high"
|
||
},
|
||
"defaultEffort": "high",
|
||
"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": {
|
||
"serverSideWebSearch": {
|
||
"enabled": true,
|
||
"dialect": "anthropic-messages",
|
||
"fallbackPriority": 4,
|
||
"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": "high"
|
||
},
|
||
"defaultEffort": "high",
|
||
"samplingParametersDeprecated": true
|
||
}
|
||
},
|
||
{
|
||
"modelName": "claude-opus-4-7",
|
||
"displayName": "Claude Opus 4.7",
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"description": "Anthropic 当前最强通用模型,适合复杂推理和智能体编码任务",
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 128000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use"
|
||
],
|
||
"inputPrice": 5,
|
||
"outputPrice": 25,
|
||
"extra": {
|
||
"serverSideWebSearch": {
|
||
"enabled": true,
|
||
"dialect": "anthropic-messages",
|
||
"fallbackPriority": 5,
|
||
"searchRequestPriceUsd": 0.01,
|
||
"toolType": "web_search_20260318"
|
||
},
|
||
"cachePricing": {
|
||
"write5m": 6.25,
|
||
"write1h": 10,
|
||
"read": 0.5
|
||
},
|
||
"pricingNotes": "Prices are per 1M tokens. Opus 4.7 includes the full 1M context window at standard pricing.",
|
||
"reasoning": {
|
||
"supportedEfforts": [
|
||
"low",
|
||
"medium",
|
||
"high",
|
||
"xhigh",
|
||
"max"
|
||
],
|
||
"defaultEffort": "high"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"modelName": "claude-sonnet-4-6",
|
||
"displayName": "Claude Sonnet 4.6",
|
||
"serviceType": [
|
||
"chat",
|
||
"computer_use"
|
||
],
|
||
"description": "Anthropic 高智能高速度模型,适合编码、工具使用和智能体任务",
|
||
"contextWindow": 1000000,
|
||
"maxOutputTokens": 64000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use",
|
||
"computer_use"
|
||
],
|
||
"inputPrice": 3,
|
||
"outputPrice": 15,
|
||
"defaultTemperature": 1,
|
||
"extra": {
|
||
"serverSideWebSearch": {
|
||
"enabled": true,
|
||
"dialect": "anthropic-messages",
|
||
"fallbackPriority": 6,
|
||
"searchRequestPriceUsd": 0.01,
|
||
"toolType": "web_search_20260318"
|
||
},
|
||
"cachePricing": {
|
||
"write5m": 3.75,
|
||
"write1h": 6,
|
||
"read": 0.3
|
||
},
|
||
"pricingNotes": "Prices are per 1M tokens. Sonnet 4.6 includes the full 1M context window at standard pricing.",
|
||
"reasoning": {
|
||
"supportedEfforts": [
|
||
"low",
|
||
"medium",
|
||
"high",
|
||
"max"
|
||
],
|
||
"defaultEffort": "high"
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"modelName": "claude-haiku-4-5",
|
||
"displayName": "Claude Haiku 4.5",
|
||
"serviceType": [
|
||
"chat"
|
||
],
|
||
"description": "Anthropic 最快模型,具备接近前沿模型的智能水平",
|
||
"contextWindow": 200000,
|
||
"maxOutputTokens": 64000,
|
||
"capabilities": [
|
||
"chat",
|
||
"reasoning",
|
||
"code",
|
||
"vision",
|
||
"tool_use"
|
||
],
|
||
"inputPrice": 1,
|
||
"outputPrice": 5,
|
||
"defaultTemperature": 1,
|
||
"extra": {
|
||
"modelId": "claude-haiku-4-5-20251001",
|
||
"cachePricing": {
|
||
"write5m": 1.25,
|
||
"write1h": 2,
|
||
"read": 0.1
|
||
},
|
||
"pricingNotes": "Prices are per 1M tokens."
|
||
}
|
||
}
|
||
]
|
||
}
|