What ThrottlingException means
ThrottlingException is the Bedrock error behind HTTP 429. AWS's own wording for the cause is that the request was denied for exceeding the account quotas for Amazon Bedrock.1 It is about your account's allowance, not about Bedrock being unhealthy.
That distinction decides what you do next. AWS documents two neighbouring errors that look similar and are not:
- 503 ServiceUnavailable: the service is short of capacity. AWS says this is not related to account-level quotas or rate limits, which return the 429.1
- 529 overloaded_error: the model cannot serve the request because of high demand or insufficient capacity. AWS calls it a transient capacity error, different from a 429 that indicates an exceeded account quota.1
A 429 is fixed by changing your quota or your demand. A 503 or 529 is waited out or routed around. Log the error code, the model id and the Region on every failure so you can tell them apart later.
Quotas are scoped. For the bedrock-runtime endpoint, token-per-minute quotas are per model and per Region, and one daily quota is per account and Region.2 A burst in us-east-1 says nothing about your allowance in another Region. Traffic to the separate bedrock-mantle endpoint is tracked against its own quotas even for the same underlying model.3
Why Claude hits the quota earlier than you expect
Bedrock inference is governed by token-based quotas, and some models use tokens at a higher rate.3 On bedrock-runtime the per-minute quota counts input and output tokens together against one per-model number.2 Three mechanics make Claude traffic throttle sooner than the raw token counts suggest.
Output burndown. Each output token consumes more than one token of quota. AWS lists 5x for Claude Fable 5 and for all other Anthropic models version 4.7 and below, 15x for version 4.8, 10x for Opus 5.5, Sonnet 5, Opus 5, Fable 5.1 and Fable 5.2, and 2.5x for Mythos 5, 5.1 and 5.2.4 Check the page for your exact model, since the list changes with each release.
Up-front deduction. At the start of a request, total input tokens plus max_tokens are deducted, and the request is throttled if that exceeds the quota. The deduction is adjusted during processing and unused tokens are replenished at the end.4 A generous max_tokens therefore limits concurrency even when completions are short.
Cache reads are free of quota. The final calculation is input tokens plus cache-write tokens plus output tokens times the burndown rate. Cache-read tokens do not count toward the quota.4
AWS's own example, with a 5x model: 3,000 input, 1,000 cache-write and 1,000 output tokens, with max_tokens of 32,000, deducts 36,000 at the start and settles at 9,000. With max_tokens of 1,250 the start deduction is 5,250 and it settles at the same 9,000.4
Lowering max_tokens to approximate real completion size is AWS's first suggestion when you hit the per-minute quota earlier than expected.4
Request a quota increase
Quota increases are not granted automatically.3 AWS splits the process by endpoint, so first confirm whether your traffic goes to bedrock-runtime or bedrock-mantle.5
For bedrock-runtime, AWS's steps are these:
- Open the Service Quotas console, pick Amazon Bedrock and find the quota for your model. If its Adjustable column says Yes, you follow the standard Service Quotas increase steps.2
- Request the increase on Cross-Region InvokeModel tokens per minute for your model. AWS says that for any combination of that quota, the on-demand tokens-per-minute quota and Cross-Model Max Tokens Per Day, you file against the cross-Region quota, and the support team then reaches out and offers to raise the other two.2
- If your traffic exceeds your quotas, the error guidance also points to your account manager or AWS Support.1
Conditions worth knowing before you file:
- AWS states that, because of overwhelming demand, priority goes to customers whose traffic consumes their existing quota allocation, and a request might be denied otherwise.2
- Quota increases are not granted for models scheduled for retirement; AWS says to check whether the model is Legacy or Deprecated first and consider the successor.2
- The quotas on your account can be lower than the published defaults, depending on regional factors, account age, usage history and payment history.3
AWS also names Reserved Tier and Provisioned Throughput for predictable, sustained throughput, depending on what the model supports; availability varies by model and Region.1 I have not read the pricing or lead times for either, so check the model's detail page.
An increase request is not a fix you can wait on during an incident. Treat it as capacity planning, and keep a second path for the hours before it lands.
Backoff with jitter, and when retrying stops helping
AWS's recommendation for ThrottlingException is retries with exponential backoff and random jitter.1 For 529 it adds: if the response carries a Retry-After header, wait that long, and avoid immediate or synchronized retries from many clients, which add load and delay recovery.1
import random, time
from botocore.exceptions import ClientError
RETRYABLE = {"ThrottlingException", "ServiceUnavailableException"}
def invoke_with_backoff(call, max_attempts=5, base=0.5, cap=20.0):
for attempt in range(max_attempts):
try:
return call()
except ClientError as e:
code = e.response["Error"]["Code"]
if code not in RETRYABLE or attempt == max_attempts - 1:
raise
# full jitter: sleep a random time up to the exponential ceiling
ceiling = min(cap, base * (2 ** attempt))
time.sleep(random.uniform(0, ceiling))Backoff handles bursts. It stops helping when the quota is a rate and your average demand is above it. Then every retry joins a queue that never drains, latency climbs, and callers time out. Signs you have crossed that line:
- Throttles continue after several backoff cycles, and they track your traffic curve rather than isolated spikes.
- Per-model token use in CloudWatch sits near the quota for minutes at a time.
- Raising attempts only increases p99 latency.
Retrying the same Region is the wrong tool at that point. Cap attempts, cap total wait to what the caller tolerates, and move the overflow elsewhere: another Region through cross-Region inference, another host for the same model, or a smaller model for work that allows it. Retries should be a budget, not a loop; the same limit applies at every layer, since stacked retries multiply.
Cross-Region inference
AWS describes cross-Region inference as routing through an inference profile, either tied to a geography such as US or EU, where Bedrock selects a commercial Region within that geography, or a global profile, where Bedrock selects any supported commercial Region.6 There is no additional routing cost; the price is based on the Region you call from.6 Geographic profiles keep processing inside the geography, which AWS recommends for data-residency requirements.6 Two cautions for throttling. First, cross-Region has its own quota, "Cross-Region InvokeModel tokens per minute", which is per model and per Region, separate from the on-demand one.2 Second, AWS's own guidance for meeting an availability target is to add bounded retries and multi-Region or multi-model fallback in your application, not to rely on the profile alone.6 Inference profiles do not currently support Provisioned Throughput.6
The same Claude model as three separate connections
Claude is served by Bedrock, by the Anthropic API and by Google Cloud's Vertex AI; Google documents Claude models and a quotas page for them.7 For failover purposes these are three independent accounts, each with its own limits, credentials and bill. A Bedrock quota raise does nothing for the other two, and the reverse.
| Bedrock | Anthropic API | Vertex AI | |
|---|---|---|---|
| Where the limit lives | Your AWS account, per model per Region | Your Anthropic organization | Your Google Cloud project quotas |
| How it is measured | Tokens per minute with output burndown; max_tokens reserved up front 4 | Requests, input tokens and output tokens per minute; cache reads do not count toward input limits 8 | See Google's Claude quotas page 7 |
| Throttle signal | 429 ThrottlingException 1 | 429, with retry-after when present 8 | Check the quota page for your model |
| How you get more | Service Quotas request, or account team 2 | Tiers rise with usage; higher limits can be requested 8 | Google's quota process |
Two details differ in ways that matter. Anthropic's output limit counts tokens as they are produced and ignores max_tokens, so the up-front reservation that bites on Bedrock does not exist there.8 And Anthropic's monthly spend cap returns a 429 of the same error type but with no retry-after header and an enforced_spend_limit_reached code; retrying fails until access resumes.8 Do not treat every 429 as a rate limit; read the code.
Before you wire up a second host, confirm that model access is approved on that account, that the model identifier is the one that host uses, and that features you depend on (caching, tool use, long context) are available there. Model ids differ between hosts; test each connection on its own before it sits behind a fallback.
Failover between your own connections
Failover moves a request from one of your connections to another. It does not make a provider stay up, and it cannot create capacity you have no account for. If Bedrock is throttling and you hold an Anthropic API key and a Vertex AI project with the same model enabled, a gateway can send the next attempt there.
INFRO is a BYOK control plane that does this over the connections you add. Its connection failover is same-model: when you name a model, it tries every enabled, healthy connection in your organization that serves that model's vendor, in the order you connected them, and a 429 counts among the upstream failures that move the request to the next connection. A provider 429 does not count against the connection's health, and keys that just answered 429 are tried last.9 Named routes try their targets in priority or weighted order.9 The details are in the failover docs (opens in a new tab).
Limits you should design around:
- Failover happens only before the first token. A stream that has started is not moved.9
- With a single connection there is nothing to fail over to.9
- INFRO's own refusals, such as a budget or allowlist decision, return immediately without failover.9
- Alternate hosts, a separate feature, let one connection list more API hosts for the same key, tried when the first cannot be reached. That helps with an unreachable endpoint, not with a quota, because the quota belongs to the account behind the key.
Each host bills you directly at your own rates, so a failover can change the price of the same tokens and starts with a cold prompt cache. Set the order with that in mind, and read what failover does to your bill before you make an expensive host the default overflow.
Checklist before the next throttle
- Log error code, model id, Region and host on every failed call, so 429, 503 and 529 are counted separately.
- Set
max_tokensnear real completion size on Bedrock Claude calls. - Use backoff with jitter, with a capped attempt count and a capped total wait.
- File the increase on the cross-Region tokens-per-minute quota in each Region where you throttle, and keep traffic flowing so the request is not judged on idle quota.
- Enable the same Claude model on the Anthropic API and Vertex AI, and test each connection alone.
- Decide which request types may overflow to a higher-priced host, and which should be refused instead.
- Run a drill by lowering a test quota or blocking the Bedrock connection, and confirm the fallback serves the request.
