AI Cloud Architect

Optimizing cost and latency with Amazon Bedrock prompt caching for Anthropic models

AWSHow-to by Daniel AbibAWS Artificial Intelligence Blog

Prompt caching in Amazon Bedrock can cut input token costs by up to 90% when you repeatedly send the same context to foundation models. This post walks through six practical prompt caching scenarios using the Converse API: message content, system prompt, tool definition, mixed TTL, tenant isolation, and LangChain integration.

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Bedrock prompt caching is shown through six Converse API scenarios: message content, system prompt, tool definitions, mixed TTL, tenant isolation, and LangChain.

Who it is for

Teams running Claude on Amazon Bedrock with repeated long context, system prompts or tool schemas who want lower input token cost and time-to-first-token.

Key points

  • AWS says cache reads cost 90% less than standard input; cache writes cost 25% more (1-hour TTL: 100% more).
  • Minimum cacheable checkpoint is 1,024 tokens for Sonnet 4.5/4.6 and 4,096 for Opus models.
  • Cache entries are scoped to an AWS account and Region; cross-Region inference profiles can raise cache write frequency.
  • Mixed TTL requires longer-TTL checkpoints to come before shorter ones.

Timeline

  1. What it explainsSimplified Cache Management for Anthropic’s Claude models in Amazon Bedrock · AWS · Announcement
  2. What it explainsAmazon Bedrock now supports 1-hour duration for prompt caching · AWS · Announcement
  3. What it explainsAWS Weekly Roundup: Amazon Bedrock agent workflows, Amazon SageMaker private connectivity, and more (February 2, 2026) · AWS · Release note
  4. This postOptimizing cost and latency with Amazon Bedrock prompt caching for Anthropic models
  5. Customer storyHow ArisGlobal scaled generative AI inference on Amazon Bedrock · AWS · Customer story

Go deeper