A Guth Labs publication ↗
Back to News

AWS previews spending limits and automatic model routing for Bedrock

Amazon Web Services announced gated previews of Amazon Bedrock Gateway and smart routing on December 1.

Source: AWS: December 1 re:Invent announcement

Water flows through a green ceramic weir into three shallow cream channels.
AI-generated editorial illustration

The announcement describes two separate controls: a gateway that can stop requests when a spending limit is reached, and a router that selects a model for each request.

Bedrock Gateway can assign a dollar limit to a user, group or AWS Identity and Access Management role. AWS says the gateway can connect to existing identity providers, including Okta and Microsoft Entra ID, and serve multiple AWS accounts. Changes to limits are recorded in AWS CloudTrail. AWS says the gateway also supports models hosted outside Bedrock, including models customers run themselves.

Smart routing chooses within a model family based on the request and a customer's cost and quality goals. The preview supports Anthropic and OpenAI models. AWS says customers can test routing on real requests to see which model it would have selected and what the estimated savings would have been, without changing how their application handles those requests. AWS reports 40% to 50% lower inference costs in early testing than always using the strongest model in a family, at comparable quality in that testing. That is not a guaranteed saving.

The gateway gives teams a way to cap spend. The router offers a separate choice: test whether a cheaper model can do some of the work before switching production traffic.

Sources and citations

Revision history

Published . No corrections recorded.

Topics

Related stories