Skip to content

Commit 8613daf

Browse files
samsilveiramrubens
andauthored
Added Gemini 2.5 Pro model to Google Gemini Provider (#1974)
* Added Gemini 2.5 Pro * Update src/shared/api.ts --------- Co-authored-by: Matt Rubens <[email protected]>
1 parent ec423a7 commit 8613daf

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
@@ -747,6 +747,14 @@ export const openAiModelInfoSaneDefaults: ModelInfo = {
747747
export type GeminiModelId = keyof typeof geminiModels
748748
export const geminiDefaultModelId: GeminiModelId = "gemini-2.0-flash-001"
749749
export const geminiModels = {
750+
"gemini-2.5-pro-exp-03-25": {
751+
maxTokens: 8192,
752+
contextWindow: 1_048_576,
753+
supportsImages: true,
754+
supportsPromptCache: false,
755+
inputPrice: 0,
756+
outputPrice: 0,
757+
},
750758
"gemini-2.0-flash-001": {
751759
maxTokens: 8192,
752760
contextWindow: 1_048_576,

0 commit comments

Comments
 (0)