Browse Source

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.
Nico Bihan 10 months ago
parent
commit
320ef77d79
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/shared/api.ts

+ 8 - 0
src/shared/api.ts

@@ -482,6 +482,14 @@ export const vertexModels = {
 		inputPrice: 0.15,
 		inputPrice: 0.15,
 		outputPrice: 0.6,
 		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": {
 	"gemini-2.5-pro-exp-03-25": {
 		maxTokens: 65_535,
 		maxTokens: 65_535,
 		contextWindow: 1_048_576,
 		contextWindow: 1_048_576,