Anthropic Silently Changed Prompt Cache TTL from 1 Hour to 5 Minutes
Anthropic has silently changed the default prompt cache Time-To-Live (TTL) from 1 hour to 5 minutes, affecting developers using the Claude API with prompt caching.
💡
Why it matters
This change can significantly impact the cost of using the Claude API for developers relying on prompt caching, and they need to update their code to maintain the previous 1-hour TTL behavior.
Key Points
- 1Anthropic changed the default prompt cache TTL from 1 hour to 5 minutes on March 6, 2026
- 2This means that unless the same prompt is sent within a 5-minute window, the cache will be missed, and users will pay full input token prices
- 3Disabling telemetry also drops the TTL to 5 minutes, regardless of other settings
- 4Developers can check their cache usage and explicitly set the TTL to 1 hour to maintain the previous behavior
Details
Previously, when using the Claude API with `cache_control: {
Like
Save
Cached
Comments
No comments yet
Be the first to comment