AIToday
Large Language ModelsAI Business & IndustryAmazon AI BlogPublished: Oct 27, 2026, 04:00 JST

Amazon Bedrock prompt caching cuts GPT-6 Astra agent costs 64%

Send on LINE
Amazon Bedrock prompt caching cuts GPT-6 Astra agent costs 64%

3 Key Points

  1. 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.

  2. 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.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

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.

FAQ
How much does the reusable prefix need to be for caching to apply?
The reusable prefix must reach 1,024 tokens to qualify. In one test, a roughly 4,000-token tools-and-instructions prefix wrote 4,120 tokens on the first request and read those 4,120 tokens on later requests.
What is the difference between implicit and explicit caching on Amazon Bedrock?
Implicit caching lets Amazon Bedrock choose where the reusable prefix ends as the conversation grows. Explicit caching lets your code mark that endpoint with prompt_cache_breakpoint, and AWS recommends combining both.
How can I tell whether caching is actually working?
Check response usage: cached_tokens reports input read from the cache and cache_write_tokens reports input written to it. For production monitoring on the Amazon Bedrock Runtime endpoint, use the CacheReadInputTokenCount and CacheWriteInputTokenCount metrics in Amazon CloudWatch.
Amazon AI BlogRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

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

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.

Questions and answers are published on this page.

Related Articles

Next articleGoogle, Stanford launch Polar Peaks AI literacy quest