AWS Machine Learning · Nov 16, 2026
Introducing explicit prompt caching with open-weight models on Amazon Bedrock
Amazon Bedrock now offers explicit prompt caching for supported open-weight models. Reusing the processed beginning of a prompt can cut latency and input costs. Reads cost less than standard input, while writes can cost more, depending on
Read moreShow less about Introducing explicit prompt caching with open-weight models on Amazon Bedrock
Amazon Bedrock now offers explicit prompt caching for supported open-weight models. Reusing the processed beginning of a prompt can cut latency and input costs. Reads cost less than standard input, while writes can cost more, depending on the model.
Implicit caching automatically reuses eligible prompt prefixes on a best-effort basis. Explicit caching lets developers mark reusable sections with breakpoints and bills content after the last breakpoint at standard input rates.
Availability varies by region and model. Model limits include minimum token counts, breakpoint caps and cache lifetimes. Each hit resets the lifetime. AWS says prompts and outputs stay with Bedrock and are excluded from model training.
In AWS’s Chat Completions example with a roughly 4,000-token manual, follow-up questions triggered small implicit writes. Explicit caching wrote only on the first call.
OpenCode reused prior context automatically. Bedrock reports cache reads and writes, though OpenCode 1.18.35 misses writes through its OpenAI-compatible provider.
Read at AWS Machine Learning (opens in a new tab)