Skip to content

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

chore(pricing): remove invalid cache pricing from gemini-3.5-flash-lite (#15340)

langfuse-botfa6ac34eb454
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 b5972d9b6f..c6d1b85385 100644
--- a/.agents/skills/add-model-price/references/model-audit-memory.md
+++ b/.agents/skills/add-model-price/references/model-audit-memory.md
@@ -12,7 +12,7 @@ date.
## Latest useful snapshot
-**Audit date:** 2026-07-22
+**Audit date:** 2026-07-23
All prices listed as `$X / MTok` (per million tokens). Per-token JSON values: divide by 1,000,000.
@@ -20,15 +20,15 @@ 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-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 available at $10/$50 per input/output MTok (additional SKU, not in pricing file). |
+| 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-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 list; no explicit Large Context pricing published | Not applicable | None | https://platform.claude.com/docs/en/about-claude/pricing | Listed as "Claude Opus 4.5" on pricing page. Not on flat long-context list. No large-context tier in file β€” consistent with no published tier pricing. |
+| 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-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. |
+| 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. |
| Anthropic | claude-sonnet-4-20250514 | Input $3/MTok (3e-6), Output $15/MTok (15e-6), 5m $3.75/MTok, 1h $6/MTok, read $0.30/MTok | Yes | Retired model | Not applicable | None | https://platform.claude.com/docs/en/about-claude/pricing | Retired except on Bedrock and Google Cloud. |
| Anthropic | claude-haiku-4-5-20251001 | Input $1/MTok (1e-6), Output $5/MTok (5e-6), 5m $1.25/MTok (1.25e-6), 1h $2/MTok (2e-6), read $0.10/MTok (1e-7) | Yes | No large-context tier | Not applicable | None | https://platform.claude.com/docs/en/about-claude/pricing | Confirmed. Haiku 4.5 NOT on flat long-context list. |
| Anthropic | claude-3-5-haiku-20241022 | Input $0.80/MTok (8e-7), Output $4/MTok (4e-6), 5m $1/MTok, 1h $1.60/MTok, read $0.08/MTok | Yes | Retired model | Not applicable | None | https://platform.claude.com/docs/en/about-claude/pricing | Retired except on Bedrock and Google Cloud. |
@@ -41,8 +41,8 @@ All prices listed as `$X / MTok` (per million tokens). Per-token JSON values: di
| OpenAI | gpt-5.6-sol | Input $5/MTok (5e-6), Cached $0.50/MTok (0.5e-6), Output $30/MTok (30e-6) | Yes | Large Context (>272K): input $10/MTok, cached $1/MTok, output $45/MTok | Yes | None | https://developers.openai.com/api/docs/pricing | Reasoning model. 272K threshold unique to gpt-5.6 family. |
| OpenAI | gpt-5.6-terra | Input $2.50/MTok (2.5e-6), Cached $0.25/MTok (0.25e-6), Output $15/MTok (15e-6) | Yes | Large Context (>272K): input $5/MTok, cached $0.50/MTok, output $22.50/MTok | Yes | None | https://developers.openai.com/api/docs/pricing | Reasoning model. |
| OpenAI | gpt-5.6-luna | Input $1/MTok (1e-6), Cached $0.10/MTok (0.1e-6), Output $6/MTok (6e-6) | Yes | Large Context (>272K): input $2/MTok, cached $0.20/MTok, output $9/MTok | Yes | None | https://developers.openai.com/api/docs/pricing | Reasoning model. |
-| OpenAI | gpt-5.5-2026-04-23 (also matches gpt-5.5) | Input $5/MTok (5e-6), Cached $0.50/MTok (0.5e-6), Output $30/MTok (30e-6) | Yes | No large-context tier in file; large context mentioned by OpenAI but threshold not confirmed | No | None | https://developers.openai.com/api/docs/pricing | Reasoning model. Large-context threshold unresolved β€” see unresolved findings. |
-| OpenAI | gpt-5.5-pro-2026-04-23 (also matches gpt-5.5-pro) | Input $30/MTok (30e-6), Output $180/MTok (180e-6); no cache | Yes | No tiering in file | Not applicable | None | https://developers.openai.com/api/docs/pricing | Reasoning model; no cached input pricing. |
+| OpenAI | gpt-5.5-2026-04-23 (also matches gpt-5.5) | Input $5/MTok (5e-6), Cached $0.50/MTok (0.5e-6), Output $30/MTok (30e-6) | Yes | No large-context tier in file; large context mentioned by OpenAI but threshold not confirmed | No | None | https://developers.openai.com/api/docs/pricing | Reasoning model. matchPattern covers plain gpt-5.5 (dated suffix is optional). Large-context threshold unresolved. |
+| OpenAI | gpt-5.5-pro-2026-04-23 (also matches gpt-5.5-pro) | Input $30/MTok (30e-6), Output $180/MTok (180e-6); no cache | Yes | No tiering in file | Not applicable | None | https://developers.openai.com/api/docs/pricing | Reasoning model; no cached input pricing. matchPattern covers plain gpt-5.5-pro. |
| OpenAI | gpt-5.4 | Input $2.50/MTok (2.5e-6), Cached $0.25/MTok (0.25e-6), Output $15/MTok (15e-6) | Yes | No large-context tier confirmed | No | None | https://developers.openai.com/api/docs/pricing | Reasoning model. Large-context threshold unresolved. |
| OpenAI | gpt-5.4-2026-03-05 | Input $2.50/MTok, Cached $0.25/MTok, Output $15/MTok | Yes | No tiering | Not applicable | None | https://developers.openai.com/api/docs/pricing | Dated snapshot for gpt-5.4. |
| 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. |
@@ -58,12 +58,12 @@ All prices listed as `$X / MTok` (per million tokens). Per-token JSON values: di
| 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. |
| Google | gemini-3-pro-preview | Input $2/MTok (2e-6) ≀200K, $4/MTok >200K; Output $12/MTok ≀200K, $18/MTok >200K | No | Large Context (>200K) set in file | Not applicable | None | https://ai.google.dev/pricing | Not listed on current AI Studio pricing page. Existing prices retained. |
-| Google | gemini-2.0-flash | Input $0.10/MTok (1e-7), Output $0.40/MTok (4e-7) | No | Deprecated | Not applicable | None | https://ai.google.dev/pricing | Listed as deprecated on official page. Existing prices retained (audio price $0.70/MTok not tracked). |
-| Google | gemini-2.0-flash-001 | Same as gemini-2.0-flash | No | Deprecated | Not applicable | None | https://ai.google.dev/pricing | Listed as deprecated. Existing prices retained. |
-| 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 | Added | https://ai.google.dev/pricing | New model confirmed on official AI Studio pricing page July 2026. Added to pricing file and selectable models. Output ($7.50) is lower than gemini-3.5-flash ($9.00) β€” this is correct. |
-| Google | gemini-3.5-flash-lite | Input $0.30/MTok (3e-7), Output $2.50/MTok (2.5e-6), Cache read $0.03/MTok (3e-8) | Yes | No large-context tier | Yes | Added | https://ai.google.dev/pricing | New model confirmed on official AI Studio pricing page July 2026. Added to pricing file and selectable models. Cache = 10% of input. |
+| 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. |
-## Unresolved findings (updated 2026-07-22)
+## Unresolved findings (updated 2026-07-23)
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.
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 0ceb863b5c..9e9f078741 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
@@ -96,9 +96,13 @@ Always fetch pricing from the provider's official docs before editing.
version number, output price ($7.50) is lower than gemini-3.5-flash ($9.00); this is correct
per the official page (improved efficiency at same input price).
- **Gemini 3.5 Flash-Lite (added July 2026)** β€” `gemini-3.5-flash-lite` appeared on the official
- AI Studio pricing page in July 2026 at $0.30/MTok input, $2.50/MTok output, cache read
- $0.03/MTok (10% cache-read ratio). No large-context tier. Added to pricing file and selectable
- model lists in the July 22 2026 audit. Follows the same pattern as gemini-3.1-flash-lite.
+ AI Studio pricing page in July 2026 at $0.30/MTok input, $2.50/MTok output. No large-context
+ tier. **Context caching is NOT available** for this model (explicitly listed as "Not available"
+ on the official AI Studio pricing page for all tiers β€” Standard, Batch, Flex, Priority).
+ The entry was initially added on July 22 2026 with cache pricing; the cache keys were
+ 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.
- **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/worker/src/constants/default-model-prices.json b/worker/src/constants/default-model-prices.json
index 47f23174af..9cf9ede5b3 100644
--- a/worker/src/constants/default-model-prices.json
+++ b/worker/src/constants/default-model-prices.json
@@ -4503,7 +4503,7 @@
"modelName": "gemini-3.5-flash-lite",
"matchPattern": "(?i)^(google(ai)?\/)?(gemini-3.5-flash-lite)$",
"createdAt": "2026-07-22T00:00:00.000Z",
- "updatedAt": "2026-07-22T00:00:00.000Z",
+ "updatedAt": "2026-07-23T00:00:00.000Z",
"pricingTiers": [
{
"id": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e_tier_default",
@@ -4517,8 +4517,6 @@
"input_modality_1": 0.3e-6,
"prompt_token_count": 0.3e-6,
"promptTokenCount": 0.3e-6,
- "input_cached_tokens": 0.03e-6,
- "cached_content_token_count": 0.03e-6,
"output": 2.5e-6,
"output_text": 2.5e-6,
"output_modality_1": 2.5e-6,