Skip to content

Commit 030bafd

Browse files
wrsfmssclaude
andcommitted
fix(vertex): correct Claude Opus 5.5 max output tokens to 128K
Vertex's claude-opus-5-5 entry had maxTokens copied from the older claude-opus-5 entry (8192) while pricing was updated for 5.5. The Anthropic model card lists max output as 128K uniformly across all platforms (Claude API, Bedrock, Vertex, Foundry), matching the anthropic.ts and bedrock.ts entries added in the same feature PR. Co-Authored-By: Claude Sonnet 5 <[email protected]>
1 parent fadd66a commit 030bafd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/types/src/providers/vertex.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ export const vertexModels = {
490490
description: "Claude Opus 5 is Anthropic's most capable model for complex agentic coding and enterprise work.",
491491
},
492492
"claude-opus-5-5": {
493-
maxTokens: 8192,
493+
maxTokens: 128_000, // 128K max output tokens per the Anthropic model card (same across all platforms).
494494
contextWindow: 1_000_000, // 1M context window native (no beta header required)
495495
supportsImages: true,
496496
supportsPromptCache: true,

‎src/api/providers/__tests__/anthropic-vertex.spec.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1053,7 +1053,7 @@ describe("VertexHandler", () => {
10531053

10541054
const model = handler.getModel()
10551055
expect(model.id).toBe("claude-opus-5-5")
1056-
expect(model.info.maxTokens).toBe(8192)
1056+
expect(model.info.maxTokens).toBe(128_000)
10571057
expect(model.info.contextWindow).toBe(1_000_000)
10581058
expect(model.info.inputPrice).toBe(4.0)
10591059
expect(model.info.outputPrice).toBe(20.0)

0 commit comments

Comments
 (0)