feat: add gemini-2.5-flash-preview-05-20 models (#3769)

This commit is contained in:
Shariq Riaz 2025-05-21 05:08:07 +04:00 committed by GitHub
parent 7a4ce14901
commit 5ccce3a39d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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",