Skip to content

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

feat: add Claude Sonnet 4.6 model pricing (#12080)

Hassieb Pakzad4fbd3f8d0757
diff --git a/packages/shared/src/server/llm/types.ts b/packages/shared/src/server/llm/types.ts
index 868a47017a..917259a634 100644
--- a/packages/shared/src/server/llm/types.ts
+++ b/packages/shared/src/server/llm/types.ts
@@ -413,6 +413,7 @@ export type OpenAIModel = (typeof openAIModels)[number];
export const anthropicModels = [
"claude-sonnet-4-5-20250929",
"claude-haiku-4-5-20251001",
+ "claude-sonnet-4-6",
"claude-opus-4-6",
"claude-opus-4-5-20251101",
"claude-sonnet-4-20250514",
diff --git a/worker/src/constants/default-model-prices.json b/worker/src/constants/default-model-prices.json
index 8deff2aaa0..302e0e3192 100644
--- a/worker/src/constants/default-model-prices.json
+++ b/worker/src/constants/default-model-prices.json
@@ -3238,6 +3238,58 @@
}
]
},
+ {
+ "id": "90ec5ec3-1a48-4ff0-919c-70cdb8f632ed",
+ "modelName": "claude-sonnet-4-6",
+ "matchPattern": "(?i)^(anthropic\\/)?(claude-sonnet-4-6|(eu\\.|us\\.|apac\\.)?anthropic\\.claude-sonnet-4-6-v1(:0)?|claude-sonnet-4-6)$",
+ "createdAt": "2026-02-18T00:00:00.000Z",
+ "updatedAt": "2026-02-18T00:00:00.000Z",
+ "tokenizerConfig": null,
+ "tokenizerId": "claude",
+ "pricingTiers": [
+ {
+ "id": "90ec5ec3-1a48-4ff0-919c-70cdb8f632ed_tier_default",
+ "name": "Standard",
+ "isDefault": true,
+ "priority": 0,
+ "conditions": [],
+ "prices": {
+ "input": 3e-6,
+ "input_tokens": 3e-6,
+ "output": 15e-6,
+ "output_tokens": 15e-6,
+ "cache_creation_input_tokens": 3.75e-6,
+ "input_cache_creation": 3.75e-6,
+ "cache_read_input_tokens": 3e-7,
+ "input_cache_read": 3e-7
+ }
+ },
+ {
+ "id": "7830bfc2-c464-4ffe-b9a2-6e741f6c5486",
+ "name": "Large Context",
+ "isDefault": false,
+ "priority": 1,
+ "conditions": [
+ {
+ "usageDetailPattern": "input",
+ "operator": "gt",
+ "value": 200000,
+ "caseSensitive": false
+ }
+ ],
+ "prices": {
+ "input": 6e-6,
+ "input_tokens": 6e-6,
+ "output": 22.5e-6,
+ "output_tokens": 22.5e-6,
+ "cache_creation_input_tokens": 7.5e-6,
+ "input_cache_creation": 7.5e-6,
+ "cache_read_input_tokens": 6e-7,
+ "input_cache_read": 6e-7
+ }
+ }
+ ]
+ },
{
"id": "13458bc0-1c20-44c2-8753-172f54b67647",
"modelName": "claude-opus-4-6",