Skip to content

Commit 894fa35

Browse files
authored
Adding Gemini 2.5 pro preview (RooCodeInc#2671)
* Adding Gemini 2.5 pro preview * Adding Gemini 2.5 pro preview
1 parent ff762d3 commit 894fa35

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"claude-dev": patch
3+
---
4+
5+
adding gemini 2.5 pro preview

src/shared/api.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,14 @@ export const vertexModels = {
376376
inputPrice: 0,
377377
outputPrice: 0,
378378
},
379+
"gemini-2.5-pro-preview-03-25": {
380+
maxTokens: 65536,
381+
contextWindow: 1_048_576,
382+
supportsImages: true,
383+
supportsPromptCache: false,
384+
inputPrice: 1.25,
385+
outputPrice: 2.5,
386+
},
379387
"gemini-2.0-flash-thinking-exp-01-21": {
380388
maxTokens: 65_536,
381389
contextWindow: 1_048_576,
@@ -458,6 +466,14 @@ export const geminiModels = {
458466
inputPrice: 0,
459467
outputPrice: 0,
460468
},
469+
"gemini-2.5-pro-preview-03-25": {
470+
maxTokens: 65536,
471+
contextWindow: 1_048_576,
472+
supportsImages: true,
473+
supportsPromptCache: false,
474+
inputPrice: 1.25,
475+
outputPrice: 2.5,
476+
},
461477
"gemini-2.0-flash-001": {
462478
maxTokens: 8192,
463479
contextWindow: 1_048_576,

0 commit comments

Comments
 (0)