diff --git a/src/shared/api.ts b/src/shared/api.ts index 2a573a1bbc..05d6c3f58d 100644 --- a/src/shared/api.ts +++ b/src/shared/api.ts @@ -673,6 +673,25 @@ export const geminiModels = { outputPrice: 0.6, thinking: false, }, + "gemini-2.5-flash-preview-05-20:thinking": { + maxTokens: 65_535, + contextWindow: 1_048_576, + supportsImages: true, + supportsPromptCache: false, + inputPrice: 0.15, + outputPrice: 3.5, + thinking: true, + maxThinkingTokens: 24_576, + }, + "gemini-2.5-flash-preview-05-20": { + maxTokens: 65_535, + contextWindow: 1_048_576, + supportsImages: true, + supportsPromptCache: false, + inputPrice: 0.15, + outputPrice: 0.6, + thinking: false, + }, "gemini-2.5-pro-exp-03-25": { maxTokens: 65_535, contextWindow: 1_048_576, @@ -1762,6 +1781,8 @@ export const PROMPT_CACHING_MODELS = new Set([ "google/gemini-2.5-pro-preview", "google/gemini-2.5-flash-preview", "google/gemini-2.5-flash-preview:thinking", + "google/gemini-2.5-flash-preview-05-20", + "google/gemini-2.5-flash-preview-05-20:thinking", "google/gemini-2.0-flash-001", "google/gemini-flash-1.5", "google/gemini-flash-1.5-8b",