AIToday
Amazon AI BlogPublished: Nov 13, 2026, 06:00 JST

Four Amazon Bedrock settings that swing inference costs

Send on LINE
Four Amazon Bedrock settings that swing inference costs

3 Key Points

  1. What happened

    AWS detailed four Amazon Bedrock inference choices—cache duration, service tier, reasoning effort, and maxTokens—and tested each. High reasoning effort used +169% median output tokens versus low on a tool-calling agent, with all runs correct.

  2. Why it matters

    Teams can cut Bedrock bills without swapping models by adjusting request settings, but each carries a tradeoff—low reuse makes 1-hour caching costlier than no caching, Flex can mean longer processing, and tight maxTokens can truncate agent chains.

Not sure about something? Ask the AI

Questions and answers are published on this page.

Summaries like this, every morning.

Context & Analysis

The guidance arrives as enterprises move generative AI workloads from pilots into production, where request-level settings accumulate into recurring cloud bills. AWS frames the four choices as knobs inside the inference request itself, meaning they can be tuned without retraining or replacing a model—an attractive proposition for teams already managing prompt and application logic.

The tests expose how uneven the tradeoffs are. On cost, a 1-hour cache write costs 2 times the input rate versus 1.25 times for a 5-minute write, so the longer duration only pays off when the same prefix recurs with gaps beyond 5 minutes. On quality, reasoning effort showed a stark split: high effort used +169% median output tokens on a tool-calling agent task, yet on a code-generation sample the gap between low and high was within run-to-run variation and all graded programs passed. That suggests the right effort level depends on how close a task sits to the model's capability boundary.

Operationally, AWS points to request metadata, CloudWatch metrics such as OutputTokenCount and ResolvedServiceTier, invocation logs, and task pass rates as the feedback loop. It also warns that maxTokens is an output ceiling rather than a safety control, and recommends Guardrails for content filtering and prompt-attack detection in production. The recurring theme is per-model verification: cache durations, Flex support, and reasoning defaults differ by model version and Region, so a capability record may be needed wherever routing spans multiple models.

FAQ
When is a 1-hour cache cheaper than a 5-minute cache on Bedrock?
AWS says the 1-hour cache is cheaper from the second request within the hour when the same prefix recurs with gaps longer than 5 minutes. A 1-hour write costs 2 times the input rate, so low reuse loses money.
Does Amazon Bedrock Flex work on all models?
No, tier support is model-specific. The Amazon Nova 2 Lite and OpenAI gpt-oss-120b model cards list Flex as supported, while Anthropic Claude Sonnet 5 and Claude Opus 5 on Amazon Bedrock list it as not supported. An unsupported Flex request fails with a ValidationException.
How much did a lower maxTokens limit actually save in AWS's test?
In a test on Claude Sonnet 5 with a deliberately verbose prompt, a 155-token fence avoided 1,893 output tokens compared with a 2,048-token ceiling. Both responses were truncated at max_tokens.
Amazon AI BlogRead Original Article
Send on LINE

AI news that matters for your work, delivered every morning.

Pick your industry and the AI tools you use, and get news related to your work every day.

Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →

Ask AI

Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.

Questions and answers are published on this page.

Next articleAmplitude: OpenAI-powered Wave ships fixes in 1–2 days