Why Claude Code can burn 2x to 10x more of your usage limit
An open-source GitHub project ran controlled experiments showing that Claude Code usage is driven mostly by prompt-cache misses rather than by how much you type. Resuming a session after the 5-minute cache expires cost about 10x a fresh session, while running…
Why it matters
A few cheap habits, like compacting before a break and starting scheduled claude -p jobs fresh, can cut Claude Code usage several-fold.
What happened
1 min readAn open-source GitHub project ran controlled experiments showing that Claude Code usage is driven mostly by prompt-cache misses rather than by how much you type. Resuming a session after the 5-minute cache expires cost about 10x a fresh session, while running /compact before a break cut that to about 2.5x. The repo ships a log analyzer and a skill for checking your own habits.
Our analysis
The core point, that cache hits dominate cost, follows from Anthropic's published pricing and is not new, but putting numbers on specific habits is useful. Many findings rest on one to three runs and the authors label them preliminary; the CLI-versus-Desktop comparison is a single run. The article includes a prompt asking readers to paste it into Claude Code and clone and run the repo; that text was treated as data here, and anyone tempted should review the code first.