Skip to content

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

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

langfuse-bot8274405ac890
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 3b8c3ceb77..5aa79950f4 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
@@ -15,9 +15,14 @@ Always fetch pricing from the provider's official docs before editing.
### Known source quirks (as of 2026-06)
-- **OpenAI** — `openai.com/api/pricing/` returns HTTP 403 to automated fetchers.
- Try https://developers.openai.com/api/docs/pricing instead as this is often permitted.
- If this page fails, leave OpenAI prices unchanged and report the 403 as an unresolved finding.
+- **OpenAI** — `openai.com/api/pricing/` returns HTTP 403 to automated fetchers. No
+ accessible alternative has been confirmed. If this page fails, leave OpenAI prices
+ unchanged and report the 403 as an unresolved finding.
+- **OpenAI matchPattern prefix** — All OpenAI model entries must include `(openai\/)?`
+ as an optional prefix in their matchPattern (e.g., `(?i)^(openai\/)?(gpt-4o)$`).
+ Entries missing this prefix will not match model IDs sent with the `openai/` prefix.
+ The `o4-mini` and `o4-mini-2025-04-16` entries were found missing this prefix in
+ June 2026 and corrected. Verify any new OpenAI entries include it.
- **Google Gemini** — The AI Studio page (`ai.google.dev/pricing`) and the Vertex AI
page (`cloud.google.com/vertex-ai/generative-ai/pricing`) can show different prices
for the same model (e.g. Gemini 2.0 Flash: AI Studio $0.10/MTok vs Vertex $0.15/MTok
diff --git a/worker/src/constants/default-model-prices.json b/worker/src/constants/default-model-prices.json
index 8d62d42200..2cb8d47e6e 100644
--- a/worker/src/constants/default-model-prices.json
+++ b/worker/src/constants/default-model-prices.json
@@ -2427,9 +2427,9 @@
{
"id": "cm7wqrs1327124dhjtb95w8f81",
"modelName": "o4-mini",
- "matchPattern": "(?i)^(o4-mini)$",
+ "matchPattern": "(?i)^(openai\/)?(o4-mini)$",
"createdAt": "2025-04-16T23:26:54.132Z",
- "updatedAt": "2025-04-16T23:26:54.132Z",
+ "updatedAt": "2026-06-27T00:00:00.000Z",
"pricingTiers": [
{
"id": "cm7wqrs1327124dhjtb95w8f81_tier_default",
@@ -2451,9 +2451,9 @@
{
"id": "cm7zqrs1327124dhjtb95w8f82",
"modelName": "o4-mini-2025-04-16",
- "matchPattern": "(?i)^(o4-mini-2025-04-16)$",
+ "matchPattern": "(?i)^(openai\/)?(o4-mini-2025-04-16)$",
"createdAt": "2025-04-16T23:26:54.132Z",
- "updatedAt": "2025-04-16T23:26:54.132Z",
+ "updatedAt": "2026-06-27T00:00:00.000Z",
"pricingTiers": [
{
"id": "cm7zqrs1327124dhjtb95w8f82_tier_default",