Guide to prompt caching for AI agents using OpenAI models on Amazon Bedrock
Claudio Mazzoni explains how to combine implicit caching for growing conversations with explicit breakpoints for shared tools and instructions when using OpenAI models on Amazon Bedrock. The guide covers preserving cache reuse across tool changes, subagents, and sessions, plus monitoring cache reads and writes. In a six-turn GPT-6 Astra workload, implicit caching lowered input cost by about 62 percent, while explicit rolling breakpoints saved about 61 percent.

Why it matters
Keeping shared prompt prefixes stable while appending new context provides a reusable caching pattern across agent turns, tool changes, helper calls, and sessions.
















