From 320ef77d79898e146881cb61def3fdf7ad3e46c8 Mon Sep 17 00:00:00 2001 From: Nico Bihan Date: Mon, 7 Apr 2025 11:15:09 -0500 Subject: [PATCH] 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. --- src/shared/api.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/shared/api.ts b/src/shared/api.ts index 44f8f787ee..53608d94d0 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -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,