PRICING SNAPSHOT 2026-07-11CLAUDE FABLE 5 $10.00/$50.00 MTOKCLAUDE OPUS 4.8 $5.00/$25.00 MTOKCLAUDE SONNET 5 $2.00/$10.00 MTOKCLAUDE HAIKU 4.5 $1.00/$5.00 MTOKGPT-5.6 $5.00/$30.00 MTOKGPT-5.5 $5.00/$30.00 MTOKGPT-5.4 $2.50/$15.00 MTOKGEMINI 3.1 PRO $2.00/$12.00 MTOKGEMINI 3.5 FLASH $1.50/$9.00 MTOKGEMINI 3 FLASH $0.50/$3.00 MTOKDEEPSEEK V4 PRO $0.43/$0.87 MTOKDEEPSEEK V4 FLASH $0.14/$0.28 MTOK
TOKENBURN_INDEX

LEARN / PROMPT CACHING

Prompt caching: the 90% discount most AI teams never claim

PUBLISHED 2026-07-10 · TOKENBURN INDEX

Every major LLM provider will sell you the same tokens at a fraction of the price if you just re-send them in the right order. It's called prompt caching, it's sitting in plain sight on the pricing page, and a remarkable number of teams are paying full fare anyway. This is how it works, what it saves, and the quiet ways it breaks.

TL;DR

If your requests share a common prefix — a system prompt, tool definitions, a document — providers can bill that repeated input at ~10% of the normal price (OpenAI: GPT-5.5 cached input is $0.50/MTok vs $5.00). The catch: it's a strict prefix match with a time-to-live, and one misplaced timestamp silently disables it. Structure prompts stable-first, then verify cache reads in your usage data.

Why input tokens dominate modern AI bills

Output gets the headlines (it's 4–8x pricier per token), but volume tells another story: production AI apps are input-heavy. A chatbot re-sends its system prompt and the conversation history on every turn. A RAG app re-sends retrieved documents. An agent re-reads its instructions and accumulated tool results on every step of its loop. In all three, the majority of billed tokens are the same bytes, re-read. That redundancy is exactly what prompt caching monetizes back to you.

What prompt caching actually is

When a request arrives, the provider checks whether its opening bytes — the prefix — match something processed recently. On a hit, the model skips re-processing that prefix and bills those input tokens at a heavy discount. On a miss, it processes normally and (depending on the provider) writes a cache entry for next time, sometimes at a small premium over the normal input price. Three properties define the mechanics everywhere: it's a prefix match (byte-exact, from position zero), entries have a time-to-live (typically minutes, extendable), and there's a minimum size below which nothing caches — silently.

The math that should get your attention

Example 1 — the system prompt. Your product sends a 2,000-token system prompt with every request, 1,000 times a day, on a $3/MTok-input model. Uncached, that prefix alone costs ~$6.00/day — $180/month for the same bytes, re-read daily like a goldfish. Cached at ~0.1x: ~$0.66/day, plus pennies of write premium. Same model, same prompts, ~90% off.

Example 2 — the RAG corpus. An internal assistant prepends the same 50,000-token policy handbook to every query, 200 queries/day. Uncached: ~$30/day ($900/month). Cached: ~$3.30/day. The bigger the shared context, the more absurd the uncached number — and 50K-token contexts are unremarkable in 2026.

The fine print: write premiums, TTLs, break-even

Provider differences (mid-2026 snapshot)

Rates and mechanics change; check your provider's pricing page. The strategy below is provider-independent.

The silent cache-breakers

Caching is a prefix match on exact bytes, so anything that varies early in the prompt disables it for everything after — without any error. The classics:

Trust nothing, verify the usage fields

Every provider reports cache activity in the API response usage data (fields like cached_tokens or cache_read_input_tokens). The audit takes five minutes: send two identical requests back-to-back and read the second one's usage. If cache reads are zero on repeated traffic, one of the breakers above is at work — diff the exact rendered prompts to find it. Teams that never look at these fields are, statistically, donating margin.

The checklist

Know which kind of traffic you have

Caching is the highest-leverage optimization for anything that re-sends context — chatbots with long system prompts, agents re-reading repositories, RAG over a stable corpus. For one-off, ever-changing prompts it does exactly nothing. Find out which side you're on: measure a representative prompt in the Burnmeter, look at how much of it is fixed boilerplate, and multiply the repeated part by your real volume. That number is your caching opportunity.

Frequently asked questions

Does prompt caching apply to my ChatGPT subscription?

No — prompt caching is an API-level billing feature. Subscriptions are flat-rate, so there is nothing to discount. If you pay per token (OpenAI, Anthropic or Google APIs), caching applies and is one of the largest levers on your bill.

Do I need to change my code to use prompt caching?

It depends on the provider. OpenAI applies caching automatically to repeated prompt prefixes. Anthropic uses explicit cache_control markers you add to your requests. Google's Gemini API offers both implicit and explicit caching. In all cases you need your prompts structured so the stable content comes first — that part is on you.

Does caching make responses faster too?

Yes. Cached prefixes skip re-processing, which reduces time-to-first-token — often noticeably on long contexts. The discount is the headline, but the latency win is real, especially for agents re-reading large instructions on every step.

When is prompt caching useless?

When there is no repeated prefix: one-off prompts, prompts that change from the first byte (timestamps, user IDs at the top), or traffic so sparse the cache expires between requests. Caching rewards repetition — if every request is unique, there is nothing to reuse.

MORE FROM THE INDEX