Added to Vertex AI Provider gemini 2.5 Pro Preview (#2384)

* Added Gemini 2.5 Pro model to Vertex AI Provider

* Adds Gemini 2.5 Pro preview model

Adds configuration for the new Gemini 2.5 Pro preview model,
including its token limits, context window size, image support, and
pricing information.
This commit is contained in:
Nico Bihan 2025-04-07 11:15:09 -05:00 committed by GitHub
parent 009faf349e
commit 320ef77d79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -482,6 +482,14 @@ export const vertexModels = {
inputPrice: 0.15,
outputPrice: 0.6,
},
"gemini-2.5-pro-preview-03-25": {
maxTokens: 65_535,
contextWindow: 1_048_576,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 2.5,
outputPrice: 15,
},
"gemini-2.5-pro-exp-03-25": {
maxTokens: 65_535,
contextWindow: 1_048_576,