Skip to content

πŸͺ’ Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore(pricing): add claude-opus-5 default pricing and selectable model entry (#15437)

langfuse-bot190c4cac843c
diff --git a/.agents/skills/add-model-price/references/model-audit-memory.md b/.agents/skills/add-model-price/references/model-audit-memory.md
index c6d1b85385..de9319ac79 100644
--- a/.agents/skills/add-model-price/references/model-audit-memory.md
+++ b/.agents/skills/add-model-price/references/model-audit-memory.md
@@ -8,11 +8,11 @@ a change or reporting a row as confirmed.
The audit agent may replace the snapshot below with its complete current table.
Keep only one snapshot, never append an unbounded run history, never persist a
partial set of checked models, and do not update this file only to refresh the
-date.
+audit date.
## Latest useful snapshot
-**Audit date:** 2026-07-23
+**Audit date:** 2026-07-25
All prices listed as `$X / MTok` (per million tokens). Per-token JSON values: divide by 1,000,000.
@@ -20,12 +20,13 @@ All prices listed as `$X / MTok` (per million tokens). Per-token JSON values: di
| -------- | --------------------- | --------------- | --------------- | --------------- | --------------- | ------ | ------------------ | -------- |
| Anthropic | claude-fable-5 | Input $10/MTok (10e-6), Output $50/MTok (50e-6), 5m cache write $12.5/MTok (12.5e-6), 1h cache write $20/MTok (20e-6), cache read $1/MTok (1e-6) | Yes | Flat 1M context at standard pricing β€” no large-context tier | Yes | None | https://platform.claude.com/docs/en/about-claude/pricing | Confirmed. In flat long-context list. |
| Anthropic | claude-mythos-5 | Input $10/MTok (10e-6), Output $50/MTok (50e-6), 5m $12.5/MTok, 1h $20/MTok, read $1/MTok | Yes | Flat 1M context β€” no large-context tier | Yes | None | https://platform.claude.com/docs/en/about-claude/pricing | Limited availability (Project Glasswing). Same prices as Fable 5. |
+| Anthropic | claude-opus-5 | Input $5/MTok (5e-6), Output $25/MTok (25e-6), 5m $6.25/MTok (6.25e-6), 1h $10/MTok (10e-6), read $0.50/MTok (0.5e-6) | Yes | Flat 1M context at standard pricing β€” no large-context tier | Yes | Added | https://platform.claude.com/docs/en/about-claude/pricing https://platform.claude.com/docs/en/about-claude/models/overview | New model confirmed on pricing page and models page July 25 2026. API ID: `claude-opus-5`. Bedrock ID: `anthropic.claude-opus-5`. Google Cloud ID: `claude-opus-5`. Fast mode available ($10/$50 MTok, shared pricing with Opus 4.8). Added to pricing file and anthropicModels in types.ts. |
| Anthropic | claude-opus-4-8 | Input $5/MTok (5e-6), Output $25/MTok (25e-6), 5m $6.25/MTok (6.25e-6), 1h $10/MTok (10e-6), read $0.50/MTok (0.5e-6) | Yes | Flat 1M context β€” no large-context tier | Yes | None | https://platform.claude.com/docs/en/about-claude/pricing | Fast mode at $10/$50 per input/output MTok (additional SKU). |
-| Anthropic | claude-opus-4-7 | Input $5/MTok (5e-6), Output $25/MTok (25e-6), 5m $6.25/MTok, 1h $10/MTok, read $0.50/MTok | Yes | Flat 1M context β€” no large-context tier | Yes | None | https://platform.claude.com/docs/en/about-claude/pricing | Fast mode deprecated July 24 2026 per official page. |
+| Anthropic | claude-opus-4-7 | Input $5/MTok (5e-6), Output $25/MTok (25e-6), 5m $6.25/MTok, 1h $10/MTok, read $0.50/MTok | Yes | Flat 1M context β€” no large-context tier | Yes | None | https://platform.claude.com/docs/en/about-claude/pricing | Confirmed. |
| Anthropic | claude-opus-4-6 | Input $5/MTok (5e-6), Output $25/MTok (25e-6), 5m $6.25/MTok, 1h $10/MTok, read $0.50/MTok | Yes | Flat 1M context β€” no large-context tier | Yes | None | https://platform.claude.com/docs/en/about-claude/pricing | `inference_geo: "us"` adds 1.1Γ— multiplier for this and later models. |
-| Anthropic | claude-opus-4-5-20251101 | Input $5/MTok (5e-6), Output $25/MTok (25e-6), 5m $6.25/MTok, 1h $10/MTok, read $0.50/MTok | Yes | NOT on flat long-context list; no explicit large-context tier pricing published | Not applicable | None | https://platform.claude.com/docs/en/about-claude/pricing | "Claude Opus 4.5" is now listed on the official pricing page (confirmed July 2026). matchPattern covers both claude-opus-4-5 and claude-opus-4-5-20251101. Not on flat long-context list (flat list: Fable 5, Mythos 5, Mythos Preview, Opus 4.8/4.7/4.6, Sonnet 5, Sonnet 4.6). |
-| Anthropic | claude-opus-4-1-20250805 | Input $15/MTok (15e-6), Output $75/MTok (75e-6), 5m $18.75/MTok, 1h $30/MTok, read $1.50/MTok | Yes | Deprecated model β€” no tiering | Not applicable | None | https://platform.claude.com/docs/en/about-claude/pricing | Deprecated. Retained for backward pricing compatibility. |
-| Anthropic | claude-opus-4-20250514 | Input $15/MTok (15e-6), Output $75/MTok (75e-6), 5m $18.75/MTok, 1h $30/MTok, read $1.50/MTok | Yes | Retired model | Not applicable | None | https://platform.claude.com/docs/en/about-claude/pricing | Retired except on Google Cloud. |
+| Anthropic | claude-opus-4-5-20251101 | Input $5/MTok (5e-6), Output $25/MTok (25e-6), 5m $6.25/MTok, 1h $10/MTok, read $0.50/MTok | Yes | NOT on flat long-context list; no explicit large-context tier pricing published | Not applicable | None | https://platform.claude.com/docs/en/about-claude/pricing | "Claude Opus 4.5" is listed on the official pricing page (confirmed July 2026). matchPattern covers both claude-opus-4-5 and claude-opus-4-5-20251101. Not on flat long-context list. |
+| Anthropic | claude-opus-4-1-20250805 | Input $15/MTok (15e-6), Output $75/MTok (75e-6), 5m $18.75/MTok, 1h $30/MTok, read $1.50/MTok | Yes | Deprecated model β€” no tiering | Not applicable | None | https://platform.claude.com/docs/en/about-claude/pricing | Deprecated. Retires August 5, 2026. Retained for backward pricing compatibility. |
+| Anthropic | claude-opus-4-20250514 | Input $15/MTok (15e-6), Output $75/MTok (75e-6), 5m $18.75/MTok, 1h $30/MTok, read $1.50/MTok | No | Retired model | Not applicable | None | https://platform.claude.com/docs/en/about-claude/pricing | Retired except on Google Cloud. Not on current pricing page. |
| Anthropic | claude-sonnet-5 | Input $2/MTok (2e-6), Output $10/MTok (10e-6), 5m $2.50/MTok, 1h $4/MTok, read $0.20/MTok | Yes | Flat 1M context; introductory pricing through August 31 2026 | Yes | None | https://platform.claude.com/docs/en/about-claude/pricing | Introductory pricing confirmed through Aug 31 2026. Standard from Sep 1 2026: $3/$15, cache $3.75/$6/$0.30. File must be updated after Aug 31 2026. |
| Anthropic | claude-sonnet-4-6 | Input $3/MTok (3e-6), Output $15/MTok (15e-6), 5m $3.75/MTok, 1h $6/MTok, read $0.30/MTok | Yes | Flat 1M context β€” no large-context tier | Yes | None | https://platform.claude.com/docs/en/about-claude/pricing | Confirmed. |
| Anthropic | claude-sonnet-4-5-20250929 | Input $3/MTok (3e-6), Output $15/MTok (15e-6), 5m $3.75/MTok, 1h $6/MTok, read $0.30/MTok | Yes | Large Context >200K: 2Γ— input / 1.5Γ— output β€” tier in file, not explicitly published by Anthropic | No | None | https://platform.claude.com/docs/en/about-claude/pricing | Sonnet 4.5 NOT on flat list. Anthropic page does not publish per-tier pricing for this model. The Large Context tier was set when model was first added. Unresolved. |
@@ -48,12 +49,12 @@ All prices listed as `$X / MTok` (per million tokens). Per-token JSON values: di
| OpenAI | gpt-5.4-pro | Input $30/MTok (30e-6), Output $180/MTok (180e-6); no cache | Yes | No tiering | Not applicable | None | https://developers.openai.com/api/docs/pricing | Reasoning model; no cached input pricing. |
| OpenAI | gpt-5.4-mini | Input $0.75/MTok (0.75e-6), Cached $0.075/MTok (0.075e-6), Output $4.50/MTok (4.5e-6) | Yes | No tiering | Not applicable | None | https://developers.openai.com/api/docs/pricing | Non-reasoning model. Confirmed. |
| OpenAI | gpt-5.4-nano | Input $0.20/MTok (0.2e-6), Cached $0.02/MTok (0.02e-6), Output $1.25/MTok (1.25e-6) | Yes | No tiering | Not applicable | None | https://developers.openai.com/api/docs/pricing | Non-reasoning model. Confirmed. |
-| OpenAI | gpt-5-chat-latest | Input $1.25/MTok (1.25e-6), Cached $0.125/MTok (1.25e-7), Output $10/MTok (10e-6) | Yes | No provider tiering | Not applicable | None | https://developers.openai.com/api/docs/models/gpt-5-chat-latest | Confirmed via specific model page in July 2026 audit. |
+| OpenAI | gpt-5-chat-latest | Input $1.25/MTok (1.25e-6), Cached $0.125/MTok (1.25e-7), Output $10/MTok (10e-6) | No | No provider tiering | Not applicable | None | https://developers.openai.com/api/docs/pricing | Prices match the file. Not re-verified directly this run (OpenAI page summary didn't list it explicitly). Retained from July 23 audit. |
| Google | gemini-2.5-flash | Input $0.30/MTok (3e-7), Audio $1/MTok (1e-6), Output $2.50/MTok (2.5e-6), Cache read $0.03/MTok (3e-8) | Yes | No large-context tier; single tier confirmed | Yes | None | https://ai.google.dev/pricing | Cache read = 10% of standard input. Confirmed. |
| Google | gemini-2.5-flash-lite | Input $0.10/MTok (1e-7), Audio $0.30/MTok (3e-7), Output $0.40/MTok (4e-7), Cache read $0.01/MTok (1e-8) | Yes | No large-context tier | Yes | None | https://ai.google.dev/pricing | Cache read = 10% of input. Confirmed. |
| Google | gemini-2.5-pro | Input $1.25/MTok (1.25e-6) ≀200K, $2.50/MTok >200K; Output $10/MTok ≀200K, $15/MTok >200K; Cache read $0.125/MTok ≀200K | Yes | Large Context (>200K) confirmed | Yes | None | https://ai.google.dev/pricing | Two tiers confirmed. Cache = 10% of input at each tier. |
| Google | gemini-3.5-flash | Input $1.50/MTok (1.5e-6), Output $9.00/MTok (9e-6), Cache read $0.15/MTok (1.5e-7) | Yes | No large-context tier | Yes | None | https://ai.google.dev/pricing | Cache = 10% of input. Confirmed. |
-| Google | gemini-3.1-flash-lite | Input $0.25/MTok (2.5e-7), Audio $0.50/MTok (5e-7), Output $1.50/MTok (1.5e-6), Cache read $0.025/MTok (2.5e-8) | Yes | No large-context tier | Yes | None | https://ai.google.dev/pricing | Cache = 10% of text input. Confirmed on AI Studio page. |
+| Google | gemini-3.1-flash-lite | Input $0.25/MTok (2.5e-7), Audio $0.50/MTok (5e-7), Output $1.50/MTok (1.5e-6), Cache read $0.025/MTok (2.5e-8) | Yes | No large-context tier | Yes | None | https://ai.google.dev/pricing | Cache = 10% of text input. Confirmed on AI Studio page (July 23 audit). A July 25 summary artifact suggested "no caching" but the July 23 explicit page fetch confirmed caching. Do not remove cache pricing based on a summary artifact alone. |
| Google | gemini-3.1-flash-lite-preview | Input $0.25/MTok, Output $1.50/MTok (same as GA) | No | No large-context tier | Not applicable | None | https://ai.google.dev/pricing | Preview variant; same prices as GA version in file; not separately listed on official page. |
| Google | gemini-3.1-pro-preview | Input $2/MTok (2e-6) ≀200K, $4/MTok >200K; Output $12/MTok ≀200K, $18/MTok >200K | Yes | Large Context (>200K) confirmed | Yes | None | https://ai.google.dev/pricing | Two tiers confirmed on AI Studio page. |
| Google | gemini-3-flash-preview | Input $0.50/MTok (5e-7), Audio $1/MTok (1e-6), Output $3/MTok (3e-6), Cache read $0.05/MTok (5e-8) | Yes | No large-context tier | Yes | None | https://ai.google.dev/pricing | Confirmed on AI Studio page. |
@@ -61,9 +62,9 @@ All prices listed as `$X / MTok` (per million tokens). Per-token JSON values: di
| Google | gemini-2.0-flash | Input $0.10/MTok (1e-7), Output $0.40/MTok (4e-7) | No | Deprecated (shut down June 1, 2026) | Not applicable | None | https://ai.google.dev/pricing | Officially shut down June 1 2026. Existing prices retained for backward compatibility. |
| Google | gemini-2.0-flash-001 | Same as gemini-2.0-flash | No | Deprecated (shut down June 1, 2026) | Not applicable | None | https://ai.google.dev/pricing | Officially shut down. Existing prices retained for backward compatibility. |
| Google | gemini-3.6-flash | Input $1.50/MTok (1.5e-6), Output $7.50/MTok (7.5e-6), Cache read $0.15/MTok (1.5e-7) | Yes | No large-context tier on official page | Yes | None | https://ai.google.dev/pricing | Confirmed on official AI Studio pricing page. Output ($7.50) is lower than gemini-3.5-flash ($9.00) β€” correct per official page. |
-| Google | gemini-3.5-flash-lite | Input $0.30/MTok (3e-7), Output $2.50/MTok (2.5e-6) | Yes | No large-context tier | Yes | Updated | https://ai.google.dev/pricing | Context caching is "Not available" per official page (all tiers: Standard, Batch, Flex, Priority). Cache keys removed from pricing entry on 2026-07-23. Do NOT add cache pricing for this model without explicit official evidence. |
+| Google | gemini-3.5-flash-lite | Input $0.30/MTok (3e-7), Output $2.50/MTok (2.5e-6) | Yes | No large-context tier | Yes | None | https://ai.google.dev/pricing | Context caching is "Not available" per official page (all tiers: Standard, Batch, Flex, Priority). Cache keys absent from pricing entry. Do NOT add cache pricing for this model without explicit official evidence. |
-## Unresolved findings (updated 2026-07-23)
+## Unresolved findings (updated 2026-07-25)
1. **gpt-5.3-codex** β€” Confirmed in OpenAI models list, described as "most agentic coding model". Not in selectable models or pricing file. Not adding without explicit official pricing page confirmation.
@@ -72,3 +73,5 @@ All prices listed as `$X / MTok` (per million tokens). Per-token JSON values: di
3. **claude-sonnet-4-5-20250929 Large Context tier** β€” The file has a Large Context (>200K) tier for this model. The official Anthropic page does not explicitly publish per-tier pricing for this model separately. Future audits should verify.
4. **claude-sonnet-5 introductory pricing** β€” Introductory pricing ($2/$10/MTok) expires August 31, 2026. Standard pricing ($3/$15/MTok, cache $3.75/$6/$0.30) takes effect September 1, 2026. The pricing file must be updated before or on September 1, 2026.
+
+5. **claude-opus-4-1-20250805 retirement** β€” Deprecated and retiring August 5, 2026. File entry retained for backward pricing compatibility. No action required; the entry stays so historical traces can still be priced.
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 9e9f078741..d6d30632ab 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
@@ -103,6 +103,7 @@ Always fetch pricing from the provider's official docs before editing.
removed on July 23 2026 after official confirmation. Do NOT add cache pricing for this model
unless the official page explicitly adds it. Follows the same selectable-model pattern as
gemini-3.1-flash-lite.
+- **Claude Opus 5 (added July 2026)** β€” `claude-opus-5` appeared on the official Anthropic pricing and models pages in July 2026. API ID: `claude-opus-5` (no date suffix, pinned snapshot). Bedrock ID: `anthropic.claude-opus-5`. Google Cloud ID: `claude-opus-5`. Pricing: $5/$25 MTok input/output, 5m cache $6.25/MTok, 1h cache $10/MTok, cache read $0.50/MTok β€” same as Opus 4.8/4.7/4.6. The model is in the flat long-context list (1M token context at standard pricing; no Large Context tier). Fast mode is available at $10/$50 MTok (shared price point with Opus 4.8). Added to pricing file and `anthropicModels` in the July 25 2026 audit. matchPattern: `(?i)^((anthropic\/)?claude-opus-5|(eu\.|us\.|apac\.|global\.)?anthropic\.claude-opus-5(-v1(:0)?)?)$`.
- **gpt-5-chat-latest confirmed pricing** β€” This alias has confirmed pricing at $1.25/MTok
input, $0.125/MTok cached input, $10.00/MTok output, verified via its specific model page
`https://developers.openai.com/api/docs/models/gpt-5-chat-latest` (July 2026 audit).
diff --git a/packages/shared/src/server/llm/types.ts b/packages/shared/src/server/llm/types.ts
index c097e4eddf..0c0d64273f 100644
--- a/packages/shared/src/server/llm/types.ts
+++ b/packages/shared/src/server/llm/types.ts
@@ -383,6 +383,7 @@ export const anthropicModels = [
"claude-sonnet-5",
"claude-fable-5",
"claude-mythos-5",
+ "claude-opus-5",
"claude-haiku-4-5-20251001",
"claude-opus-4-8",
"claude-opus-4-7",
diff --git a/worker/src/constants/default-model-prices.json b/worker/src/constants/default-model-prices.json
index 9cf9ede5b3..56e3828d4b 100644
--- a/worker/src/constants/default-model-prices.json
+++ b/worker/src/constants/default-model-prices.json
@@ -3509,6 +3509,37 @@
}
]
},
+ {
+ "id": "a5b2c3d4-e5f6-4789-8abc-def012345678",
+ "modelName": "claude-opus-5",
+ "matchPattern": "(?i)^((anthropic\\/)?claude-opus-5|(eu\\.|us\\.|apac\\.|global\\.)?anthropic\\.claude-opus-5(-v1(:0)?)?)$",
+ "createdAt": "2026-07-25T00:00:00.000Z",
+ "updatedAt": "2026-07-25T00:00:00.000Z",
+ "tokenizerConfig": null,
+ "tokenizerId": "claude",
+ "pricingTiers": [
+ {
+ "id": "a5b2c3d4-e5f6-4789-8abc-def012345678_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",