Skip to content

Commit e47ba5f

Browse files
committed
feat: update Claude Sonnet 4 context window to 1 million tokens
- Increased contextWindow from 200,000 to 1,000,000 tokens (5x increase) - Reflects the latest Anthropic API update for claude-sonnet-4-20250514
1 parent bbe3362 commit e47ba5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/types/src/providers/anthropic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const anthropicDefaultModelId: AnthropicModelId = "claude-sonnet-4-202505
88
export const anthropicModels = {
99
"claude-sonnet-4-20250514": {
1010
maxTokens: 64_000, // Overridden to 8k if `enableReasoningEffort` is false.
11-
contextWindow: 200_000,
11+
contextWindow: 1_000_000, // 1 million tokens - 5x increase from 200k
1212
supportsImages: true,
1313
supportsComputerUse: true,
1414
supportsPromptCache: true,

0 commit comments

Comments
 (0)