Skip to content

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

chore(pricing): update default model prices (#14623)

langfuse-bot94c9b03c22d8
diff --git a/.agents/skills/add-model-price/references/provider-sources-and-price-keys.md b/.agents/skills/add-model-price/references/provider-sources-and-price-keys.md
index 259679e225..8aa67f7be6 100644
--- a/.agents/skills/add-model-price/references/provider-sources-and-price-keys.md
+++ b/.agents/skills/add-model-price/references/provider-sources-and-price-keys.md
@@ -52,6 +52,18 @@ Always fetch pricing from the provider's official docs before editing.
10% of the base input price (e.g. Gemini 2.5 Flash: $0.30/MTok input → $0.03/MTok
cached). If a cache-read price in the file diverges from this ratio, treat it as
suspicious and verify against the official page before correcting.
+- **Anthropic flat large-context models** — The Anthropic pricing page lists models with
+ "full 1M token context window at standard pricing" in a dedicated "Long context pricing"
+ section. As of June 2026 this list includes: Claude Fable 5, Claude Mythos 5, Claude
+ Mythos Preview, Claude Opus 4.8, Opus 4.7, Opus 4.6, and Sonnet 4.6. These models must
+ NOT have a Large Context tier in the pricing file. Models not on this list (e.g. Sonnet
+ 4.5, Haiku 4.5) may retain a Large Context tier if it was previously set. The Sonnet 4.6
+ Large Context tier was found and removed during the June 2026 audit.
+- **OpenAI WebFetch permissions** — In CI or restricted harness runs the WebFetch tool may
+ be blocked by the harness permissions layer (error: "Claude requested permissions to use
+ WebFetch, but you haven't granted it yet"), not a website-level HTTP 403. If the
+ `developers.openai.com/api/docs/pricing` fetch fails for either reason, leave OpenAI
+ prices unchanged and report it as an unresolved finding.
Capture:
diff --git a/worker/src/constants/default-model-prices.json b/worker/src/constants/default-model-prices.json
index 2cb8d47e6e..9fd65a6b58 100644
--- a/worker/src/constants/default-model-prices.json
+++ b/worker/src/constants/default-model-prices.json
@@ -3295,7 +3295,7 @@
"modelName": "claude-sonnet-4-6",
"matchPattern": "(?i)^(anthropic\\/)?(claude-sonnet-4-6|(eu\\.|us\\.|apac\\.|global\\.)?anthropic\\.claude-sonnet-4-6(-v1(:0)?)?|claude-sonnet-4-6)$",
"createdAt": "2026-02-18T00:00:00.000Z",
- "updatedAt": "2026-04-13T00:00:00.000Z",
+ "updatedAt": "2026-06-29T00:00:00.000Z",
"tokenizerConfig": null,
"tokenizerId": "claude",
"pricingTiers": [
@@ -3318,33 +3318,6 @@
"input_cached_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,
- "input_cache_creation_5m": 7.5e-6,
- "input_cache_creation_1h": 12e-6,
- "cache_read_input_tokens": 6e-7,
- "input_cached_tokens": 6e-7,
- "input_cache_read": 6e-7
- }
}
]
},