Skip to content

Commit 7a1b095

Browse files
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.
1 parent 26b28ef commit 7a1b095

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/shared/api.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,14 @@ export const vertexModels = {
482482
inputPrice: 0.15,
483483
outputPrice: 0.6,
484484
},
485+
"gemini-2.5-pro-preview-03-25": {
486+
maxTokens: 65_535,
487+
contextWindow: 1_048_576,
488+
supportsImages: true,
489+
supportsPromptCache: false,
490+
inputPrice: 2.5,
491+
outputPrice: 15,
492+
},
485493
"gemini-2.5-pro-exp-03-25": {
486494
maxTokens: 65_535,
487495
contextWindow: 1_048_576,

0 commit comments

Comments
 (0)