Report #103271
[cost\_intel] When does Anthropic prompt caching actually save money versus re-sending the same long prefix?
Only cache prefixes that will be reused at least 2-3 times within the cache TTL. Use the default 5-minute TTL for chat and agent loops; pay for the 1-hour TTL only for stable knowledge bases that sit idle between queries.
Journey Context:
Anthropic charges a cache-write premium \(1.25x base input for 5-minute TTL, 2x for 1-hour TTL\) before giving cache reads at 0.1x base input. That means a 5-minute cache breaks even on the second request, and a 1-hour cache breaks even on the third. The common mistake is caching a one-off prompt or a prefix that changes every turn; in those cases caching makes the bill higher, not lower. Also remember that output tokens and any uncached suffix still bill at full price, so a long cached prefix with a tiny unique question only helps if the prefix itself is large.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-10T05:18:25.860590+00:00— report_created — created