Skip to content

Commit 9032e61

Browse files
committed
feat: add gemini-2.5-pro-preview-06-05 support to OpenRouter
1 parent b5c3ac9 commit 9032e61

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/types/src/providers/openrouter.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export const OPEN_ROUTER_PROMPT_CACHING_MODELS = new Set([
4040
"anthropic/claude-sonnet-4",
4141
"anthropic/claude-opus-4",
4242
"google/gemini-2.5-pro-preview",
43+
"google/gemini-2.5-pro-preview-06-05",
44+
"google/gemini-2.5-pro-preview-06-05:thinking",
4345
"google/gemini-2.5-flash-preview",
4446
"google/gemini-2.5-flash-preview:thinking",
4547
"google/gemini-2.5-flash-preview-05-20",
@@ -65,11 +67,14 @@ export const OPEN_ROUTER_REASONING_BUDGET_MODELS = new Set([
6567
"anthropic/claude-3.7-sonnet:thinking",
6668
"anthropic/claude-opus-4",
6769
"anthropic/claude-sonnet-4",
70+
"google/gemini-2.5-pro-preview-06-05",
71+
"google/gemini-2.5-pro-preview-06-05:thinking",
6872
"google/gemini-2.5-flash-preview-05-20",
6973
"google/gemini-2.5-flash-preview-05-20:thinking",
7074
])
7175

7276
export const OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS = new Set([
7377
"anthropic/claude-3.7-sonnet:thinking",
78+
"google/gemini-2.5-pro-preview-06-05:thinking",
7479
"google/gemini-2.5-flash-preview-05-20:thinking",
7580
])

0 commit comments

Comments
 (0)