Skip to content

Commit a81c421

Browse files
authored
feat: add claude-opus-4.5 to Anthropic and Vertex providers (#9541)
1 parent c1ce48a commit a81c421

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

packages/types/src/providers/anthropic.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@ export const anthropicModels = {
4848
},
4949
],
5050
},
51+
"claude-opus-4-5-20251101": {
52+
maxTokens: 32_000, // Overridden to 8k if `enableReasoningEffort` is false.
53+
contextWindow: 200_000,
54+
supportsImages: true,
55+
supportsPromptCache: true,
56+
inputPrice: 5.0, // $5 per million input tokens
57+
outputPrice: 25.0, // $25 per million output tokens
58+
cacheWritesPrice: 6.25, // $6.25 per million tokens
59+
cacheReadsPrice: 0.5, // $0.50 per million tokens
60+
supportsReasoningBudget: true,
61+
},
5162
"claude-opus-4-1-20250805": {
5263
maxTokens: 32_000, // Overridden to 8k if `enableReasoningEffort` is false.
5364
contextWindow: 200_000,

packages/types/src/providers/vertex.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,17 @@ export const vertexModels = {
220220
cacheReadsPrice: 0.1,
221221
supportsReasoningBudget: true,
222222
},
223+
"claude-opus-4-5@20251101": {
224+
maxTokens: 8192,
225+
contextWindow: 200_000,
226+
supportsImages: true,
227+
supportsPromptCache: true,
228+
inputPrice: 5.0,
229+
outputPrice: 25.0,
230+
cacheWritesPrice: 6.25,
231+
cacheReadsPrice: 0.5,
232+
supportsReasoningBudget: true,
233+
},
223234
"claude-opus-4-1@20250805": {
224235
maxTokens: 8192,
225236
contextWindow: 200_000,

0 commit comments

Comments
 (0)