Prompt cache TTL: when does 1 hour beat the default 5 minutes?
This story is from 2026-09-06. It is preserved in the archive; the latest stories are on the live feed.
I was looking at Claude Code’s prompt cache TTL setting. The default is 5 minutes, but you can set it to 1 hour. The tradeoff seems straightforward: a 5-minute cache write costs 1.25x input, while a 1-hour write costs 2x. But I’m wondering whether the longer TTL could actually be cheaper for slower…
Read the full story at r/ClaudeAI ↗
Timeline · 1 report
- 2026-09-06 07:20 · r/ClaudeAI
Prompt cache TTL: when does 1 hour beat the default 5 minutes?