feat(compute): add GPT-6.1 Sol and Claude Sonnet 5.5 (#109)

This commit is contained in:
2026-10-01 21:41:50 +08:00
committed by GitHub
parent 74f92ac15a
commit dc7d48957e
8 changed files with 307 additions and 6 deletions

View File

@@ -147,6 +147,48 @@
},
"source": "preset"
},
{
"modelName": "claude-sonnet-5-5",
"displayName": "Claude Sonnet 5.5",
"serviceType": [
"chat"
],
"description": "Claude Sonnet 5.5,速度与智能平衡,1M 上下文,默认 high effort,自适应思考",
"contextWindow": 1000000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"tool_use",
"agent",
"long_context"
],
"extra": {
"adaptiveThinking": true,
"reasoning": {
"supportedEfforts": [
"low",
"medium",
"high",
"xhigh",
"max"
],
"defaultEffort": "high"
},
"thinkingRoundTrip": {
"enabled": true,
"protocol": "anthropic-messages",
"allowEmptySignature": false,
"scope": "active-tool-turn"
},
"thinkingToolTurnValidation": "accepts-thinkless",
"samplingParametersDeprecated": true,
"forcedToolChoiceUnsupported": true
},
"source": "preset"
},
{
"modelName": "claude-sonnet-5",
"displayName": "Claude Sonnet 5",

View File

@@ -186,6 +186,65 @@
"pricingNotes": "Prices are per 1M tokens. Full 1M context is billed at standard pricing."
}
},
{
"modelName": "claude-sonnet-5-5",
"displayName": "Claude Sonnet 5.5",
"serviceType": [
"chat",
"computer_use"
],
"description": "Claude Sonnet 5.5,速度与智能平衡,1M 上下文,默认 high effort,自适应思考",
"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
},
"adaptiveThinking": true,
"reasoning": {
"supportedEfforts": [
"low",
"medium",
"high",
"xhigh",
"max"
],
"defaultEffort": "high"
},
"defaultEffort": "xhigh",
"samplingParametersDeprecated": true,
"forcedToolChoiceUnsupported": true,
"promptCacheMinTokens": 512
}
},
{
"modelName": "claude-sonnet-5",
"displayName": "Claude Sonnet 5",

View File

@@ -24,6 +24,38 @@
"reasoning"
],
"models": [
{
"modelName": "gpt-6.1-sol",
"displayName": "GPT-6.1 Sol",
"serviceType": [
"chat"
],
"description": "GPT-6.1 Sol,面向复杂编程、电脑使用和专业工作,1.05M 上下文;工具调用使用 Responses API",
"contextWindow": 1050000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"ultra_long_context",
"tool_use",
"agent"
],
"extra": {
"reasoning": {
"supportedEfforts": [
"low",
"medium",
"high",
"xhigh",
"max"
],
"defaultEffort": "medium"
}
},
"source": "preset"
},
{
"modelName": "gpt-6-sol",
"displayName": "GPT-6 Sol",

View File

@@ -24,6 +24,44 @@
"translation"
],
"models": [
{
"modelName": "gpt-6.1-sol",
"displayName": "GPT-6.1 Sol",
"serviceType": [
"chat",
"responses"
],
"contextWindow": 1050000,
"maxOutputTokens": 128000,
"capabilities": [
"chat",
"reasoning",
"code",
"vision",
"ultra_long_context",
"tool_use",
"agent"
],
"description": "GPT-6.1 Sol,面向复杂编程、电脑使用和专业工作,1.05M 上下文;工具调用使用 Responses API",
"inputPrice": 2,
"outputPrice": 10,
"extra": {
"serverSideWebSearch": {
"enabled": true,
"dialect": "openai-responses",
"fallbackPriority": 2,
"searchRequestPriceUsd": 0.01,
"toolType": "web_search"
},
"cachedInputPrice": 0.1,
"reasoning": {
"supportedEfforts": ["low", "medium", "high", "xhigh", "max"],
"defaultEffort": "medium"
},
"pricingNotes": "Prices are per 1M tokens. Cache writes $2.50/M. Above 272K input tokens, input and cache rates are 2x and output rates are 1.5x for the full request. Fast mode is 2x; Batch and Flex are 50% lower. Tool calling requires Responses API; none/minimal reasoning are unsupported.",
"responsesOnly": true
}
},
{
"modelName": "gpt-image-2.5-sunburst",
"displayName": "GPT Image 2.5 Sunburst",