ProductsOfficialSelected

Amazon Bedrock adds prompt caching

Optimizing cost and latency with Amazon Bedrock prompt caching

Why we picked it

For developers using Amazon Bedrock, this feature can significantly reduce costs for repeated API calls.

Amazon Bedrock now supports prompt caching, which can reduce input token costs by up to 90% for repeated requests. The feature is demonstrated through six practical scenarios using the Converse API, including message content, system prompts, and tenant isolation.

Image · AWS Machine Learning Blog
Original · AWS Machine Learning Blog

Optimizing cost and latency with Amazon Bedrock prompt caching

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.