
What happened
AWS published a guide showing prompt caching for OpenAI models on Amazon Bedrock, with a six-turn GPT-6 Astra workload dropping modeled input cost 64% — from $0.87 to $0.32 per session — using rolling breakpoints.
Why it matters
The savings come from not resending the same tools, instructions, and history each turn, so teams running long agent sessions on Bedrock can keep them responsive without paying repeatedly for the same input tokens.
Summaries like this, every morning.
The guide frames the problem with a movie analogy: every time an agent takes a step, it resends its whole story so far — tool definitions, developer instructions, prior tool calls, and results — because the model keeps no internal memory between requests. By turn 20 of a coding session, the model re-reads turns 1–19, and the user pays for those tokens again. Prompt caching addresses this by saving the model's key-value working state during prefill and loading it on the next request when the input text matches.
Beyond the headline cost figure, the post draws a practical distinction between implicit mode, where Bedrock follows the growing conversation automatically, and explicit mode, where code marks a reusable endpoint. It walks through the cases where each fits: a static tools-and-instructions prefix, a new tool arriving mid-session via an additional_tools item, separate tool profiles for different agent roles, and subagents that warm a shared prefix once before fanning out. A stable prompt_cache_key is what lets separate sessions share an entry when they are meant to.
AWS also flags limits. Changing a timestamp, message, or tool definition blocks reuse beyond that change, and moving a single breakpoint can cause repeated writes unless the prior turn's breakpoint is kept. The post notes that tools and system prompts can be leaked or exploited when caching is used with agents, and advises including caching in responsible AI governance. A closing checklist and cost-monitoring pointers round out the operational side.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
Anthropic's IPO prospectus says it will spend up to $120.5 billion with SpaceXAI over terms into 2029, roughly…

Anthropic's long-awaited IPO document, released Monday, shows more than $400 billion in future obligations for…

Anthropic's seven cofounders, including CEO Dario Amodei, pledged 80% of their personal equity to philanthropi…

At an IMF meeting in Bangkok, cofounder Jack Clark said this year brought convincing evidence the singularity…

Anthropic's S-1 shows more than half of customers spending at least $100,000 a year use both the Claude platfo…

An Apollo Global Management-managed entity will buy Nvidia's next-generation Vera Rubin chips and server hardw…
