Claude prompt caching TTL: when the 1-hour cache pays for its 2x write
Counting pauses works for a fixed prefix and misleads for one that grows, because the premium lands on every token the cache writes. A replay script for your own request log, two synthetic workloads that come out opposite ways, and a keep-alive whose verdict depends on knowing when a session ends.