Skip to content

Commit 02142b9

Browse files
committed
openrouter: add anthropic/claude-4.5-sonnet to prompt caching, computer use, and reasoning budget sets
1 parent 1c7b4a0 commit 02142b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/types/src/providers/openrouter.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export const OPEN_ROUTER_PROMPT_CACHING_MODELS = new Set([
3838
"anthropic/claude-3.7-sonnet:beta",
3939
"anthropic/claude-3.7-sonnet:thinking",
4040
"anthropic/claude-sonnet-4",
41+
"anthropic/claude-4.5-sonnet",
4142
"anthropic/claude-opus-4",
4243
"anthropic/claude-opus-4.1",
4344
"google/gemini-2.5-flash-preview",
@@ -59,6 +60,7 @@ export const OPEN_ROUTER_COMPUTER_USE_MODELS = new Set([
5960
"anthropic/claude-3.7-sonnet:beta",
6061
"anthropic/claude-3.7-sonnet:thinking",
6162
"anthropic/claude-sonnet-4",
63+
"anthropic/claude-4.5-sonnet",
6264
"anthropic/claude-opus-4",
6365
"anthropic/claude-opus-4.1",
6466
])
@@ -81,6 +83,7 @@ export const OPEN_ROUTER_REASONING_BUDGET_MODELS = new Set([
8183
"anthropic/claude-opus-4",
8284
"anthropic/claude-opus-4.1",
8385
"anthropic/claude-sonnet-4",
86+
"anthropic/claude-4.5-sonnet",
8487
"google/gemini-2.5-pro-preview",
8588
"google/gemini-2.5-pro",
8689
"google/gemini-2.5-flash-preview-05-20",

0 commit comments

Comments
 (0)