Accessibility Adjustments

Use these optional tools to adjust reading and display preferences. These tools cannot resolve every accessibility barrier. Please contact the website owner if you need assistance.

  • Text adjustments
  • Content scaling 100%
  • Font size 100%
  • Line height 100%
  • Letter spacing 100%
  • Colour adjustments
  • Orientation adjustments

AI Agents

Amazon Bedrock Gateway stops AI requests when the budget runs out

Bedrock Gateway can reject model calls before they incur inference costs. A separate smart-routing preview tests cheaper model choices against real traffic.

An iridescent ribbon loops across a grid in AWS’s Bedrock Gateway spending illustration
Spending controls illustration from the Amazon Bedrock Gateway product page. Credit: AWS.
Listen to this article

AWS put Amazon Bedrock Gateway and smart routing into gated preview on December 1. The two features address different problems: a budget tells a caller when it has to stop spending, while a router tries to make an individual request cheaper. If a runaway agent is your problem, I would start with the budget.

A dollar ceiling, not just another billing alert

An administrator can assign daily, weekly, or monthly limits to users or groups. AWS also lists IAM roles as a budget target. If a caller reaches the limit, the gateway rejects further requests before sending them to a model. It can also restrict which models callers can use. This covers inference passing through the gateway, not spending by apps that still call a provider directly.

The AWS preview notice says the gateway identifies callers through IAM or an identity provider such as Okta or Microsoft Entra ID. Each request produces an S3 record with the caller, model and cost. CloudTrail records changes to spending limits. Those records answer different questions: what ran up the bill, and who changed how much a caller could spend?

Smart routing needs a quality test, not just a savings estimate

The preview lets customers choose models for a router and observe what it would have selected on live traffic before moving production requests over. Amazon’s launch explanation identifies Anthropic and OpenAI models for the preview. Its early savings estimate of 40% to 50% is relative to always using the strongest model in a family. That isn’t a promise about your traffic or every provider.

Shadow routing can show what the router would pick and how much that choice would cost. It doesn’t tell you whether the cheaper model would finish the job to the same standard. Take a sample where the router proposes a cheaper model, run both candidates, and compare accepted results, retries and total cost per finished job.

Which preview is this?

Both features are open to selected customers, not generally available. Bedrock Gateway sits in front of model calls. It is not AgentCore Gateway, which can sit in front of agent tools. And it isn’t required to try Amazon Ergo 1.0, which AWS released separately.