Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style: update claude 4.6 series 1M contextWindow (#12994)

Zhijie He78cfb087b49c
diff --git a/packages/model-bank/src/aiModels/aihubmix.ts b/packages/model-bank/src/aiModels/aihubmix.ts
index d7eb1a940d2..c9ea7f3ff76 100644
--- a/packages/model-bank/src/aiModels/aihubmix.ts
+++ b/packages/model-bank/src/aiModels/aihubmix.ts
@@ -806,7 +806,7 @@ const aihubmixModels: AIChatModelCard[] = [
structuredOutput: true,
vision: true,
},
- contextWindowTokens: 200_000,
+ contextWindowTokens: 1_000_000,
description:
'Claude Opus 4.6 is Anthropic’s most intelligent model for building agents and coding.',
displayName: 'Claude Opus 4.6',
@@ -943,7 +943,7 @@ const aihubmixModels: AIChatModelCard[] = [
structuredOutput: true,
vision: true,
},
- contextWindowTokens: 200_000,
+ contextWindowTokens: 1_000_000,
description: 'Claude Sonnet 4.6 is Anthropic’s best combination of speed and intelligence.',
displayName: 'Claude Sonnet 4.6',
enabled: true,
diff --git a/packages/model-bank/src/aiModels/anthropic.ts b/packages/model-bank/src/aiModels/anthropic.ts
index 91642d1daee..9ecb3645091 100644
--- a/packages/model-bank/src/aiModels/anthropic.ts
+++ b/packages/model-bank/src/aiModels/anthropic.ts
@@ -9,7 +9,7 @@ const anthropicChatModels: AIChatModelCard[] = [
structuredOutput: true,
vision: true,
},
- contextWindowTokens: 200_000,
+ contextWindowTokens: 1_000_000,
description:
'Claude Opus 4.6 is Anthropic’s most intelligent model for building agents and coding.',
displayName: 'Claude Opus 4.6',
@@ -44,7 +44,7 @@ const anthropicChatModels: AIChatModelCard[] = [
structuredOutput: true,
vision: true,
},
- contextWindowTokens: 200_000,
+ contextWindowTokens: 1_000_000,
description: 'Claude Sonnet 4.6 is Anthropic’s best combination of speed and intelligence.',
displayName: 'Claude Sonnet 4.6',
enabled: true,
diff --git a/packages/model-bank/src/aiModels/bedrock.ts b/packages/model-bank/src/aiModels/bedrock.ts
index a57c2421b66..19e58f9b0a3 100644
--- a/packages/model-bank/src/aiModels/bedrock.ts
+++ b/packages/model-bank/src/aiModels/bedrock.ts
@@ -5,16 +5,15 @@ const bedrockChatModels: AIChatModelCard[] = [
abilities: {
functionCall: true,
reasoning: true,
- search: true,
structuredOutput: true,
vision: true,
},
- contextWindowTokens: 200_000,
+ contextWindowTokens: 1_000_000,
description:
"Claude Opus 4.6 is Anthropic's most intelligent model for building agents and coding.",
displayName: 'Claude Opus 4.6',
enabled: true,
- id: 'us.anthropic.claude-opus-4-6-v1',
+ id: 'global.anthropic.claude-opus-4-6-v1',
maxOutput: 128_000,
pricing: {
units: [
@@ -39,7 +38,44 @@ const bedrockChatModels: AIChatModelCard[] = [
abilities: {
functionCall: true,
reasoning: true,
- search: true,
+ structuredOutput: true,
+ vision: true,
+ },
+ contextWindowTokens: 1_000_000,
+ description: 'Claude Sonnet 4.6 is Anthropic’s best combination of speed and intelligence.',
+ displayName: 'Claude Sonnet 4.6',
+ enabled: true,
+ id: 'global.anthropic.claude-sonnet-4-6',
+ maxOutput: 64_000,
+ pricing: {
+ units: [
+ { name: 'textInput_cacheRead', rate: 0.3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textInput', rate: 3, strategy: 'fixed', unit: 'millionTokens' },
+ { name: 'textOutput', rate: 15, strategy: 'fixed', unit: 'millionTokens' },
+ {
+ lookup: { prices: { '1h': 6, '5m': 3.75 }, pricingParams: ['ttl'] },
+ name: 'textInput_cacheWrite',
+ strategy: 'lookup',
+ unit: 'millionTokens',
+ },
+ ],
+ },
+ releasedAt: '2026-02-17',
+ settings: {
+ extendParams: [
+ 'disableContextCaching',
+ 'enableAdaptiveThinking',
+ 'enableReasoning',
+ 'reasoningBudgetToken',
+ 'effort',
+ ],
+ },
+ type: 'chat',
+ },
+ {
+ abilities: {
+ functionCall: true,
+ reasoning: true,
structuredOutput: true,
vision: true,
},
@@ -47,7 +83,6 @@ const bedrockChatModels: AIChatModelCard[] = [
description:
"Claude Opus 4.5 is Anthropic's flagship model, combining exceptional intelligence and scalable performance for complex tasks requiring the highest-quality responses and reasoning.",
displayName: 'Claude Opus 4.5',
- enabled: true,
id: 'global.anthropic.claude-opus-4-5-20251101-v1:0',
maxOutput: 64_000,
pricing: {
@@ -67,15 +102,13 @@ const bedrockChatModels: AIChatModelCard[] = [
abilities: {
functionCall: true,
reasoning: true,
- search: true,
structuredOutput: true,
vision: true,
},
contextWindowTokens: 200_000,
description: "Claude Sonnet 4.5 is Anthropic's most intelligent model to date.",
displayName: 'Claude Sonnet 4.5',
- enabled: true,
- id: 'us.anthropic.claude-sonnet-4-5-20250929-v1:0',
+ id: 'global.anthropic.claude-sonnet-4-5-20250929-v1:0',
maxOutput: 64_000,
pricing: {
units: [
@@ -93,7 +126,6 @@ const bedrockChatModels: AIChatModelCard[] = [
abilities: {
functionCall: true,
reasoning: true,
- search: true,
structuredOutput: true,
vision: true,
},
@@ -102,7 +134,7 @@ const bedrockChatModels: AIChatModelCard[] = [
"Claude Haiku 4.5 is Anthropic's fastest and most intelligent Haiku model, with lightning speed and extended thinking.",
displayName: 'Claude Haiku 4.5',
enabled: true,
- id: 'us.anthropic.claude-haiku-4-5-20251001-v1:0',
+ id: 'global.anthropic.claude-haiku-4-5-20251001-v1:0',
maxOutput: 64_000,
pricing: {
units: [
@@ -141,7 +173,6 @@ const bedrockChatModels: AIChatModelCard[] = [
abilities: {
functionCall: true,
reasoning: true,
- search: true,
structuredOutput: true,
vision: true,
},
diff --git a/packages/model-bank/src/aiModels/lobehub/chat/anthropic.ts b/packages/model-bank/src/aiModels/lobehub/chat/anthropic.ts
index af71c2afd18..bc9bb7b3e79 100644
--- a/packages/model-bank/src/aiModels/lobehub/chat/anthropic.ts
+++ b/packages/model-bank/src/aiModels/lobehub/chat/anthropic.ts
@@ -8,7 +8,7 @@ export const anthropicChatModels: AIChatModelCard[] = [
search: true,
vision: true,
},
- contextWindowTokens: 200_000,
+ contextWindowTokens: 1_000_000,
description: "Claude Sonnet 4.6 is Anthropic's best combination of speed and intelligence.",
displayName: 'Claude Sonnet 4.6',
enabled: true,
@@ -93,7 +93,7 @@ export const anthropicChatModels: AIChatModelCard[] = [
search: true,
vision: true,
},
- contextWindowTokens: 200_000,
+ contextWindowTokens: 1_000_000,
description:
"Claude Opus 4.6 is Anthropic's most intelligent model for building agents and coding.",
displayName: 'Claude Opus 4.6',
diff --git a/packages/model-runtime/src/providers/bedrock/index.test.ts b/packages/model-runtime/src/providers/bedrock/index.test.ts
index 529f6960750..9c84c012ebe 100644
--- a/packages/model-runtime/src/providers/bedrock/index.test.ts
+++ b/packages/model-runtime/src/providers/bedrock/index.test.ts
@@ -609,7 +609,7 @@ describe('LobeBedrockAI', () => {
accept: 'application/json',
body: JSON.stringify({
anthropic_version: 'bedrock-2023-05-31',
- max_tokens: 64_000,
+ max_tokens: 8192,
messages: [
{
content: [