Skip to content

Commit 6965e5c

Browse files
fix: update Opus 4.1 max tokens from 8K to 32K (#9046)
Aligns claude-opus-4-1-20250805 max token limit with claude-opus-4-20250514, both models now supporting 32K output tokens (overridable to 8K when enableReasoningEffort is false). Fixes #9045 Co-authored-by: Roo Code <[email protected]>
1 parent ae9f3fe commit 6965e5c

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
@@ -49,7 +49,7 @@ export const anthropicModels = {
4949
],
5050
},
5151
"claude-opus-4-1-20250805": {
52-
maxTokens: 8192,
52+
maxTokens: 32_000, // Overridden to 8k if `enableReasoningEffort` is false.
5353
contextWindow: 200_000,
5454
supportsImages: true,
5555
supportsPromptCache: true,

0 commit comments

Comments
 (0)