Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

feat(model-prices): add claude-opus-4-7 (#13214)

Hassieb Pakzad571005d2f36f
diff --git a/packages/shared/src/server/llm/types.ts b/packages/shared/src/server/llm/types.ts
index 7c7a223590..e95cdf7fda 100644
--- a/packages/shared/src/server/llm/types.ts
+++ b/packages/shared/src/server/llm/types.ts
@@ -433,6 +433,7 @@ export type OpenAIModel = (typeof openAIModels)[number];
export const anthropicModels = [
"claude-sonnet-4-5-20250929",
"claude-haiku-4-5-20251001",
+ "claude-opus-4-7",
"claude-sonnet-4-6",
"claude-opus-4-6",
"claude-opus-4-5-20251101",
diff --git a/worker/src/constants/default-model-prices.json b/worker/src/constants/default-model-prices.json
index 3c8448d483..713740c52d 100644
--- a/worker/src/constants/default-model-prices.json
+++ b/worker/src/constants/default-model-prices.json
@@ -3379,6 +3379,37 @@
}
]
},
+ {
+ "id": "d506b291-cc9c-4833-9014-0f387a8e1cc8",
+ "modelName": "claude-opus-4-7",
+ "matchPattern": "(?i)^(anthropic\/)?(claude-opus-4-7|(eu\\.|us\\.|apac\\.|global\\.)?anthropic\\.claude-opus-4-7-v1(:0)?|claude-opus-4-7)$",
+ "createdAt": "2026-04-16T00:00:00.000Z",
+ "updatedAt": "2026-04-16T00:00:00.000Z",
+ "tokenizerConfig": null,
+ "tokenizerId": "claude",
+ "pricingTiers": [
+ {
+ "id": "d506b291-cc9c-4833-9014-0f387a8e1cc8_tier_default",
+ "name": "Standard",
+ "isDefault": true,
+ "priority": 0,
+ "conditions": [],
+ "prices": {
+ "input": 5e-6,
+ "input_tokens": 5e-6,
+ "output": 25e-6,
+ "output_tokens": 25e-6,
+ "cache_creation_input_tokens": 6.25e-6,
+ "input_cache_creation": 6.25e-6,
+ "input_cache_creation_5m": 6.25e-6,
+ "input_cache_creation_1h": 10e-6,
+ "cache_read_input_tokens": 0.5e-6,
+ "input_cached_tokens": 0.5e-6,
+ "input_cache_read": 0.5e-6
+ }
+ }
+ ]
+ },
{
"id": "cmig1hb7i000104l72qrzgc6h",
"modelName": "gemini-2.5-pro",