Fix Claude 4 models in Vertex (#3849)

This commit is contained in:
Matt Rubens 2025-05-22 14:43:31 -04:00 committed by GitHub
parent 0521163212
commit fb3f6d0378
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -658,7 +658,7 @@ export const vertexModels = {
inputPrice: 1.25,
outputPrice: 5,
},
"claude-sonnet-4-20250514:thinking": {
"claude-sonnet-4@20250514:thinking": {
maxTokens: 64_000,
contextWindow: 200_000,
supportsImages: true,
@ -670,7 +670,7 @@ export const vertexModels = {
cacheReadsPrice: 0.3,
thinking: true,
},
"claude-sonnet-4-20250514": {
"claude-sonnet-4@20250514": {
maxTokens: 8192,
contextWindow: 200_000,
supportsImages: true,
@ -682,7 +682,7 @@ export const vertexModels = {
cacheReadsPrice: 0.3,
thinking: false,
},
"claude-opus-4-20250514:thinking": {
"claude-opus-4@20250514:thinking": {
maxTokens: 64_000,
contextWindow: 200_000,
supportsImages: true,
@ -694,7 +694,7 @@ export const vertexModels = {
cacheReadsPrice: 1.5,
thinking: true,
},
"claude-opus-4-20250514": {
"claude-opus-4@20250514": {
maxTokens: 8192,
contextWindow: 200_000,
supportsImages: true,