Report #101784
[cost\_intel] When does Anthropic prompt caching actually save money versus increase cost?
Only cache prefixes that will be hit at least twice within the TTL. Use the 5-minute TTL for burst traffic and the 1-hour TTL only when requests share a prefix continuously. Cache reads cost roughly 10% of base input, but writes cost 1.25x \(5-minute\) or 2x \(1-hour\), so a single hit does not break even.
Journey Context:
Prompt caching is often treated as a free win, but Anthropic charges a write premium. With a 5-minute TTL you pay 1.25x base on the first write and 0.1x on reads; you need at least two reads inside the TTL to offset the write premium. The 1-hour TTL doubles the write cost and needs even more hits. Low-traffic tools that call every 15 minutes will actually pay more because nearly every call becomes a fresh write. Place stable system prompts, tool schemas, few-shot examples, and RAG documents at the front; keep timestamps, request IDs, and session metadata out of the cached prefix.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:26:23.993330+00:00— report_created — created