A Claude API rate limit error arrives as HTTP 429 with the type rate_limit_error, but three different conditions produce it, and only one of them is fixed by waiting. A plain rate limit and a ramp limit clear within seconds or minutes. A monthly spend cap does not: it returns a 429 without a retry-after header and keeps failing until 00:00 UTC on the first day of the next month, unless you move to a higher tier. Read error.details.error_code before you decide to retry.
Documentation checked: November 25, 2026, on Anthropic’s rate limits and errors pages.
Telling the three 429s apart
| Cause | error.details.error_code | retry-after header | Does waiting help? |
|---|---|---|---|
| Rate limit (requests, input tokens or output tokens per minute) | The docs name no code for it; the message says which limit was exceeded | Sent when the response has one; not every 429 carries it | Yes, wait the stated seconds |
| Ramp limit (usage grew too fast) | ramp_limit_exceeded | Yes; wait at least that long | Yes, then raise traffic by at most one step per minute |
| Monthly spend cap of your tier | enforced_spend_limit_reached | Never | No, not until the cap resets or the tier changes |
The spend-cap body from the documentation looks like this, with an example reset date:
{
"type": "error",
"error": {
"type": "rate_limit_error",
"message": "You have reached your API usage limits: ... You will regain access on 2026-09-01 at 00:00 UTC.",
"details": { "error_code": "enforced_spend_limit_reached" }
},
"request_id": "req_..."
}
Anthropic says retrying, including the SDK’s automatic retries, fails until access resumes. That is the case where a generic “retry on 429” loop burns requests and hides a billing-side problem. A client that parses the JSON body and branches on the code avoids it:
if status == 429:
code = body.error.details.error_code (may be missing)
if code == "enforced_spend_limit_reached":
stop, alert a human, do not retry
else:
wait retry-after seconds if present, else back off with jitter
Our guide to Retry-After for 429 and 503 covers the generic backoff part of that branch.
The spend limit you set is a different error
A cap you set yourself, below your tier’s cap, behaves differently. When usage reaches it, requests return HTTP 400 with the type invalid_request_error, and the message starts with “You have reached your specified API usage limits” (or “specified workspace API usage limits” for a workspace). Anthropic lists one exception: limits on the Claude Code workspace can return a 429 that carries retry-after.
So a 400 about usage limits means a limit your team configured, and a 429 without retry-after means the tier’s own cap. They need different fixes: raise or remove your own limit, or request a tier increase.
Tier spend caps
Each of the Start, Build and Scale tiers has a monthly cap on what the organization can spend on the API:
| Usage tier | Monthly spend cap |
|---|---|
| Start | $500 |
| Build | $1,000 |
| Scale | $200,000 |
Custom-tier organizations have no cap; their limits are arranged with an account team. New organizations or those with little history may begin in an Evaluation tier with limits below the standard ones shown here. Your own tier and limits are visible on the Rate limits page of the Claude Console.
What the per-minute limits are on each tier
Rate limits are counted per model class in requests per minute (RPM), input tokens per minute (ITPM) and output tokens per minute (OTPM). The current Claude 5.5 rows from the documentation:
| Model | Start: RPM / ITPM / OTPM | Build: RPM / ITPM / OTPM | Scale: RPM / ITPM / OTPM |
|---|---|---|---|
| Claude Opus 5.5 | 4,000 / 2M / 400K | 10,000 / 5M / 1M | 13,000 / 10M / 2M |
| Claude Sonnet 5.5 | 4,000 / 2M / 400K | 10,000 / 5M / 1M | 13,000 / 10M / 2M |
| Claude Haiku 5.5 | 4,000 / 2M / 400K | 10,000 / 5M / 1M | 13,000 / 10M / 2M |
Older generations have their own rows, and some share one combined bucket: Opus 4.x requests all draw from one limit, as do Sonnet 4.x, while Opus 5.5 and Sonnet 5.5 each have a separate limit. The page lists the Fable and Mythos models separately. Limits are maximums, not guaranteed minimums.
Which limit you hit first: a worked example
Take a Start-tier Sonnet 5.5 workload that sends a 50,000-token prompt, of which 45,000 tokens are cache reads, and gets 1,000 output tokens back. The documented rule is that input_tokens and cache_creation_input_tokens count toward ITPM, while cache_read_input_tokens do not. Assuming the cache is already written, each request adds 5,000 tokens to ITPM:
| Limit | Start-tier value | Requests per minute it allows |
|---|---|---|
| RPM | 4,000 | 4,000 |
| ITPM, with caching (5,000 counted) | 2,000,000 | 400 |
| OTPM (1,000 output tokens) | 400,000 | 400 |
| ITPM, without caching (50,000 counted) | 2,000,000 | 40 |
The arithmetic is ours, using the documented limits and counting rules; it is not a measurement. It shows two things. Caching moved the input ceiling from 40 to 400 requests per minute, so the 4,000 RPM figure is never the one that binds. And once input is cached, output becomes an equal constraint. Anthropic also states that max_tokens does not enter the OTPM calculation, which is evaluated as tokens are produced. Our prompt caching cost guide covers what cache writes and reads cost.
Ramp limits: a 429 while under your limits
A ramp limit caps how fast usage on a model can grow. It equals your recent peak per-minute usage plus a step, and it never exceeds your rate limit. A burst of requests inside a few seconds can count as a sharp increase. The documented fix is to hold traffic at a level that succeeds, then increase by at most one step per minute, and to start scheduled or bulk jobs at a low rate. The Message Batches API is not subject to ramp limits. The step and the starting amount vary by model and can change, and the error message usually states them.
Headers worth logging
Besides retry-after, the response carries anthropic-ratelimit-requests-*, -input-tokens-* and -output-tokens-* headers with the limit, the remaining amount and the reset time in RFC 3339 format. The anthropic-ratelimit-tokens-* headers show the most restrictive limit in effect. anthropic-workspace-id names the workspace a request counted against. Logging them with the request_id turns a vague “we got rate limited” report into a specific limit and workspace.
A 529 is not one of these
Status 529 overloaded_error means the API is temporarily overloaded across all users. It says nothing about your tier, and no spend or rate setting of yours changes it. The Anthropic SDK retries failed requests twice by default, follows an x-should-retry header when present and waits for retry-after when sent.





