AI Economics
The Cache Breakers
Changes to tool order, schema serialization, system instructions, or model routing can cause prompt cache misses. Five changed turns raise the modeled 150,000-token prefix bill from $0.5100 to $2.4930 in a 10-request session. Its figures are a modeled scenario built on the assumptions stated in the method, so swap in your own workload before you budget.
Open the interactive data story - 10 min read →
Summary
The agent sends another ordinary-looking request. A timestamp, a shuffled tool list, or a model switch just changed what the API can reuse. See what each edit puts on the invoice.
Look for the first changed block, then count the tokens that still read and the tokens that had to be written. A tiny edit can put a long stretch of unchanged material back on the bill.
Key findings
The main findings of “The Cache Breakers”, as the interactive story states them.
- A clean modeled Sonnet 5.5 session with a 150,000-token prefix costs $0.5100 for one cold write and nine full cache reads.
- In the modeled Sonnet 5.5 session, changing a system timestamp rewrites 110,000 tokens while preserving 40,000 cached tool tokens, adding $0.2640 to the turn.
- Changing tool order and reordering schema fields each add $0.3600 on separate modeled turns because the entire 150,000-token prefix needs a new write.
- A cold Opus 5.5 fallback costs $0.7500 to write the modeled 150,000-token prefix, adding $0.7350 over the expected warm Sonnet read.
- PrimusClaw reported 21,236 cached tokens on each measured follow-up’s first request after sorting tools by name, up from zero reads before sorting.
Use it with the ByteCosts calculators
Open the interactive story for the full walkthrough, then bring the pattern back to a calculator and replace the example assumptions with your own users, requests, tokens, seats, or platform usage.
The goal is to convert the article’s cost pattern into a concrete monthly run-rate, per-user margin, or break-even point your team can actually discuss.
Frequently asked questions
What is the main finding of “The Cache Breakers”?
Look for the first changed block, then count the tokens that still read and the tokens that had to be written. A tiny edit can put a long stretch of unchanged material back on the bill.
How were the figures in “The Cache Breakers” produced?
The story labels its figures as a modeled scenario. Model 10 requests with a fixed 150,000-token eligible prefix made up of 40,000 tool tokens, 10,000 system instruction tokens, and 100,000 message tokens. The clean path starts with a cold write and gets nine full reads at one-minute start gaps. Assume warm entries at the layer boundaries, no TTL expiry, and one replacement of a clean follow-up per invoice line. Alternate changed turns with control reads of the original prefix, which stays warm. The invoice scales the same session to 1,000 independent copies. All use five-minute Claude API writes at $2.50 per million on Sonnet 5.5 and $5 on a single cold Opus 5.5 fallback. Sonnet reads cost $0.10 per million. Exclude uncached suffix input and generated output. Each surcharge equals the changed turn’s read and write subtotal minus the $0.015 clean read. A separate figure compares a later message edit and the one-hour write rate of $4 per million on Sonnet. Provider rules and rates come from the cited posts. The tool-order example reports PrimusClaw’s own measurements separately.
Which sources does “The Cache Breakers” cite?
The story cites 6 sources, including Claude API prompt caching, Claude API cache diagnostics, Tool use with prompt caching, and Claude Code prompt caching, among others. The full list is in the interactive story.
Can I model this scenario with my own numbers?
Yes. Use the linked ByteCosts calculators to replace the article’s example assumptions with your own workload, usage, and pricing.
The Cache Breakers. ByteCosts. Updated Nov 2026. https://bytecosts.com/research/the-cache-breakers/