Automatic prompt caching launches on the Messages API
A single top-level `cache_control` field makes the system cache the last cacheable block and move the cache point forward as a conversation grows, removing the need to manage breakpoints by hand.
What does this mean for me?
Plan for it
Engineering leadership
Cost, risk, timeline, team impact Plan for itAutomatic caching lets teams delete hand-maintained cache-breakpoint code, which cuts a recurring source of bugs in long agent loops. Schedule a cache-hit-rate re-measurement after switching so you can confirm the cost savings hold.
Engineer
What to change, what breaks, what to test Plan for itSet the top-level `cache_control` field on the Messages API and remove your breakpoint-repositioning logic; the system caches the last cacheable block and advances the cache point as the conversation grows. Block-level `cache_control` still works if you need precise placement. Available on the Claude API and in preview on Microsoft Foundry.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is an API-only change and does not affect the Claude apps.
Automatic caching adds a request-level cache_control field to the Messages API. The system caches the last cacheable block and advances the cache point as the conversation grows, so long agent loops no longer need code that repositions breakpoints on every turn.
It works alongside existing block-level cache control, which remains available where fine-grained placement matters. Available on the Claude API and, in preview, on Microsoft Foundry.
For anyone maintaining hand-rolled breakpoint logic, this is a chance to delete it; cache hit rates on multi-turn workloads are the thing to re-measure afterwards.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
cache_control (request-level) | added | no |
Platform availability
| Platform | Model ID | Status |
|---|---|---|
| claude-api | | available |
| foundry | | preview |
Terms on this page: Prompt caching