Claude Code's 1-Hour Cache Expiry Can Spike Your Cost by 13x
teortaxesTex · x · 2026-08-07
Empirical data reveals that leaving the coding agent Claude Code idle for over an hour and then continuing the conversation incurs a massive cost penalty.
Cost Progression:
- Continuing while working: 1x.
- After a coffee break (timeout): 1.3x.
- After a call: 1.6x.
- After lunch: 13x.
The reason is that session cache expires exactly at 60 minutes, forcing the first message to rebuild the entire context from scratch. In contrast, starting a new session costs only 4.5x. The best practice is to ask the model to summarize progress before stepping away and paste it into a fresh window later. Commenters noted that this caching mechanism is embarrassingly inferior compared to DeepSeek (TTL > 12 hours with free cache writes enabled by default).
More from coding & agent
- Recursive Collective Intelligence paper: agent teams get smarter by sharing info, not scale — FinanceYF5 · 2026-11-30
- Rollikey: open-source proxy adds pre-flight snapshots and LIFO rollback for production AI agents — Rollikey · 2026-11-30
- Open-source LoRA restyles MiniMax H3 video from a single reference image — linoy_tsaban · 2026-11-30
- Dev shares Avi home AI companion internals: device control, memory and full system prompt — aloncarmel · 2026-11-30
- Microsoft exec explains AI governance with a 4-step closet-cleaning method — donasarkar · 2026-11-30
- Catching steps your AI agent silently skipped: declare required actions per task — Ok-Machine7983 · 2026-11-30