'Prompt caching cuts our bill by 90 percent across the board', what's overclaimed?
Click any words you think contain an error. Click again to unmark.
Prompt caching discounts INPUT tokens only, not output.
Imagine a bakery that gives you ninety percent off flour but full price on the cake itself. If your order is mostly cake with a little flour, the discount barely shows up on the receipt. Prompt caching is the flour discount. It cuts the cost of the long, repeated instructions you send in, but it does nothing for the long answer the model writes back. When the model writes a three thousand word essay, that essay is the cake, and you pay full price for every word. The total bill drops a little, not a lot.
Detailed answer & concept explanation~9 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
3 min: name caching as input-only, build the bill formula, plug in the scenario numbers to derive ~12-15%, and explain the input-share ceiling on caching savings.
Real products, models, and research that use this idea.
- Anthropic Claude pricing in 2026: input $3/M, output $15/M (5x), cache reads at ~$0.30/M (10x discount on input). A 90% input-token cut buys 12-15% bill cut on output-heavy chat.
- OpenAI o4 and GPT-5 pricing show output at 4x input with automatic prompt caching at ~50% discount; realized bill savings on generation-heavy apps land near 5-10%.
- Anthropic case studies pitch caching wins of 30-50% on workloads with long stable context and short responses (RAG over documents, repeated tool schemas), confirming the input share of bill ceiling.
- DeepSeek-V3 disaggregated pricing shows cache hits at 10% of input price and output at 4-5x input, the same arithmetic recovers.
- Cursor and Anthropic's Computer Use Tool both publish telemetry showing that long stable system prompts plus short tool calls is where caching delivers 30%+ bill cuts in production.
What an interviewer would ask next. Try answering before peeking at the approach.
QWhat is the maximum possible bill reduction from prompt caching alone, even with a perfect hit rate?
QWhy is output priced higher than input on most provider price sheets?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Multiplying a per-token input discount by the whole invoice and predicting a 90% bill cut. Output tokens carry the bulk of cost on generation-heavy workloads and the cache does not touch them.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.