{"schema_version":"1.0","slug":"llm-cache-pricing-2026","title":"LLM Cache Pricing 2026: The Real Cost of Cached Input","description":"LLM cache pricing 2026 normalized across six providers: effective input cost at real hit rates, hidden write fees, and which vendors publish nothing at all.","data_updated":"2026-10-19","source_post":"https://www.jsonhouse.com/posts/llm-cache-pricing-2026/","category":"ai-data-statistics","cluster":"CLUSTER_LLM","format":"D","attribution":{"source":"Json House","source_url":"https://www.jsonhouse.com/posts/llm-cache-pricing-2026/","dataset_url":"https://www.jsonhouse.com/data/llm-cache-pricing-2026.json","citation":"Json House, \"LLM Cache Pricing 2026: The Real Cost of Cached Input\", jsonhouse.com (2026-10-19)","attribution_required":true,"terms_url":"https://www.jsonhouse.com/data-policy/"},"key_facts":[{"fact":"Anthropic runs three cache-read multipliers as of 2026-09-28 where it ran one before 2026-09-07: 0.025x base input on Claude Fable 5.1 and Mythos 5.1 (97.5% off), 0.05x on Claude Opus 5.5 and, from 2026-10-14, Claude Sonnet 5.5 (95%), and 0.1x on the rest of its line (90%); DeepSeek reached 98% on deepseek-flash on 2026-09-14; OpenAI left a flat 0.1x on 2026-10-05 with GPT-6.1-sol at 0.05x and Google on 2026-10-14 with Gemini 4 Argon at 0.05x, so none of the three original 0.1x vendors is flat across its line; Mistral sits at a flat 90% and xAI at 75-85%","source":"Official pricing pages of six providers, retrieved 2026-10-14","category":"data"},{"fact":"Effective input price is base x (1 - h) + cache_read x h, where h is the share of input tokens served from cache","source":"jsonhouse original methodology, 2026-07-28","category":"definition"},{"fact":"The Gemini 2.5 Flash-Lite / DeepSeek crossover has moved three times in six weeks — 84.7% before 2026-08-17, 97.6% after that price rise, and 87.7% once deepseek-flash replaced v4-flash on 2026-09-14 — putting it back inside the hit-rate range where long-running agents operate","source":"jsonhouse calculation from official pricing pages, 2026-08-17","category":"data"},{"fact":"OpenAI introduced a 1.25x cache-write charge with the GPT-5.6 family, and GPT-6.1-sol carries it too ($2.50 against a $2.00 base); models before GPT-5.6 had no write fee","source":"OpenAI prompt caching guide, retrieved 2026-07-28; OpenAI API pricing page, retrieved 2026-10-05","category":"policy"},{"fact":"GPT-6.1-sol, first observed 2026-10-05, carries GPT-6-sol's $2.00 base input with the cache read halved from $0.20 to $0.10; the two cost the same at a 0% hit rate and GPT-6.1-sol is cheaper at every higher rate, reaching $0.1950 per 1M effective input tokens at 95% against $0.2900 — a reduction a list-price comparison does not show","source":"jsonhouse calculation from OpenAI API pricing page, retrieved 2026-10-05","category":"data"},{"fact":"Anthropic charges 1.25x base input for a 5-minute cache write and 2x for a 1-hour write, has no storage fee, and sets a minimum cacheable prompt length of 512 tokens on Opus 5 and Fable 5 rising to 4,096 on Opus 4.5, Opus 4.6, and Haiku 4.5 — below which requests are processed uncached and without an error","source":"Anthropic pricing page and prompt caching documentation, retrieved 2026-07-28","category":"policy"},{"fact":"Google charges no cache write fee but bills storage at $1.00 per 1M cached tokens per hour, rising to $4.50 on Gemini 2.5 Pro and 3.1 Pro Preview","source":"Google Gemini API pricing, retrieved 2026-07-28","category":"policy"},{"fact":"Four of the six providers publish no cache TTL; Mistral's per-model cached-input price, first recorded by this series on 2026-10-14, is 0.1x base input on every model, but Mistral still publishes no cache write price, storage fee or TTL","source":"jsonhouse normalization of six official documentation sets, 2026-07-28; Mistral API pricing page, retrieved 2026-10-14","category":"data"},{"fact":"OpenAI's documentation does not state whether a cache write is billed on a prompt that is never reused; it says an eligible prefix 'may' be cached, and offers prompt_cache_options.mode set to explicit as an opt-out","source":"OpenAI prompt caching guide, retrieved 2026-07-28","category":"policy"},{"fact":"Eighteen model pairs cross inside the 0-100% hit-rate range on 2026-10-14, up from eleven on 2026-10-05; the lowest is Grok 4.3 x Mistral Medium 3.5 at 83.3%, which enters only because Mistral's cache price was recorded for the first time, followed by Grok 4.6 x Claude Opus 5.5 at 87.0%; six of the seven new pairs come from one $2.00 base / $0.10 cache-read curve now shared by Claude Sonnet 5.5, GPT-6.1-sol and Gemini 4 Argon","source":"jsonhouse calculation from official pricing pages, 2026-10-14","category":"data"}],"faq_summary":[{"q":"How much does prompt caching actually save in 2026?","a":"The discount is 90% on most rows at Anthropic, OpenAI, Google and Mistral, 95% on Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.1-sol and Gemini 4 Argon, 97.5% on Claude Fable 5.1 and Mythos 5.1, 98% on DeepSeek flash, and 75-85% at xAI. It applies only to the cached share of a prompt, so the realized saving is roughly hit rate times discount — a 50% hit rate against a 90% discount is a 45% cut."},{"q":"Do you pay to write to the cache?","a":"Anthropic always charges: 1.25x base input for a 5-minute write, 2x for an hour. OpenAI added the same 1.25x charge with GPT-5.6 and charged nothing before it. Google charges storage per hour instead. xAI, DeepSeek, and Mistral publish no write price."},{"q":"Which LLM API is cheapest for a cache-heavy agent?","a":"It depends on the hit rate. Gemini 2.5 Flash-Lite is cheapest from 0% through 87.7%, tied there by GPT-6-luna since 2026-09-28 and Claude Haiku 5.5 since 2026-10-14 on identical prices; above that DeepSeek flash wins, reaching $0.0104 per 1M effective input tokens at a 95% hit rate against Flash-Lite's $0.0145. That crossover was 84.7% before 2026-08-17 and 97.6% between then and 2026-09-14."},{"q":"Is prompt caching automatic or do I have to enable it?","a":"OpenAI, Google, DeepSeek, and xAI cache automatically; Anthropic requires an explicit cache_control field. Because GPT-5.6 caches automatically above 1,024 tokens and bills writes at 1.25x, a prompt you never reuse may bill above base rate unless you opt out."},{"q":"Why can't I compare cache prices straight from provider pricing pages?","a":"No two publish the same fields. Anthropic gives multipliers, DeepSeek an absolute cache-hit price, xAI and Mistral one cached-input column each, and Google a per-hour storage rate on top of a cache-read price. Four of six publish no TTL."}],"primary_sources":[{"title":"Claude API pricing","url":"https://platform.claude.com/docs/en/docs/about-claude/pricing","publisher":"Anthropic"},{"title":"Claude prompt caching","url":"https://platform.claude.com/docs/en/docs/build-with-claude/prompt-caching","publisher":"Anthropic"},{"title":"OpenAI API pricing","url":"https://developers.openai.com/api/docs/pricing","publisher":"OpenAI"},{"title":"OpenAI prompt caching guide","url":"https://developers.openai.com/api/docs/guides/prompt-caching","publisher":"OpenAI"},{"title":"Gemini API pricing","url":"https://ai.google.dev/gemini-api/docs/pricing","publisher":"Google"},{"title":"Gemini API context caching","url":"https://ai.google.dev/gemini-api/docs/caching","publisher":"Google"},{"title":"xAI models and pricing","url":"https://docs.x.ai/docs/models","publisher":"xAI"},{"title":"xAI prompt caching usage and pricing","url":"https://docs.x.ai/developers/advanced-api-usage/prompt-caching/usage-and-pricing","publisher":"xAI"},{"title":"DeepSeek API pricing","url":"https://api-docs.deepseek.com/quick_start/pricing","publisher":"DeepSeek"},{"title":"DeepSeek context caching","url":"https://api-docs.deepseek.com/guides/kv_cache","publisher":"DeepSeek"},{"title":"Mistral API pricing","url":"https://mistral.ai/pricing/api","publisher":"Mistral AI"}],"comparison_data":{"field_provenance":{"provider":"vendor","base_input_per_1m_usd":"vendor","cache_read_per_1m_usd":"vendor","discount_pct":"jsonhouse derived","effective_h50":"jsonhouse derived","effective_h80":"jsonhouse derived","effective_h95":"jsonhouse derived"},"dimensions":["provider","base_input_per_1m_usd","cache_read_per_1m_usd","discount_pct","effective_h50","effective_h80","effective_h95"],"unit":"USD per 1M input tokens, standard non-batch base tier, collected 2026-10-19 (Monday). No base or cache-read price changed against the 2026-10-14 collection, so every figure below is carried unchanged; DeepSeek replaced the model behind deepseek-flash with DeepSeek-V4.1-Flash-1017 on 2026-10-17 at the same price. On 2026-10-14 (Wednesday; the 2026-10-12 slot was missed) one existing row changed: Claude Sonnet 5.5's cache read fell from $0.20 to $0.10 and it now has its own entry. Added Gemini 4 Argon and Claude Haiku 5.5; removed Gemini 3.7 Flash (deprecated, routed to Gemini 3.8 Flash). Mistral Medium 3.5 is filled from a cached-input price recorded for the first time, not a changed one. effective_hN = base x (1 - N) + cache_read x N. Gemini 3.6/3.8 Flash are promotional through 2026-12-31 and Gemini 4 Argon through 2026-11-30; Claude Haiku 5.5 figures apply only to prompts up to 100,000 tokens; DeepSeek rows are off-peak and double during weekday peak UTC windows; weekends and Chinese public holidays are off-peak. The DeepSeek flash row replaced the retired v4-flash on 2026-09-14 and is a different model, not a reprice. Effective prices are per token and a token is not a constant amount of text: Claude 4.7 and later count roughly 30% more tokens for the same input than Sonnet 4.6 and earlier, which leaves the discount ratios intact but understates the newer Claude rows in any cross-row price comparison.","entries":[{"model":"Claude Fable 5.1","provider":"Anthropic","base_input_per_1m_usd":10.0,"cache_read_per_1m_usd":0.25,"discount_pct":97.5,"effective_h50":5.125,"effective_h80":2.2,"effective_h95":0.7375},{"model":"Claude Opus 5","provider":"Anthropic","base_input_per_1m_usd":5.0,"cache_read_per_1m_usd":0.5,"discount_pct":90.0,"effective_h50":2.75,"effective_h80":1.4,"effective_h95":0.725},{"model":"Claude Opus 5.5","provider":"Anthropic","base_input_per_1m_usd":4.0,"cache_read_per_1m_usd":0.2,"discount_pct":95.0,"effective_h50":2.1,"effective_h80":0.96,"effective_h95":0.39},{"model":"GPT-5.6-sol","provider":"OpenAI","base_input_per_1m_usd":4.0,"cache_read_per_1m_usd":0.4,"discount_pct":90.0,"effective_h50":2.2,"effective_h80":1.12,"effective_h95":0.58},{"model":"Claude Sonnet 5","provider":"Anthropic","base_input_per_1m_usd":2.0,"cache_read_per_1m_usd":0.2,"discount_pct":90.0,"effective_h50":1.1,"effective_h80":0.56,"effective_h95":0.29},{"model":"Claude Sonnet 5.5","provider":"Anthropic","base_input_per_1m_usd":2.0,"cache_read_per_1m_usd":0.1,"discount_pct":95.0,"effective_h50":1.05,"effective_h80":0.48,"effective_h95":0.195,"note":"Cache read cut from $0.20 to $0.10 between 2026-10-05 and 2026-10-14; entry added 2026-10-14 when it left Claude Sonnet 5's curve"},{"model":"GPT-5.6-terra","provider":"OpenAI","base_input_per_1m_usd":2.0,"cache_read_per_1m_usd":0.2,"discount_pct":90.0,"effective_h50":1.1,"effective_h80":0.56,"effective_h95":0.29},{"model":"GPT-6.1-sol","provider":"OpenAI","base_input_per_1m_usd":2.0,"cache_read_per_1m_usd":0.1,"discount_pct":95.0,"effective_h50":1.05,"effective_h80":0.48,"effective_h95":0.195},{"model":"GPT-6-sol","provider":"OpenAI","base_input_per_1m_usd":2.0,"cache_read_per_1m_usd":0.2,"discount_pct":90.0,"effective_h50":1.1,"effective_h80":0.56,"effective_h95":0.29},{"model":"Gemini 4 Argon","provider":"Google","base_input_per_1m_usd":2.0,"cache_read_per_1m_usd":0.1,"discount_pct":95.0,"effective_h50":1.05,"effective_h80":0.48,"effective_h95":0.195,"note":"Added 2026-10-14; Google's first row below 0.1x. Implicit caching only. Introductory through 2026-11-30, then $4.00 base / $0.20 cache read"},{"model":"Grok 4.6","provider":"xAI","base_input_per_1m_usd":2.0,"cache_read_per_1m_usd":0.5,"discount_pct":75.0,"effective_h50":1.25,"effective_h80":0.8,"effective_h95":0.575},{"model":"Grok 4.5","provider":"xAI","base_input_per_1m_usd":2.0,"cache_read_per_1m_usd":0.3,"discount_pct":85.0,"effective_h50":1.15,"effective_h80":0.64,"effective_h95":0.385},{"model":"Mistral Medium 3.5","provider":"Mistral","base_input_per_1m_usd":1.5,"cache_read_per_1m_usd":0.15,"discount_pct":90.0,"effective_h50":0.825,"effective_h80":0.42,"effective_h95":0.2175,"note":"Cached-input price first recorded 2026-10-14; earlier editions left this entry unfilled. Mistral publishes no write price, storage fee or TTL"},{"model":"Grok 4.3","provider":"xAI","base_input_per_1m_usd":1.25,"cache_read_per_1m_usd":0.2,"discount_pct":84.0,"effective_h50":0.725,"effective_h80":0.41,"effective_h95":0.2525},{"model":"Claude Haiku 4.5","provider":"Anthropic","base_input_per_1m_usd":1.0,"cache_read_per_1m_usd":0.1,"discount_pct":90.0,"effective_h50":0.55,"effective_h80":0.28,"effective_h95":0.145},{"model":"Gemini 3.8 Flash","provider":"Google","base_input_per_1m_usd":0.75,"cache_read_per_1m_usd":0.075,"discount_pct":90.0,"effective_h50":0.4125,"effective_h80":0.21,"effective_h95":0.1088},{"model":"Gemini 3.6 Flash","provider":"Google","base_input_per_1m_usd":0.75,"cache_read_per_1m_usd":0.075,"discount_pct":90.0,"effective_h50":0.4125,"effective_h80":0.21,"effective_h95":0.1088},{"model":"DeepSeek v4-pro","provider":"DeepSeek","base_input_per_1m_usd":0.66,"cache_read_per_1m_usd":0.022,"discount_pct":96.7,"effective_h50":0.341,"effective_h80":0.1496,"effective_h95":0.0539},{"model":"Gemini 2.5 Flash","provider":"Google","base_input_per_1m_usd":0.3,"cache_read_per_1m_usd":0.03,"discount_pct":90.0,"effective_h50":0.165,"effective_h80":0.084,"effective_h95":0.0435},{"model":"DeepSeek flash","provider":"DeepSeek","base_input_per_1m_usd":0.15,"cache_read_per_1m_usd":0.003,"discount_pct":98.0,"effective_h50":0.0765,"effective_h80":0.0324,"effective_h95":0.0104,"note":"Model behind deepseek-flash replaced on 2026-10-17 by DeepSeek-V4.1-Flash-1017 at unchanged prices; the figures describe a different build than before that date"},{"model":"GPT-5.6-luna","provider":"OpenAI","base_input_per_1m_usd":0.2,"cache_read_per_1m_usd":0.02,"discount_pct":90.0,"effective_h50":0.11,"effective_h80":0.056,"effective_h95":0.029},{"model":"Claude Haiku 5.5","provider":"Anthropic","base_input_per_1m_usd":0.1,"cache_read_per_1m_usd":0.01,"discount_pct":90.0,"effective_h50":0.055,"effective_h80":0.028,"effective_h95":0.0145,"note":"Added 2026-10-14. Figures apply to prompts up to 100,000 tokens, cache reads and writes counted; above that $0.50 base / $0.05 cache read"},{"model":"GPT-6-luna","provider":"OpenAI","base_input_per_1m_usd":0.1,"cache_read_per_1m_usd":0.01,"discount_pct":90.0,"effective_h50":0.055,"effective_h80":0.028,"effective_h95":0.0145},{"model":"Gemini 2.5 Flash-Lite","provider":"Google","base_input_per_1m_usd":0.1,"cache_read_per_1m_usd":0.01,"discount_pct":90.0,"effective_h50":0.055,"effective_h80":0.028,"effective_h95":0.0145}]},"numerical_data":{"metrics":[{"name":"crossover_hit_rate_gemini_flash_lite_vs_deepseek_flash","value":87.7,"unit":"percent","note":"Both cost $0.0211 per 1M effective input tokens at this hit rate. Below it Gemini 2.5 Flash-Lite is cheaper, above it DeepSeek flash. This pair sat at 84.7% before 2026-08-17 and 97.6% between then and 2026-09-14"},{"name":"crossover_hit_rate_claude_opus_5_vs_claude_fable_51","value":95.2,"unit":"percent","note":"Both cost $0.7143 per 1M effective input tokens at this hit rate. Above it Anthropic's $10.00 Claude Fable 5.1 is cheaper per effective input token than its own $5.00 Claude Opus 5, because Fable 5.1 discounts a cache read 97.5% against Opus 5's 90%"},{"name":"crossover_hit_rate_grok_46_vs_gpt_56_sol","value":95.2,"unit":"percent","note":"Both cost $0.5714 per 1M effective input tokens at this hit rate. Sat at exactly 100% until OpenAI cut GPT-5.6-sol on 2026-08-24; the move was missed at the time and recorded on 2026-09-14"},{"name":"crossover_hit_rate_grok_46_vs_claude_fable_51","value":97.0,"unit":"percent","note":"Both cost $0.5455 per 1M effective input tokens at this hit rate"},{"name":"crossover_hit_rate_gpt_56_sol_vs_claude_fable_51","value":97.6,"unit":"percent","note":"Both cost $0.4878 per 1M effective input tokens at this hit rate"},{"name":"crossover_hit_rate_gemini_flash_vs_deepseek_v4_pro","value":97.8,"unit":"percent","note":"Both cost $0.0359 per 1M effective input tokens at this hit rate"},{"name":"crossover_hit_rate_grok_45_vs_claude_fable_51","value":99.4,"unit":"percent","note":"Both cost $0.3106 per 1M effective input tokens at this hit rate"},{"name":"crossover_hit_rate_grok_46_vs_claude_opus_55","value":87.0,"unit":"percent","note":"Both cost $0.6957 per 1M effective input tokens at this hit rate. Above it Claude Opus 5.5 at a $4.00 base is cheaper per effective input token than Grok 4.6 at $2.00, because Opus 5.5 discounts a cache read 95% against xAI's 75%. Added 2026-09-28; the lowest crossover on this page and the first flagship pair inside the range long-running agents operate in"},{"name":"crossover_hit_rate_gpt_6_luna_vs_deepseek_flash","value":87.7,"unit":"percent","note":"Both cost $0.0211 per 1M effective input tokens at this hit rate. Added 2026-09-28 and identical to the Gemini 2.5 Flash-Lite pair, because GPT-6-luna arrived on Flash-Lite's base and cache-read prices exactly; the two never cross each other"},{"name":"crossover_hit_rate_grok_45_vs_claude_opus_55","value":95.2,"unit":"percent","note":"Both cost $0.3810 per 1M effective input tokens at this hit rate. Added 2026-09-28"},{"name":"dominated_row_claude_opus_5_by_claude_opus_55","value":0,"unit":"crossovers","note":"Claude Opus 5.5 is cheaper than Claude Opus 5 on base input ($4.00 against $5.00) and on cache read ($0.20 against $0.50) at once, so no hit rate exists at which Opus 5 is cheaper. Recorded as zero crossovers rather than omitted, because the absence is the finding: this is the first row this series has recorded as dominated inside one vendor's catalogue"},{"name":"crossover_hit_rate_grok_43_vs_gpt_61_sol","value":88.2,"unit":"percent","note":"Both cost $0.3235 per 1M effective input tokens at this hit rate. Above it GPT-6.1-sol at a $2.00 base is cheaper than Grok 4.3 at $1.25, because GPT-6.1-sol discounts a cache read 95% against Grok 4.3's 84%. Added 2026-10-05"},{"name":"dominated_rows_by_gpt_61_sol","value":5,"unit":"rows","note":"GPT-6-sol, GPT-5.6-terra, Claude Sonnet 5, Grok 4.6 and Grok 4.5 share GPT-6.1-sol's $2.00 base and carry a higher cache read, so they tie it at a 0% hit rate and cost more at every rate above it; no crossover exists. Recorded 2026-10-05. Since 2026-10-14 Claude Sonnet 5.5 and Gemini 4 Argon share GPT-6.1-sol's curve exactly and dominate the same five rows"},{"name":"crossover_hit_rate_grok_43_vs_mistral_medium_35","value":83.3,"unit":"percent","note":"Both cost $0.3750 per 1M effective input tokens at this hit rate. Above it Mistral Medium 3.5 at $1.50 base is cheaper than Grok 4.3 at $1.25, because Mistral discounts a cache read 90% against Grok 4.3's 84%. Added 2026-10-14, the lowest crossover on this page; it enters because Mistral's cache price was recorded for the first time, and neither price moved, so it may predate this date"},{"name":"crossover_hit_rate_claude_haiku_55_vs_deepseek_flash","value":87.7,"unit":"percent","note":"Both cost $0.0211 per 1M effective input tokens. Added 2026-10-14; identical to the Gemini 2.5 Flash-Lite and GPT-6-luna pairs because Claude Haiku 5.5 arrived on their figures. Valid only for prompts up to 100,000 tokens"},{"name":"crossover_hit_rate_grok_43_vs_claude_sonnet_55_and_gemini_4_argon","value":88.2,"unit":"percent","note":"Both pairs cost $0.3235 per 1M effective input tokens at this hit rate, identical to Grok 4.3 x GPT-6.1-sol because all three share a $2.00 base and $0.10 cache read. Added 2026-10-14"},{"name":"crossover_hit_rate_mistral_medium_35_vs_2usd_95pct_curve","value":90.9,"unit":"percent","note":"Mistral Medium 3.5 crosses GPT-6.1-sol, Claude Sonnet 5.5 and Gemini 4 Argon at the same point, $0.2727 per 1M effective input tokens: three pairs, one curve. Added 2026-10-14"},{"name":"break_even_calls_write_multiplier_1_25x","value":2,"unit":"calls","note":"Anthropic 5-minute cache and OpenAI GPT-5.6 and later"},{"name":"break_even_calls_write_multiplier_2x","value":3,"unit":"calls","note":"Anthropic 1-hour cache"},{"name":"providers_publishing_no_cache_ttl","value":4,"unit":"of 6","note":"Google, xAI, DeepSeek, and Mistral"}]}}