explainx.ai350K+ learn from us
TrendingAI News TodayPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR
  • Where inference cost actually lives
  • Prompt cache duration
  • Service tier (Flex)
  • Adaptive thinking effort
  • Output token limits (maxTokens)
  • Putting the four knobs together
  • What builders should do this week
  • What people are asking
  • Related reading
← Back to blog

explainx / blog

Amazon Bedrock: Four Request Settings That Change Your Inference Bill

AWS, Amazon Bedrock, FinOps, Agents, Guides

Part of Microsoft, Apple and Amazon AI

AWS tested four Amazon Bedrock request knobs—prompt cache TTL, Flex tier, adaptive thinking effort, and maxTokens—with token tables you can verify from usage metadata and CUR.

Nov 12, 2026·8 min read·Yash Thakker
add explainx.ai
go deep
Amazon Bedrock: Four Request Settings That Change Your Inference Bill

On November 12, 2026, AWS published Four Amazon Bedrock inference choices that affect cost—a measured follow-up to the same morning's Tokenomics at scale and cost-per-task ROI posts. Authors Sai Pavan Kasani and Aswath Ram A Srinivasan argue that request-level knobs still move bills after you tune prompts: prompt cache TTL, service tier, adaptive thinking effort, and maxTokens.

If you run agents on Bedrock or compare Grok 4.7 long-horizon patterns, these four settings are the difference between a flat forecast and a surprise CUR line.

Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

TL;DR

table · 4 cols
KnobAWS default or permissive stateWhat their tests showedRisk AWS flags
Cache durationModel-specific TTL1-hour cache beats 5-minute when same prefix returns after gaps over 5 minutes1-hour writes cost 2× input; low reuse loses money; partition tenant prefixes
Service tierdefaultNova 2 Lite Flex billed at half Standard in us-west-2 at time of writingUnsupported models error; set deadlines; optional fallback retry
Reasoning efforthigh on tested Opus 5Low→high +169% median output tokens on agent tasks; code task flatQuality can drop on hard tasks; track pass rate with tokens
maxTokensLarge ceiling (e.g. 2048)155-token fence avoided 1,893 output tokens on one verbose promptstopReason max_tokens truncates multi-turn chains

Where inference cost actually lives

Every Bedrock response includes usage metadata. You pay input and output tokens at the model and tier rate, plus separate cache read and write counters, and reasoning tokens count as output on adaptive models.

That is why IAM principal caps still miss the target when developers change only application code: the same role can double output tokens by leaving effort at default after a model upgrade.

AWS recommends changing one setting at a time, confirming model support in the current Region, then validating in your task distribution—not vendor averages alone.

Prompt cache duration

Repeated system prompts, tool definitions, and reference context can re-bill when cache entries expire. The prompt caching guide lists 5-minute and 1-hour TTL values for supported Anthropic models and 30-minute minimum TTL for supported GPT-5.6 models on Bedrock.

Explicit caching uses a Converse API checkpoint:

json
{ "cachePoint": { "type": "default", "ttl": "1h" } }

InvokeModel for Anthropic models places the same TTL inside cache_control.

Published rate shape (Sonnet 5 and Opus 5)

AWS cites Bedrock pricing for Anthropic Claude Sonnet 5 and Opus 5 on Bedrock:

table · 2 cols
EventMultiple of input rate (per AWS post)
5-minute cache write1.25×
1-hour cache write2×
Cache read0.1×

Break-even intuition from AWS: a 5-minute cache pays back on the first reuse within 5 minutes. If the same prefix returns more than 5 minutes apart, you pay 1.25× writes on every call unless you use a longer TTL. A 1-hour cache is cheaper from the second request within the hour. Beating no cache needs three requests per hour with the reuse pattern AWS describes.

Implicit caching is best-effort without cache controls; duration tuning in the post targets explicit checkpoints.

Stability and multi-tenant layouts

AWS reran six calls on Claude Sonnet 5 with a 1-hour checkpoint, changing the system prompt once and the tool definition once. Each change produced zero cache reads and a new write—checkpoints evaluate in order tools, system, messages, so an early edit invalidates later sections.

For SaaS, AWS repeats the pattern in Optimizing cost and latency with Amazon Bedrock prompt caching for Anthropic models: prepend a tenant-specific SHA-256 hash to the cacheable prefix so entries partition inside one account. Enforce authorization before building the prompt; regulated tenants may still need separate AWS accounts for hard isolation.

Constraint: prompt caching does not work with batch inference—on-demand only.

Amazon Bedrock inference cost tuning starts with prompt cache TTL and invalidation timingAmazon Bedrock inference cost tuning starts with prompt cache TTL and invalidation timing

Service tier (Flex)

Background jobs—eval harnesses, nightly summarization, backfills—may not need Standard latency. For models that support Flex, Converse accepts:

json
{ "serviceTier": { "type": "flex" } }

Use default, not standard, for Standard tier per AWS naming in the post.

Support matrix AWS reports

table · 2 cols
Model familyFlex in model card (per AWS Nov 12 post)
Amazon Nova 2 LiteSupported
OpenAI gpt-oss-120bSupported
Anthropic Claude Sonnet 5Not supported
Anthropic Claude Opus 5Not supported

An unsupported Flex request returns ValidationException—not a silent downgrade. AWS suggests a single catch-and-retry to default when policy allows, and warns not to retry every validation error.

Nova 2 Lite interleaved test

AWS sent 200 default and 200 flex requests in interleaved pairs on Nova 2 Lite. Both tiers processed the same input and output token totals; all 400 resolved to the requested tier; median latency difference was noise. At publication time, Flex in us-west-2 was half the Standard rate on the pricing page, and AWS said the bill matched.

Verify with response serviceTier and CloudWatch ResolvedServiceTier. See Service tiers for optimizing performance and cost.

Amazon Bedrock Flex service tier halves Standard rates on supported models like Nova 2 LiteAmazon Bedrock Flex service tier halves Standard rates on supported models like Nova 2 Lite

Adaptive thinking effort

Reasoning tokens bill as output. Claude Sonnet 5 and Opus 5 default to high adaptive effort even when a request omits thinking—migrating from Sonnet 4.6 without edits can start billing thinking tokens immediately, and maxTokens caps thinking plus final text together.

Lower effort via Converse:

json
{
  "thinking": { "type": "adaptive" },
  "output_config": { "effort": "low" }
}

Keep effort inside output_config, not nested under thinking.

Opus 5 agent benchmark (AWS table)

AWS reused tasks from Build long-horizon agents with Grok 4.7 on Amazon Bedrock—each task has one correct answer. Eight runs per effort level:

table · 4 cols
EffortCorrect runsMedian output tokensChange vs low
low24 of 24936baseline
medium24 of 241,484+59%
high (default)24 of 242,521+169%
xhigh24 of 242,964+217%
max24 of 243,762+302%

Accuracy held on these tasks, but AWS stresses your distribution may differ—measure pass rate alongside tokens.

On the code generation sample in Invoke Bedrock model for code generation, median output was 676 at low versus 743 at high—within run-to-run variation, with programs passing at both levels.

Practice: start below high for bounded routines; keep high only where quality tests prove the margin. Cross-read our Grok 4.7 effort cost walkthrough for a parallel agent lens.

Bedrock adaptive thinking effort raises output tokens on agent workloadsBedrock adaptive thinking effort raises output tokens on agent workloads

Output token limits (maxTokens)

maxTokens is a ceiling on application output, not a substitute for Bedrock Guardrails. Quota logic reserves input tokens plus maxTokens at request start per How tokens are counted in Amazon Bedrock.

Example Converse fence:

json
{ "inferenceConfig": { "maxTokens": 155 } }

Illustrative Sonnet 5 test

After five normal outputs peaking at 103 tokens, AWS set maxTokens: 155. The same deliberately verbose prompt with thinking disabled produced 2,048 tokens under a 2,048 ceiling versus 155 under the fence—1,893 tokens avoided, both ending at stopReason max_tokens. The fence limits spend but does not fix a bad prompt; truncated turns can break downstream agent steps.

Calibration: compare P95 and P99 per task type with thinking enabled when adaptive thinking is on; P95 caps exposure more aggressively, P99 preserves long tails at higher cost.

Putting the four knobs together

AWS's closing table is a deployment checklist:

table · 3 cols
SymptomVerify withFirst response
Cache not helpingLatency and cost telemetryPrefix stability, reuse interval, model support
Wrong tierserviceTier plus ResolvedServiceTierSupported tier or move interactive traffic to default
Tokens up, quality flatInvocation logs plus pass rateLower effort for that task class
Frequent max_tokens stopsStop reason plus output distributionInspect prompt before raising ceiling

Maintain a capability record per model version and Region: supported cache TTL, tiers, effort levels, and fences—validate each request before send.

If you also operate a LiteLLM gateway on Fargate, encode those records in the router so one misconfigured profile does not inherit another team's cache TTL.

What builders should do this week

  1. Inventory defaults on production Bedrock profiles—especially effort after any Sonnet or Opus upgrade.
  2. Plot reuse intervals for stable system and tool prefixes; pick 5m versus 1h with the AWS break-even math, then confirm cache read and write lines in CUR.
  3. Pilot Flex only on supported models in latency-tolerant queues; log ValidationException rates.
  4. Set task-scoped maxTokens from measured P95 with headroom; alert on max_tokens stopReason spikes.
  5. Link spend to principals using the companion Tokenomics guide so experiments show up in the right cost center.

What people are asking

Does this replace model routing or distillation? No—AWS points to Effective cost optimization strategies for Amazon Bedrock for model choice, batch inference, and distillation. These four knobs sit inside a chosen model.

Can I mix Flex and prompt caching? Caching rules are independent, but both need model support checks. Flex failures are immediate; cache misses show up as write spikes.

Does Kimi K3.1 Pro highspeed change the math? Separate model card and pricing—rerun the same telemetry loop when you add Bedrock highspeed profiles.

Related reading

  • Track and cap Bedrock spend per IAM principal
  • Bedrock cost per task, not per token
  • Grok 4.7 reasoning effort on Bedrock
  • Bedrock prompt caching patterns
  • Self-service LiteLLM gateway on Bedrock
  • Amazon Bedrock tokenomics data lake
  • AWS AgentCore runtime (November)

Inference parameters, pricing multiples, and model support matrices reflect AWS documentation and the November 12, 2026 AWS Machine Learning blog post as we read them; confirm current Region and model card text before production rollout.

Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Nov 12, 2026

AWS Says Measure Cost Per Task, Not Per Token: Bedrock Agent Cost and ROI Guide (Part 2)

On November 12, 2026 AWS published Part 2 of its Bedrock spend series. Its core claim is that token price is the wrong unit: a model with double the list price can cost 65% less per task. This guide walks through the four hidden cost drivers, the formulas for cost per successful task, the levers AWS recommends, and how it says to prove an agent beats the human process.

Nov 12, 2026

Track and Cap Amazon Bedrock Spend Per IAM Principal With CUR 2.0 and AWS Budgets

On November 12, 2026 AWS published a walkthrough for tracking and capping Amazon Bedrock spend per IAM principal using only AWS-native features. Bedrock records who made each call, you activate the tags, read cost in Cost Explorer or a CUR 2.0 export, and an AWS Budgets action attaches a Deny policy at the threshold. This guide covers the steps, the delays that catch teams out, and the token-counting mistake to avoid.

Nov 11, 2026

AWS October 2026 ICYMI: Bedrock Models, AgentCore Gateway, and Strands Updates

Amazon machine learning blog ICYMI for October 2026 bundles Bedrock model launches, AgentCore availability features, structured JSON outputs, cost visibility, and Strands open-source agent tooling for builders shipping production agents.