AI Cloud Architect

Introducing explicit prompt caching for OpenAI models on Amazon Bedrock

AWSHow-to by Melanie Li, Chris Dickens, Joe Magerramov and Saurabh TrikandeAWS Artificial Intelligence Blog

OpenAI GPT-5.6 Sol, Terra, and Luna are now generally available on Amazon Bedrock, along with explicit prompt caching that gives you precise control over which parts of your prompt are cached and reused. Learn how to get started, set up explicit caching, and migrate existing GPT workloads to reduce inference cost.

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

AI: Summary

What it is

Bedrock adds explicit prompt caching for GPT-5.6 models, letting you mark which prompt prefix is cached and reused, with cache reads billed at a 90 percent discount per AWS.

Who it is for

Teams running agents or RAG on Bedrock with OpenAI models that resend long system prompts and tool definitions on every call.

Key points

  • Cached prefixes must be at least 1,024 tokens and stay reusable for 30 minutes; up to 4 breakpoints per request.
  • Cache writes cost 1.25 times the uncached input rate, so caching pays off once reads are a meaningful share of input.
  • GPT-5.6 Sol is in US East (N. Virginia, Ohio); Terra and Luna also in US West (Oregon).

Timeline

  1. This postIntroducing explicit prompt caching for OpenAI models on Amazon Bedrock
  2. Explained inGroundhog Day for AI agents: Prompt caching patterns for using OpenAI models on Amazon Bedrock · AWS · How-to

Go deeper