Prompt caching optimized for the Message Batches API
Anthropic tuned prompt caching inside the Message Batches API so batched requests hit the cache more often, lowering the cost of large batch jobs that share a common prefix.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingBatch jobs that share a long system prompt or document prefix got cheaper with no work from your team. If you forecast batch spend, expect lower input costs where prefixes repeat.
Engineer
What to change, what breaks, what to test Worth knowingNo code change needed — your existing `cache_control` breakpoints now hit more reliably inside the Message Batches API. Check your usage fields for higher `cache_read_input_tokens` on batch jobs.
General consumer
Using the Claude apps, not the API No impactNothing to do — this is an API billing change and does not affect the Claude apps.
The Message Batches API and prompt caching had been usable together since batches launched, but cache hit rates on batched requests were unreliable because requests in a batch are processed concurrently and could race past each other’s cache writes. Anthropic changed the batch processing path to improve the hit rate.
No code change is required: the same cache_control breakpoints apply. The effect is billing — cached input tokens are charged at the cache-read rate rather than the full input rate, so batch jobs that repeat a long system prompt or document prefix got cheaper without any edit.
This predates automatic prompt caching on the Messages API, which did not arrive until February 2026; in this window caching still had to be requested explicitly with breakpoints.
Terms on this page: Batch processing, Prompt caching