Skip to content

Commit 619bfcc

Browse files
JonasHelmingsgraband
authored andcommitted
Set Opus 4 to 32000 max tokens (#15788)
1 parent ff0dfa3 commit 619bfcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ai-anthropic/src/browser/anthropic-frontend-application-contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const DEFAULT_MODEL_MAX_TOKENS: Record<string, number> = {
2727
'claude-3-5-haiku-latest': 8192,
2828
'claude-3-5-sonnet-latest': 8192,
2929
'claude-3-7-sonnet-latest': 64000,
30-
'claude-opus-4-20250514': 64000,
30+
'claude-opus-4-20250514': 32000,
3131
'claude-sonnet-4-20250514': 64000
3232
};
3333

0 commit comments

Comments
 (0)