Four Amazon Bedrock inference choices that affect cost
AI:Bedrock inference cost depends on four request settings: cache TTL, service tier, reasoning effort and maxTokens, each tested by AWS with token and rate results.
Many generative AI applications resend the same long context on every request. Prompt caching lets open-weight models on Amazon Bedrock reuse it to reduce input cost and latency. This post shows implicit and explicit caching through the Chat Completions API and applies caching to an OpenCode coding agent session.
Read the original (opens the source's page in a new tab)
Bedrock now supports explicit prompt caching for open-weight models via the Chat Completions API, alongside implicit caching, to reuse repeated context and cut input cost and latency.
Teams running open-weight models on Bedrock with long repeated prompts, system prompts or agent loops that want to reduce input cost.