How it works · 12 of 27 Core

How do AI API rate limits, quotas and reserved throughput work?

And a second supplier

Rate limits, quotas & reserved throughput: A hosted model allows a fixed number of requests and tokens a minute, refilled continuously; above it requests fail with "429", so teams smooth bursts, reserve capacity for what must not wait, and keep a tested second supplier for outages.

Loading the animation…

Say it like this A provider's rate limit is a tank refilled at a fixed rate: above it, requests get 429 errors, so you smooth bursts, buy reserved capacity for what must not wait, and keep a tested second supplier for when the first runs dry.

Under the hood — for builders
Worked example: what one real limit allows
Claude Sonnet 5.5 on Anthropic's Start tier: 4,000 requests and 2 million input tokens a minute. Go over and "you get a 429 error describing which rate limit was exceeded."
Terms: rate limit and 429
Rate limit: requests or tokens allowed per minute, per model. 429: the error for "too many requests"; a retry-after header says how many seconds to wait.
Terms: spend cap and ramp limit
Spend cap (quota): a monthly ceiling; Anthropic's returns a 429 with no retry-after until the month turns. Ramp limit: a cap on how fast usage may grow.
Terms: reserved throughput and fallback
Reserved (committed) throughput: capacity paid in advance, used or not; Anthropic calls it Priority Tier. Fallback: a second model or provider, ready behind a switch.
The tank is the real algorithm
Anthropic uses "the token bucket algorithm": "capacity is continuously replenished up to your maximum limit, rather than being reset at fixed intervals."
Bursts count, not just the minute
"A rate of 60 requests per minute (RPM) might be enforced as 1 request per second". A limit is a ceiling: "maximum allowed usage, not guaranteed minimums."
Our arithmetic: a busy ten minutes is enough
At a 4,000 limit, 3,000 a minute on average survives +30% but loses 10.5% at +49%. At 3,500, +30% already loses 12.1%. Plan for the peak.
Before buying more: cache your input
Cached input does not count: "With a 2,000,000 ITPM limit and an 80 percent cache hit rate, you could effectively process 10,000,000 total input tokens per minute".
Move bulk work off the live limit
The Message Batches API has its own limits and "isn't subject to ramp limits": send overnight jobs there, not through the customer path.
How to run it
Read limit headers · retry after retry-after, with jitter, a few times · queue and smooth background jobs · reserve for customer traffic · a tested fallback (B4).
Measure it
429s per 1,000 requests by limit type · peak minute vs limit (headroom) · reserved capacity used · minutes on the fallback · its cost (D5).
Watch out
Instant retries in a loop worsen the burst · one shared key for every team · an untested fallback whose answers change shape (C2) · a spend cap hit mid-month.
Sources
Anthropic, Rate limits (platform.claude.com), read 21 Nov 2026 · our paper self-hosted-ai-agents-stuck-after-traffic-spike (2026) · our arithmetic, 21 Nov 2026. The tank is our example.

What happens in the rate limits, quotas & reserved throughput animation, step by step?

  1. Your AI provider's limit works like a tank refilled at a fixed rate: here 4,000 requests a minute, a real entry-tier figure. Your app draws 3,000 a minute; the level holds.
  2. Your turn: drag the slider to raise your traffic, and watch the tank.
  3. At 6,000 a minute the tank runs dry: a third of requests come back "429 · try later". Bursts do it too: a limit of 4,000 a minute may be enforced as about 67 a second.
  4. Reserved capacity: a pipe of your own with its own gauge, 2,000 a minute at a fixed monthly price, paid whether used or not. The slips stop.
  5. Then supplier A has an outage: its pipes run dry, the reserved one too. A valve turns to supplier B, already tested on your suite, and the water flows again.
  6. Limit, reserve, second supplier. Next: a customer got a wrong answer; how do you see every step, token and rupee that made it?

What everyday example explains rate limits, quotas & reserved throughput?

A water tank refilled by the minute. The refill pipe is the limit, the tap is your traffic, an empty tank is 429s, a pipe of your own is reserved throughput, and a valve to a second supply is the fallback provider.

Why should a team care about rate limits, quotas & reserved throughput?

As usage grows every team meets its first 429; the decisions are what to smooth, what to pay to reserve, and whether to build and test a second supplier before the first one has an outage.