AWS Bedrock Cost Optimization: Token Budgets, Model Selection, and Inference Profiles
Quick summary: Do not budget a Bedrock Knowledge Base as a two-OCU floor. NextGen OpenSearch Serverless has no minimum OCU and scales to zero after 10 minutes idle. Prompt shortening is off by default, and it cannot aim at an exact length such as 500 tokens.
Key Takeaways
- Do not budget a Bedrock Knowledge Base as a two-OCU floor
- NextGen OpenSearch Serverless has no minimum OCU and scales to zero after 10 minutes idle
- Prompt shortening is off by default, and it cannot aim at an exact length such as 500 tokens
- Monday, enable prompt shortening on one template, keep the original unless the shorter prompt scores at least as high, and do not aim it at an exact length such as 500 tokens
- AWS lifecycle notice (June 30, 2026): Amazon Bedrock Agents is now Bedrock Agents Classic, in maintenance for new customers after July 30, 2026

Table of Contents
The per-token price is the visible line. The bill is how many calls you make, how long the repeated prefix is, and whether a Knowledge Base is sitting on a Classic collection that cannot scale to zero.
How Bedrock pricing works
Bedrock charges on a per-token basis for model invocations. The pricing structure has two components:
- Input tokens: The tokens in your prompt (system prompt + user message + any context injected)
- Output tokens: The tokens the model generates in its response
Output tokens are consistently more expensive than input tokens, typically 3 to 5ร per token, because generation requires more compute than encoding. This asymmetry has architectural implications: architectures that generate long outputs are more expensive per invocation than architectures that inject large contexts but receive structured short responses.
Example cost calculation (Claude Haiku 4.5):
A customer service chatbot receives a message, retrieves 2,000 tokens of context from a Knowledge Base, and generates a 150-token reply:
- Input tokens: ~100 (system prompt) + 30 (user message) + 2,000 (retrieved context) = ~2,130 input tokens
- Output tokens: ~150
- Cost per invocation: (2,130 ร input rate) + (150 ร output rate)
At this message structure, the retrieved context dominates input cost. Injecting 2,000 tokens of context is significantly more expensive than the 30-token user message. This makes context efficiency (retrieving only the most relevant chunks rather than the most tokens) a primary cost lever.
Claude Haiku 5.5 (October 7, 2026) is the current volume Haiku. Anthropic says it costs around 75% less than Haiku 4.5 for most tasks. The Bedrock model card does not publish a per-token rate (the model is Marketplace-billed), so this example stays on the published Haiku 4.5 rates.
Model selection
Model choice is the biggest cost variable. It determines the per-token rate, and per-token rates vary by an order of magnitude across the Bedrock model catalog.
Selection framework
| Use Case Category | Recommended Model | Why |
|---|---|---|
| Summarization, classification, extraction | Claude Haiku 5.5 / Nova 2 Lite | Current volume Haiku (Oct 7, 2026); Haiku 4.5 remains the prior pin with the published rate |
| Structured output generation (JSON, tables) | Claude Haiku 5.5 | Current volume Haiku; structured outputs GA for all Claude models (Oct 20, 2026) remove retry-on-bad-JSON tokens |
| RAG-based Q&A with injected context | Claude Haiku 5.5 | Current volume Haiku; Haiku 4.5 remains the prior pin |
| Multi-step reasoning, complex analysis | Claude Sonnet 5.5 or 5 | Sonnet 5.5 (Sep 28, 2026) for agentic lanes; Sonnet 5 as prior pin until benchmarked |
| Code generation, technical documentation | Claude Sonnet 5.5 / Grok 4.7 | Both target repo-scale coding; Grok 4.7 has a 500K context; validate on your repo |
| Long-form content, nuanced judgment | Claude Sonnet 5.5 / Opus 5.5 | Quality-sensitive, cost is secondary |
| Extended autonomous jobs (multi-hour) | Claude Fable 5.1 | Current Mythos-class GA (Sep 1, 2026); Covered Model, so not a Sonnet drop-in. Keep Fable 5 as a prior pin until bakeoff. |
| Maximum reasoning quality, critical decisions | Claude Opus 5.5 | ZDR default on Bedrock (Sep 22, 2026; Opus 5 is the prior pin); for tasks where errors are expensive |
The practical rule: Start with Haiku for every use case, evaluate quality on a representative sample, and escalate to Sonnet only if Haiku quality is insufficient for the specific task. The 60 to 70 percent share is a planning band on this page, not a measured account.
Routing by task complexity

Figure: task routing in the article. The rows are alternatives. A simple task uses a smaller model. A hard task uses a larger one. The articleโs model IDs and savings claim stay in the post. Open the draw.io source.
For applications that serve multiple task types, implement model routing that selects the appropriate model per task:
def select_model(task_type: str, estimated_complexity: str) -> str:
# Pin to specific Bedrock model IDs in console before deploying.
routing = {
("extraction", "low"): "global.anthropic.claude-haiku-5-5",
("summarization", "low"): "amazon.nova-2-lite-v1:0",
("summarization", "high"): "anthropic.claude-sonnet-4-6",
("reasoning", "high"): "global.anthropic.claude-sonnet-5-5", # or sonnet-5 until benchmarked
("agentic_coding", "high"): "global.anthropic.claude-sonnet-5-5",
("critical_decision", "high"): "global.anthropic.claude-opus-5-5",
}
return routing.get((task_type, estimated_complexity), "global.anthropic.claude-haiku-5-5")A routing layer adds a hop. Any percent saved versus one large model is this pageโs planning band, not a measured account.
Token budget management
System prompt efficiency
System prompts are injected on every invocation. A 2,000-token system prompt costs 2,000 ร input rate on every call, regardless of what the user asks. System prompt inflation is the most common source of avoidable token cost.
Common system prompt inefficiencies:
- Repeated instructions that are already part of the modelโs base behavior
- Long role-play preambles when a shorter version produces the same behavior
- Full policy documents injected as context when only relevant sections are needed
- Verbose formatting instructions that could be condensed
Target: keep the system prompt short, then measure quality. The 500-token figure is a writing target on this page. Advanced Prompt Optimization cannot take an exact length, and the quality claim of 95 percent at half the prompt is not a benchmark in this post.
Managed option: Bedrock Advanced Prompt Optimization can shorten a prompt. Shortening is off by default. The job returns the shorter prompt only when it is shorter and scores at least as high. Otherwise you get the original. The documented example ratio is 0.72, which is 28 percent fewer template tokens. A ratio of 1.0 means the original was returned.
Context window cost vs quality
For RAG-based applications, the number of retrieved chunks directly determines input token cost. More chunks mean more context, higher accuracy (up to a point), and higher cost.
The optimal chunk count for cost efficiency is typically lower than the maximum the context window allows:
- Test your applicationโs accuracy at 3, 5, 10, and 15 retrieved chunks
- Measure accuracy gain vs cost increase at each step
- Most RAG applications reach diminishing returns at 5 to 7 chunks; beyond that, accuracy gains are marginal while cost increases linearly
Caching Repeated Context

Figure: prompt caching in the article. A repeated prefix can be read from the cache on a later call. The first call still pays for the full prefix. Caching applies on the models the article lists as supported. Token targets stay in the article. Open the draw.io source.
Bedrock Prompt Caching (available for supported models) caches prompt prefixes across invocations. If your system prompt + static context is the same for every user in a session, cached tokens are significantly cheaper than re-processing them on every call.
When caching helps most: applications with a fixed, long system prompt and static knowledge base context that are reused across many invocations. Agentic workflows where multiple model calls share the same initial context.
Knowledge Base cost model
Bedrock Knowledge Base has charges beyond model invocations:
- Vector storage: the backing store. NextGen OpenSearch Serverless has no minimum OCU and scales to zero after 10 minutes idle. Classic collection groups cannot scale to zero. The $0.24 per OCU-hour and $346 a month figures below were not re-checked on 27 November 2026.
- Retrieval queries: Per-query charge for each Knowledge Base lookup
- Embedding generation: Tokens processed to generate embeddings during ingestion
Do not budget every Knowledge Base as a two-OCU floor. That floor is a Classic-collection behavior, and the dollar amount was not re-checked. A low-volume Knowledge Base on NextGen should be modeled from the usage page, not from $346.
Cost-reducing alternatives:
- Aurora PostgreSQL with pgvector: Pay only for database instance cost, no minimum floor. Correct for low-to-medium query volumes.
- Amazon OpenSearch Service (managed clusters): For high-volume production workloads where the per-hour node cost is predictable and lower than Serverless at scale.
- DynamoDB with Bedrock Knowledge Base: Not yet a supported backing store.
For most Knowledge Base use cases under 10,000 queries/month, Aurora PostgreSQL with pgvector has a lower total cost than OpenSearch Serverless.
Bedrock Agents Classic: orchestration cost
Bedrock Agents Classic add an orchestration layer on top of model invocations. Each agentic loop iteration (user input, model call, action, model call, response) generates multiple model invocations. The total token cost of an agentic interaction is multiplicative relative to a single-turn Q&A.
Cost drivers unique to Agents:
- Multi-turn orchestration: Each planning step, action call, and response synthesis is a separate model invocation
- Large system prompts: Agents inject substantial orchestration context into every model call
- Action result injection: Tool call results (API responses, code execution output) are injected back into the model context
Token multiplier effect: A user action that requires 3 agent steps (plan, execute, synthesize) consumes roughly 3ร the tokens of a single-turn response to the same question, plus the overhead of the agent orchestration prompt.
For applications where agentic orchestration is optional, provide a direct RAG path for simple queries and only route to the agentic path for queries that require multi-step reasoning or tool use. Most โdoes this need an agent?โ classification can be done with a cheap Haiku call.
Guardrails: evaluation cost
Bedrock Guardrails evaluates content against your configured policies (content filters, sensitive information redaction, topic denial, grounding check). Each evaluation is charged per text unit.
Guardrails cost optimization:
- Apply Guardrails only to user-facing inputs and outputs, not to intermediate agentic steps where the content is not directly user-controlled
- For grounding checks (hallucination detection), scope to final responses only, since checking every intermediate step multiplies cost without improving user safety
- Test whether content filters at lower sensitivity levels provide sufficient protection before enabling maximum sensitivity, as over-filtering increases the reject-and-retry loop cost
Cross-region inference profiles
Cross-region inference profiles route Bedrock API calls to whichever supported region has available capacity for the requested model. They provide:
- Higher effective throughput limits: Your requests distribute across regions rather than competing for single-region capacity
- Reduced throttling errors: Fewer requests hit
ThrottlingExceptionduring peak periods - Automatic failover: If one region has a model outage, requests route to another automatically
Cost implications: For some models, inference profiles offer the same per-token pricing as single-region on-demand calls. For others, the profile pricing is slightly different, so verify against the Bedrock pricing page for your specific model before assuming parity. The primary value is availability and throughput.
When to use inference profiles: Any production application with sustained throughput requirements or strict latency SLAs. The cost of throttling errors (retries, user-visible failures) often exceeds any pricing difference.
Monitoring Bedrock costs
CloudWatch metrics to track
InvocationLatency: P99 latency per model; slow responses may indicate model degradation or routing issuesInputTokenCount/OutputTokenCount: Track per-model, per-application to catch prompt inflationInvocationClientErrors/InvocationThrottles: Throttle rate indicates whether capacity is becoming a cost risk
Cost attribution
Tag Bedrock API calls using the bedrock:InferenceProfileARN or application-level tags to attribute costs per feature, team, or customer tier. Without tagging, Bedrock costs appear as a single line item in Cost Explorer, making it impossible to determine which feature or use case is driving spend.
Estimating costs before production
Before deploying a new Bedrock-backed feature, run a cost estimate:
- Sample 100 representative user inputs for the feature
- Run them through the intended model and record input/output token counts
- Calculate average tokens per invocation
- Multiply by expected daily invocation volume
- Apply current pricing to get estimated daily and monthly cost
This 30-minute exercise catches architectures with inadvertently high token costs before they hit production billing.
When the caller is an eCommerce agent
Token budgets still apply, and three extra meters show up:
- Tool retries. A timeout that the model treats as โtry a different writeโ spends tokens and can duplicate an order. Stop the turn; idempotency is a cost control.
- Optional runtimes. AgentCore Browser or Code Interpreter on every support turn billed about 3ร the platform line in support-shaped pilots, without a better answer. Default them off.
- Session volume versus seats. A July 2026 first-party benchmark put one AgentCore support shape near $791 per month at 50,000 sessions (platform plus a small model). That is a floor, not your integration cost. Model it in the AgentCore pricing calculator and read eCommerce agent cost before you quote a project.
A stale-inventory loop that re-calls getInventory until a number changes is a cost incident and a correctness incident. Cap the calls.
Ask whether the step needs a model (November 17, 2026)
On 17 November 2026, AWS argued that the largest cost lever is whether you call a model at all. Take each step through three questions and stop at the first yes: can a rule check success (format, schema, keyword, range); can a model write that rule once, for you to review and commit; is the answer one item from a fixed list. If all three are no, the step is open-ended and belongs on the smallest Bedrock model that meets the quality floor.
Their example that a keyword fast path resolving 95 percent of messages leaves 1 in 20 for a model is illustrative arithmetic, not a benchmark. The Strands Decider README figure they cite, about 95 percent correct at confidence 0.9 on short classification, is experimental and theirs. Check any escalation threshold on your own labeled set. Keep authorization, such as a refund limit, in code.
Large JSON tool results are the other way a model call gets expensive after you have already decided the step needs one. See AgentCore JSON context.
A sequence for a bill that already exists (19 November 2026)
On 19 November 2026, AWS and Accenture published a sequenced approach to Bedrock token spend. The percentages below are Accentureโs client results or AWSโs cited benchmarks. They are not FactualMinds engagements. Two of the four engagements applied several levers at once, so those savings are not attributable to one change. The blog says results vary.
Accentureโs reported range, where they measured, was about 40 to 85 percent lower token spend:
- A large enterprise that sent every request to a frontier model, with no caching, tiering, or batching. Model tiering, prompt caching, and batch together cut monthly token cost by 85 percent. They say about 15 percent of tasks still needed the top model. The saving was not split by lever.
- A telecom operator at $12 million a year in tokens, down to $3.8 million (68 percent), with input tokens down 70 percent, from triage routing, semantic caching, and context compression together. Accenture says they checked quality against the operatorโs previous benchmarks. The client name is withheld.
- An insurer using prefix caching and a mining operator using a semantic cache. About 40 percent combined, one cache layer each, no routing change and no training.
Do not average those into a planning factor. The useful part is the order.
Attribute first. Without a tag, the invoice is one Bedrock line. Application inference profiles, one per workload, tagged by team, cost center, and environment, then activated as cost allocation tags, are how the blog says you get the split. CUR 2.0 is the bill. CloudWatch is invocation count and latency. Model invocation logging is the model and the input and output token counts. Accentureโs name for the business metric is cost per business transaction: every model call, retry, tool call, and handoff that produced one successful outcome, including the failed attempts. That definition is theirs. Use it if you need a number a product owner can read. Do not invent the numerator.
Phase 1, configuration. Prompt caching on repeated prefixes. AWS describes cached input as up to 90 percent cheaper on supported models. See the caching section above and the prompt caching docs. Batch inference for work that can wait, at 50 percent below on-demand for select models, per the pricing page. Results land in S3. Nightly reports and eval runs fit. A checkout path does not.
Phase 2, architecture. Intelligent prompt routing inside a model family. AWS says up to 30 percent savings without an accuracy drop, and says to check the pricing page for a routing charge. RAG narrowing (fewer chunks, metadata filters, rerank) is the same idea as the chunk test already on this page. Accentureโs additional patterns are context scoping (each agent sees the slice for its step) and context compression before the model. Apply them after you can see the tagged bill move.
Phase 3, only after a baseline. Semantic cache: a vector store in front of the model, which the blog implements with ElastiCache. The AWS benchmark they cite is 63,796 real chatbot queries, a 0.90 similarity threshold, a 74.5 percent hit rate, 92.3 percent accuracy, and 72.5 percent cost savings. That is that benchmark. Set an expiry so a cached answer cannot outlive the fact, and keep Guardrails on every route. Distillation, teacher to a smaller student, is the blogโs last lever: AWS says distilled Bedrock models are up to 500 percent faster and up to 75 percent less expensive than the original, with under 2 percent accuracy loss on RAG-shaped tasks. โUp toโ is their ceiling. It is the wrong first change on a workload you have not measured.
The operating rule in the post is the one to keep: one lever at a time, a held-out set from production traffic, and a written rollback if quality drops. Regulated workloads should file that test with the change record. AgentCore Evaluations is the batch eval path they point at for agents. The Well-Architected Agentic AI Lens names this as AGENTCOST02.
The Getting Started list below is still the right order for a first workload. This section is for a workload that is already spending. Do not quote Accentureโs 85 percent as the result of switching a new bot to Haiku.
Getting Started
For organizations deploying their first production Bedrock workloads, the cost optimization sequence is:
- Start with Haiku for all use cases and validate quality before upgrading models
- Enable prompt shortening on one template. You cannot set an exact token target. Keep the original if the score drops.
- Do not assume a two-OCU OpenSearch Serverless floor. NextGen scales to zero. Use Aurora pgvector when you want a database bill you can see without a Classic minimum.
- Enable cross-region inference profiles for production workloads
- Tag all Bedrock calls by feature and team for attribution
For AWS Bedrock architecture and implementation consulting, including cost-aware RAG design, agent orchestration patterns, and Bedrock deployment on your AWS account, talk to our team.
Contact us about Bedrock cost optimization
Frequently asked questions
How is Amazon Bedrock pricing structured?
Which Claude model on Bedrock is most cost-efficient?
When should you not add a Knowledge Base on a Classic collection?
When should you not turn prompt shortening on?
What are Bedrock cross-region inference profiles and when do they save money?

Ecommerce Growth & Retail Marketplaces
Ecommerce growth leader working across ratings and reviews, Walmart review syndication, retail marketplaces, and email and SMS deliverability. Writes the FactualMinds guides on AWS cost optimization and FinOps for teams that need cloud spend to stay predictable.




