Claude's 5-minute cache TTL burns 23% of coding bills vs GPT's 30 minutes
Acrobatic-Midnight-5 · reddit · 2026-12-03
Using 30 days of production coding-agent traffic (Claude Code, OpenCode, Codex, Pi, Kilo), Requesty measured prompt-cache expiry costs with token and billing counters only:
- Rebuilding caches after pauses over 5 minutes consumed 23.1% of the Claude coding bill vs 9.3% on GPT
- On 5–30 minute breaks the gap is stark: Claude lost 15.2% of the bill vs 0.8% on GPT (20.2% vs 0.9% in OpenCode alone); beyond 30 minutes both are similar (7.8% vs 8.5%)
- Both labs charge 1.25x write / 0.05x read — the difference is default TTL: 5 minutes on Claude vs 30 minutes minimum on GPT
- The best mitigation found was zero-token keep-alive pings that only bill reading the existing cache, extending the TTL another 5 minutes
Bottom line: Claude users can cut nearly a quarter of their bill by shortening session gaps or adding keep-alive pings.
More from coding & agent
- GitHub's rebuilt command palette goes GA after five years in preview — marlene_zw · 2026-12-03
- LangWatch launches PII Redaction model that strips 17 PII types from agent traces — _rchaves_ · 2026-12-03
- Dev tools era is over — now we just build tools for agents — jakedahn · 2026-12-03
- 459 Trillion Agent Actions by 2030: Who Decides if the Work Deserves Pay? — 0xSammy · 2026-12-03
- ystack dev: 200k API calls of evals showed 400k context is better AND cheaper — davidcrawshaw · 2026-12-03
- How to Write Good Evals Chapter 2: Test Your LLM-as-a-Judge Before You Trust It — strickvl · 2026-12-03