Skip to content

Commit c1ce48a

Browse files
authored
feat: add claude-opus-4.5 to OpenRouter prompt caching and reasoning budget models (#9540)
1 parent 5336246 commit c1ce48a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/types/src/providers/openrouter.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export const OPEN_ROUTER_PROMPT_CACHING_MODELS = new Set([
4242
"anthropic/claude-opus-4",
4343
"anthropic/claude-opus-4.1",
4444
"anthropic/claude-haiku-4.5",
45+
"anthropic/claude-opus-4.5",
4546
"google/gemini-2.5-flash-preview",
4647
"google/gemini-2.5-flash-preview:thinking",
4748
"google/gemini-2.5-flash-preview-05-20",
@@ -72,6 +73,7 @@ export const OPEN_ROUTER_REASONING_BUDGET_MODELS = new Set([
7273
"anthropic/claude-opus-4.1",
7374
"anthropic/claude-sonnet-4",
7475
"anthropic/claude-sonnet-4.5",
76+
"anthropic/claude-opus-4.5",
7577
"anthropic/claude-haiku-4.5",
7678
"google/gemini-2.5-pro-preview",
7779
"google/gemini-2.5-pro",

0 commit comments

Comments
 (0)