Skip to content

Commit 5ccce3a

Browse files
authored
feat: add gemini-2.5-flash-preview-05-20 models (RooCodeInc#3769)
1 parent 7a4ce14 commit 5ccce3a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/shared/api.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -673,6 +673,25 @@ export const geminiModels = {
673673
outputPrice: 0.6,
674674
thinking: false,
675675
},
676+
"gemini-2.5-flash-preview-05-20:thinking": {
677+
maxTokens: 65_535,
678+
contextWindow: 1_048_576,
679+
supportsImages: true,
680+
supportsPromptCache: false,
681+
inputPrice: 0.15,
682+
outputPrice: 3.5,
683+
thinking: true,
684+
maxThinkingTokens: 24_576,
685+
},
686+
"gemini-2.5-flash-preview-05-20": {
687+
maxTokens: 65_535,
688+
contextWindow: 1_048_576,
689+
supportsImages: true,
690+
supportsPromptCache: false,
691+
inputPrice: 0.15,
692+
outputPrice: 0.6,
693+
thinking: false,
694+
},
676695
"gemini-2.5-pro-exp-03-25": {
677696
maxTokens: 65_535,
678697
contextWindow: 1_048_576,
@@ -1762,6 +1781,8 @@ export const PROMPT_CACHING_MODELS = new Set([
17621781
"google/gemini-2.5-pro-preview",
17631782
"google/gemini-2.5-flash-preview",
17641783
"google/gemini-2.5-flash-preview:thinking",
1784+
"google/gemini-2.5-flash-preview-05-20",
1785+
"google/gemini-2.5-flash-preview-05-20:thinking",
17651786
"google/gemini-2.0-flash-001",
17661787
"google/gemini-flash-1.5",
17671788
"google/gemini-flash-1.5-8b",

0 commit comments

Comments
 (0)