20 min leer

How to Keep AI Agents Running Through LLM Rate Limits and Outages

Abstract palette-knife painting with open aubergine and ochre arcs across warm ivory.

By submitting, you consent to our use of your data. Privacy Policy.

Categoría

Agentes de IA

Compartir artículo

Key takeaways

• Anthropic's API had 20 incidents it labelled major or critical in the 90 days to 11 November 2026. Twelve of them reached more than one model line.

• A rate limit can stop an agent on a day with no incident at all, and the uptime promises of AWS and Google do not count it.

• The first protection is the same model, at the same version, in a second place. Inside the EU, that second place starts with a third to 44% of the default capacity on Azure.

• Capacity takes days to weeks to get, and the newest models have no reserved lane. A standby needs its quota, and some traffic, before the day it is used.

• A different model is a different agent. A back-up that first runs during an outage is the part most likely to fail.

An AI agent stops when its model provider throttles it or goes down, and both happen often. Anthropic's API had 20 incidents it labelled major or critical in the 90 days to 11 November 2026, and a rate limit can stop an agent on a day with no incident at all. Keeping agents running takes three things, in this order: the same model in a second place, capacity you asked for before you needed it, and a different model as a back-up, which only counts if it has already run your real work.

I learned the first of these in a demo. Early on we had a medical client, at a time when GPUs were very constrained. The entire time we were testing, the agent worked well. Then, whenever we had a demo, it would suddenly hit rate limits. In the final demo we had the rate limiting issue on Azure, which just didn't have enough GPU compute in the one region we were deployed in. The client lost trust in us, because we had the demo call and it just didn't work. We did a follow-up a week later, but they no longer trusted us. Their reasoning was that the same thing would happen inside the hospital.

This post covers hosted model APIs and what sits in front of them: what goes wrong, the protections in the order I would add them, and what we run at Beam, including what we built ourselves and later replaced. Self-hosted open-weight models are out of scope.

The terms come from Amazon's engineers, who separate failover from fallback. Failover repeats the work "against a different copy of the endpoint". Fallback uses "a different mechanism to achieve the same result" (Gabrielson, Amazon Builders' Library). For a model call, failover is the same model in another region or cloud, and fallback is a different model. The difference runs through everything below: a failover leaves the agent's behaviour alone, and a fallback changes it.

Four responses to a failed model call: retry, failover, fallback, or queue and hand over.

Rate limits stop AI agents without any outage, and uptime promises mostly miss them

A rate limit is the most work a provider will accept from you in a period, counted in requests and tokens per minute and enforced over windows as short as a second. A quota is the capacity you have been granted. Go over either and the API answers with HTTP 429, "Too Many Requests", and the agent's step fails unless something catches it.

Outages are the visible half. From 14 August to 11 November 2026, Anthropic's status page lists 20 incidents on its API that it labelled major or critical. They were posted for 20.5 hours in total, with a median of 36 minutes (Claude status). Twelve of the 20 reached more than one model line or the whole platform, so a second model from the same provider would not have been enough. I use Anthropic as the example because its page publishes enough detail to count. The pages can't be compared with each other: OpenAI labelled 19 of its 21 API incidents in the same period "degraded performance", including one that ran for more than five hours. Clouds fail as well, as in the October 2025 AWS outage.

Claude API incidents from 14 August to 11 November 2026, with 20 major or critical incidents across 16 days.

Throttling is the half nobody posts on a status page. Microsoft's documentation says that pay-as-you-go deployments share a pool, and "when demand approaches capacity limits, the system temporarily reduces your deployment's effective rate limit", which "typically resolves within a few hours". It adds that "many customers misinterpret capacity-related 429s as quota problems" (Microsoft Learn). Your quota did not change and you did not send more. The region ran short. That matches what I saw in that demo.

Some 429s never clear by waiting. When an Anthropic organisation reaches its monthly spend cap, the API returns the same 429 with no retry-after header, and retrying "fails until access resumes", on the first day of the next month (Anthropic). OpenAI has four such codes, for credit, spend and usage limits (OpenAI). An agent that treats every 429 as "wait and try again" can wait for weeks.

Three causes of HTTP 429 errors: a request burst, exhausted shared capacity, or a spending cap.

Uptime promises mostly miss this. AWS and Azure commit to 99.9% for their model services and Google to 99.5% for Gemini, and the remedy is a credit of 10% to 25% of that month's bill. Amazon Bedrock's agreement counts only requests that return "a 500 error code" (AWS). Google says a pay-as-you-go 429 "isn't counted against your error rate" (Google Cloud). Microsoft calls its standard deployments "best-effort service" (Microsoft Learn). Anthropic's own API offers "best-effort availability" and publishes no commitment (Anthropic). As far as the contract is concerned, an agent throttled for an hour may have had no downtime at all.

An agent feels this more than a chat product does, because one task is many calls. Coding agents average 8.8 model calls per task in one 2026 study of about 4,300 sessions (TraceLab, 2026 preprint). If each call, after its retries, succeeds 99.5% of the time and nothing else catches a failure, a 9-call task completes 95.6% of the time and a 30-call task 86%.

Illustrative task-completion curves showing how per-call success rates compound across a multi-call workflow.

How we see it at Beam

GPUs were very constrained back then. They still are. It's better, but you still have these issues from time to time. We used to face a huge amount of this. Right now we don't face that much, but we still face it. What stays with me from that demo is that the entire time we were testing, it worked well. It failed when the client was on the call.

Run the same model in a second place first, and expect small differences

The first protection against an LLM outage or a regional rate limit is failover: the same model, at the same version, somewhere else. The agent's prompts and outputs stay as they were tested.

Every large cloud sells routing across its own regions: Azure, Amazon Bedrock and Google Cloud each have an option. These spread load, and they are not failover. Microsoft says of its own options that "if the primary region experiences an interruption in service, all traffic initially routed to this region is affected", and that this routing "doesn't replace application-level regional failover" (Microsoft Learn).

So teams that run agents at scale add a second place of their own. Intercom serves the same Anthropic models through "AWS Bedrock, GCP Vertex, or Anthropic's own infrastructure" (Intercom, August 2025). After an upstream incident in June 2026, GitHub said it is "reducing our reliance on any single inference provider for a given model" (GitHub, availability report for June 2026).

Check two things before you rely on it. First, the copies are not identical. Microsoft's rule for gateways is to "always make sure that those endpoints use the same model at the same version" (Azure Architecture Center). AWS says features reach Claude on Bedrock on an "AWS integration timeline", while Anthropic's own platform has them the same day (AWS). Second, a data boundary shrinks the pool. On Azure, the default quota for an EU Data Zone deployment is between a third and 44% of the Global figure at every tier (Microsoft Learn), and Google's EU endpoint draws on "separate regional capacity pools" (Google Cloud). "EU" also means three different boundaries.

A comparison of EU processing boundaries and capacity options across Azure, Amazon Bedrock and Google Cloud.

A second place for the same model does not help when the model itself is withdrawn. From 13 June to 1 July 2026, Claude Fable 5 and Mythos 5 were withdrawn by their provider on every channel at once, for almost 19 days (Claude status). Only a different model covered that. We have written about that risk separately, in three model cut-offs in 14 months.

How we see it at Beam

That demo is how we came to build an LLM router into our platform, with multiple deployments of each model. We would do a deployment in Frankfurt, another in Sweden, another in Switzerland, so that even if one region went down, the calls routed to another. I wrote the first version in April 2024. It spread each model's calls across those deployments and tried again elsewhere when one failed.

Capacity has a lead time, so ask for it before you need it

A second deployment only helps if it has capacity, and capacity is granted over time, not bought on the day. Amazon's engineers call the principle static stability: "be ready for impairments before they happen", with the spare capacity already in place (Amazon Builders' Library). Three facts make that harder for model APIs than for servers.

  • Requests are ranked by usage. Microsoft processes quota increases in order, and "priority goes to customers who actively use their existing quota allocation" (Microsoft Learn). AWS says the same: "Due to overwhelming demand, priority will be given to customers who generate traffic that consumes their existing quota allocation" (AWS). A standby you set up for emergencies has no usage, so it is last in line.

  • It takes days to weeks. The only published times are Azure's "several days" for reserved-capacity quota (Microsoft Learn) and Google's "a few minutes to a few weeks" for a reserved-capacity order (Google Cloud). On vendor forums in 2026, customers reported waits from 8 days to 5 weeks on Azure (Microsoft Q&A) and from 15 days to 3 weeks on Amazon Bedrock (AWS re:Post), and some requests were refused for lack of capacity in the region. The slow cases are new subscriptions and new models, which is the position a fresh standby is in.

  • The newest models have no reserved lane. Anthropic's Priority Tier is "no longer available for purchase" (Anthropic), and Bedrock's reserved and priority tiers cover none of the current Claude models (AWS). Where a reservation exists it has a floor, about $3,900 a month for the smallest global deployment on Azure (Azure pricing), and Microsoft notes that "reservations don't guarantee capacity" (Microsoft Learn).

Capacity lead times, separating vendor statements from dated customer reports and Beam planning guidance.

Supply is still short. Microsoft's finance chief told investors on 28 October 2026 that "customer demand continues to exceed available supply" (Microsoft, first-quarter earnings call).

There is a second condition. A standby that takes all the traffic at once can be throttled for ramping too fast. Anthropic applies "acceleration limits" when an organisation has "a sharp increase in usage" (Anthropic), and OpenAI has an error for a request rate that "increased too quickly", which can occur within your limits (OpenAI). GitHub saw the result on 8 June 2026, when a problem at one provider caused "temporary unavailability and rate limiting on secondary failover systems" (GitHub status). The standby needs to be carrying some traffic already. For the same model in a second place that is easy, because sending it a share of normal calls changes nothing about the answers.

An unused standby deployment compared with a standby that receives regular traffic and switching tests.

How we see it at Beam

All of these model providers give us a certain quota, let's say 30 million tokens per minute. We need to be very careful about requesting these quotas ahead of time. If we see we are going to need 100 million tokens per minute two months from now, we need to plan ahead. In practice we work roughly two to three weeks in advance to reserve extra capacity. When a customer wants to go from 500 tasks to 5,000, the bottleneck is not that the servers can't spin up. It is the token threshold, because there is a limited amount of GPUs in the world.

A different model is a different agent, so run the back-up before you need it

When every copy of a model is unavailable, the last automatic option is fallback: a different model. Amazon's engineers "almost never use" fallback in their own systems, and their reason applies here: "One of the worst things about fallback is that it isn't exercised regularly and is likely to fail or increase the scope of impact when it triggers during an outage" (Gabrielson, Amazon Builders' Library).

Amazon can avoid fallback by making its primary systems more reliable. A buyer of a model API can't do that, so for a step that must not stop, a different model is unavoidable. The same article gives the condition: "If fallback is essential in a system, we exercise it as often as possible in production." For a model, that means three things.

  • It has passed the step's test cases. A different model formats output differently and reads instructions differently. In a March 2026 study of late-2025 models, handing a conversation to another model for a single turn moved task success by anything from 8 points down to 13 points up. Assembled, which tests every prompt against its first two providers, puts the cost at 20% to 30% more prompt development time (Assembled, June 2025).

  • Its quota is already in use. A different model cannot take a share of a step's live decisions without changing some of them, so give it work of its own, such as another step where it is the first choice. Then it has a usage history and a rate that can rise from a base.

  • You switch on purpose, on a schedule. Intercom's Fin team found that as providers became more reliable, outages stopped testing the switch for them, "which makes it important to regularly test our systems by causing controlled outages" (Intercom, August 2025).

Fallback catches a failed call or invalid output, while a plausible wrong answer needs an evaluation check.

Two limits remain. Providers mostly fail one at a time, and sometimes they don't. In 18 of the 20 Anthropic incidents above, OpenAI's status page showed no API incident at the same time. On 29 September 2026, Anthropic and Azure OpenAI's Sweden Central region were both failing during the same hour. And a fallback fires on a failed call. A provider that returns a successful response with an empty or wrong answer does not trip it. Catching that is the job of the step's own checks, which I cover in how to run evals on your agents.

How we see it at Beam

In Beam, the model is a setting on each step of an agent, and on paid plans a step can list fallback models in order. If one model stops, the step reroutes to the next. A fallback takes over when the call fails, and since September 2026 also when the output does not match the step's schema. It does not catch a well-formed wrong answer. For that, a step can be re-run when its evaluation score drops below a threshold you set, and can fail the task if the score stays low.

The list is the first thing I would check on any agent that must not stop: which model is second for each step, and whether anyone has run that step's cases on it.

Buy the routing layer, and treat it as one more dependency

If your team builds its own agents, buy this layer. If a platform runs them for you, ask which gateway it uses and who patches it. An LLM gateway is a proxy between your agents and the model providers. Your code calls one endpoint, and the gateway holds the keys and handles retries, failover, fallback and logging. Most large companies already have the problem a gateway solves: in a16z's January 2026 survey of 100 Global 2000 executives, 81% used three or more model families in testing or production (a16z).

The gateways differ less in features than in how you run them and where they can process data.

Six AI gateways compared by hosting, EU processing and dated operational considerations.

A gateway is also one more thing that can fail, and it holds every provider key you have. LiteLLM's release pipeline was compromised twice in 2026, on 24 March and 21 October, and in the second attack the intruder had "a primary focus on upstream inference API tokens" (LiteLLM). OpenRouter returned errors on all API endpoints for 38 and 35 minutes on 17 and 19 February (OpenRouter). Two of the best-known gateways changed hands this year: Portkey went to Palo Alto Networks in May, and Stripe announced in August that it would buy OpenRouter (Stripe). Pin the version you run, and know what your agents do when the gateway itself is down.

One rule matters for agents: let the gateway change where a model runs, and never which model runs. Sierra drew the same line in February 2026: "When an inference task silently switches to a different model because a provider is constrained, the agent's decision-making can change" (Sierra). Routers that pick a model per request suit chat. OpenRouter says its new Auto Router "stayed on the same model for nearly nine of every ten agent turns" in beta (OpenRouter), which means the model changed on about one turn in ten. We keep the model fixed per step, as described in assigning a model to each step.

How we see it at Beam

We built all of this infrastructure in-house back then. If you're building a company right now, you should use a managed router such as OpenRouter. It provides everything out of the box: you tell it which model you need, and it finds the right place to run it. You can build sophistication, but it needs to have a purpose.

We made the same call for ourselves this year, with one difference. We looked at OpenRouter for Beam and decided against making it our core, because it charges a percentage on top of the provider's price. Rate limiting and ease of access are real plus points. For us the question was cost against value, and I would use it as the backup emergency generator, not the main power supply. So in August 2026 we retired the router we had written and moved every model call behind an open-source gateway that we run in each of our regions, pinned to a fixed version.

What to check before an AI agent goes live

Each protection above answers one question, and each comes from a method reliability engineers already use. These six questions are how I would review any agent a business depends on, on our platform or anyone else's.

Six reliability questions covering critical steps, retry ownership, alternate deployments, capacity, fallback testing and switching drills.

The first question is for the business, not the engineers. A nightly reconciliation can wait an hour in a queue. A decision a customer is waiting for can't, and when every model behind it is out, it should go to a person and say so. In Beam, a step that still fails can escalate the task to a person, a group or a channel.

On retries, which every guide covers: retry in one layer only. Amazon's example is a call five services deep with three retries at each layer, which multiplies the load 243 times (Amazon Builders' Library). The OpenAI and Anthropic SDKs already retry twice by default, so a retry loop of your own on top multiplies theirs.

How we handle LLM rate limits and outages at Beam

Our setup has changed several times, and the changes are the useful part.

A timeline of Beam routing and fallback infrastructure from before April 2024 to August 2026.

We started with one deployment in one region and learned in front of a client what that costs. In 2024 we built our own router and spread each model across several deployments. We looked at an existing gateway at the time and ruled out anything hosted by someone else, because customer data could not flow over a third party's servers and had to stay on EU-based ones.

Over 2025 we added more regions and more providers. In February 2026 we made the back-up explicit: an ordered list of fallback models on each step, chosen by the person who builds the agent. Until then the platform chose the back-up model itself when a call failed. That kept tasks running, but nobody had picked or tested the model that took over, and it moved work onto more expensive models without anyone deciding that. In August 2026 we replaced our own router with an open-source gateway.

What I would tell a team starting today is shorter than our history. Don't build the routing layer. Keep the model fixed per step. Ask for capacity weeks before you need it, and earlier still in a region or with a provider where you have no usage history. List a back-up model for every step that must not stop, and run that step's cases on it before the day it is needed.

The last of those is the limit of our own setup. Every step can carry a fallback list, and running a step's test cases on its back-up model is still something the builder does by hand. It is the part of this post I would check first on any agent, ours included.

So how do you keep AI agents running through LLM rate limits and outages? Put the same model in a second place, get that place its capacity before you need it, and keep a different model behind it that has already done the work.

Common questions about LLM rate limits and fallback

What is LLM fallback?

LLM fallback means sending a request to a different model when the first one fails. It differs from failover, which sends the request to the same model in another region or cloud. Failover leaves an agent's behaviour unchanged. Fallback changes it, so the back-up model needs the same testing as the primary.

Why do I get 429 errors when I am under my quota?

A 429 can come from a short burst, since Azure checks request rates over windows of 1 or 10 seconds. It can come from shared capacity running short, which Azure says typically clears within a few hours. It can also mean a spend cap or a credit balance was reached, which no retry clears.

Does an uptime SLA cover rate limits?

Mostly not. Amazon Bedrock's agreement counts only requests that return a 500 error, and Google does not count pay-as-you-go 429s against its error rate. The public commitments are 99.9% at AWS and Azure and 99.5% for Gemini on Google Cloud, with a credit of 10% to 25% of the month's bill as the remedy.

Should I use OpenRouter or build my own LLM gateway?

Use one that exists. A managed gateway such as OpenRouter gives you failover and fallback without building them, and open-source gateways suit teams that must run the gateway inside their own infrastructure. Check where it processes data, pin the version you run, and plan for the gateway itself being down.

Does Beam switch to a different model when a provider fails?

Yes, when the step lists one. In Beam, each step of an agent has its own model and, on paid plans, an ordered list of fallback models. If a call to the first model fails, the step moves to the next model on its list.

Figures, prices and product details as of 12 November 2026. Quotations are from each vendor's own documentation or post unless stated. The traffic shares in the standby figure are illustrative.

Empieza hoy

Empezar a crear agentes de IA para automatizar procesos

Únase a nuestra plataforma y empiece a crear agentes de IA para diversos tipos de automatizaciones.

Empieza hoy

Empezar a crear agentes de IA para automatizar procesos

Únase a nuestra plataforma y empiece a crear agentes de IA para diversos tipos de automatizaciones.