Prompt caching, when it saves money and when it costs more
Reusing a stable prefix across calls can take a large slice off your model bill. Get the details wrong and every call writes to the cache while none reads from it — so you pay the premium and see none of the savings.

Prompt caching is one of the few cost levers that can move a model bill by a large fraction without changing a line of application logic. The idea is simple: the stable part of your request — a long system prompt, a document, a fixed set of instructions — gets stored on the provider's side, so repeated calls that share that prefix don't pay full price to process it again.
The catch is that caching is not free by default. A cache write usually costs more than an ordinary token; a cache read costs much less. You come out ahead only when reads outnumber writes, and that depends entirely on details you control: whether the cached prefix is byte-stable across calls, whether anything unique is prepended to the front, whether the window between calls stays inside the provider's expiry. Get those right and the same workload gets markedly cheaper. Get one wrong and every call writes, nothing reads, and you have quietly signed up for the premium with none of the discount.
That makes caching a place where measurement matters more than usual. The savings are real but invisible unless you read the provider's own cache-hit and cache-write figures and price them — a summary that says "caching enabled" tells you nothing about whether it's working.
The guides below explain when caching pays off and when it doesn't, how to enable it correctly, how to read the usage that proves it's working, and how to diagnose it when the reads never show up.
- How to Enable Prompt Caching: A Step-by-Step GuideEnable prompt caching in five steps — structure a stable prefix, turn it on per provider, confirm the cache-read counter, and measure the net saving.
- How to Read Claude's Cache Usage DashboardRead Claude's Console Caching page to tell whether prompt caching is working — no logging required: did it read, did it pay, and which request segment broke.
- Prompt Caching Explained: When It Saves Money and When It Costs MorePrompt caching is a bet on reusing a stable prefix within the cache TTL, not an on/off switch — learn when it saves money, when it costs more, and how to tell.
- What the OpenClaw Ban Taught Us About the Real Cost of AIAnthropic cut off subscription use of OpenClaw and blamed prompt caching — and the explanation holds up. Your cache hit rate is your real token price.
- Why Your Prompt Cache Isn't Working: A Troubleshooting GuidePrompt caching fails silently — the request still succeeds. Diagnose a stuck cache with three counters: did it write, did it read, and did it actually save?
About the author
Joubert Berger builds CostCompass, a spend-intelligence dashboard that pulls usage from AI and compute providers into one month-to-date total, a forecast, and a per-provider breakdown. This guide reflects how CostCompass reads each provider's own usage API — see the security model for how your keys are handled.
See whether caching is actually paying off
CostCompass reads each provider's own reported cache usage and prices it, so you can tell a healthy cache from one that's writing on every call — without trusting a dashboard's summary.