Skip to content

Commit 9d44a94

Browse files
committed
Added Gemini 2.5 Pro to Vertex and Gemini Provider
1 parent f5d26c9 commit 9d44a94

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/shared/api.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,14 @@ export const openRouterDefaultModelInfo: ModelInfo = {
611611
export type VertexModelId = keyof typeof vertexModels
612612
export const vertexDefaultModelId: VertexModelId = "claude-3-7-sonnet@20250219"
613613
export const vertexModels = {
614+
"gemini-2.5-pro-exp-03-25": {
615+
maxTokens: 65_536,
616+
contextWindow: 1_048_576,
617+
supportsImages: true,
618+
supportsPromptCache: false,
619+
inputPrice: 0,
620+
outputPrice: 0,
621+
},
614622
"gemini-2.0-flash-001": {
615623
maxTokens: 8192,
616624
contextWindow: 1_048_576,
@@ -759,6 +767,14 @@ export const requestyModelInfoSaneDefaults: ModelInfo = {
759767
export type GeminiModelId = keyof typeof geminiModels
760768
export const geminiDefaultModelId: GeminiModelId = "gemini-2.0-flash-001"
761769
export const geminiModels = {
770+
"gemini-2.5-pro-exp-03-25": {
771+
maxTokens: 65_536,
772+
contextWindow: 1_048_576,
773+
supportsImages: true,
774+
supportsPromptCache: false,
775+
inputPrice: 0,
776+
outputPrice: 0,
777+
},
762778
"gemini-2.0-flash-001": {
763779
maxTokens: 8192,
764780
contextWindow: 1_048_576,

0 commit comments

Comments
 (0)