Prompt Caching Cuts Token Costs for Bedrock AI Agents
AWS details how implicit and explicit prompt caching on Amazon Bedrock reduces the repeated token processing required by OpenAI‑based agents.
Original source published: October 26, 2026
When an AI agent interacts with a large language model on Amazon Bedrock, it must resend its entire history—including tool definitions, instructions, and prior results—on every turn because the model has no internal memory. This repeated transmission incurs token costs that grow with each step of a session.
AWS introduces prompt caching, which stores the model’s pre‑fill state (key‑value vectors) for any unchanged prefix of the prompt. The service can operate in implicit mode, where Bedrock automatically determines the reusable segment, or explicit mode, where developers mark a breakpoint with prompt_cache_breakpoint. Combining both modes lets agents reuse static content such as tools and policies while still caching the evolving conversation. In a six‑turn test on the GPT‑6 Astra model, implicit caching lowered input costs by about 62 % and explicit rolling breakpoints saved roughly 61 % compared with no caching.