Parcourir la 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 il y a 1 an
Parent
commit
320ef77d79
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  1. 8 0
      src/shared/api.ts

+ 8 - 0
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,