Skip to content

Commit eeb73c3

Browse files
Adds Gemini 2.5 Flash "thinking" model to Vertex AI Provider (RooCodeInc#2794)
1 parent ed102d1 commit eeb73c3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/shared/api.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,13 +477,24 @@ export const openRouterDefaultModelInfo: ModelInfo = {
477477
export type VertexModelId = keyof typeof vertexModels
478478
export const vertexDefaultModelId: VertexModelId = "claude-3-7-sonnet@20250219"
479479
export const vertexModels = {
480+
"gemini-2.5-flash-preview-04-17:thinking": {
481+
maxTokens: 65_535,
482+
contextWindow: 1_048_576,
483+
supportsImages: true,
484+
supportsPromptCache: false,
485+
inputPrice: 0.15,
486+
outputPrice: 3.5,
487+
thinking: true,
488+
maxThinkingTokens: 24_576,
489+
},
480490
"gemini-2.5-flash-preview-04-17": {
481491
maxTokens: 65_535,
482492
contextWindow: 1_048_576,
483493
supportsImages: true,
484494
supportsPromptCache: false,
485495
inputPrice: 0.15,
486496
outputPrice: 0.6,
497+
thinking: false,
487498
},
488499
"gemini-2.5-pro-preview-03-25": {
489500
maxTokens: 65_535,

0 commit comments

Comments
 (0)