Limits and errors

Rate limit

A rate limit is a cap on how much an account may send to an API in a period, counted in requests or tokens per minute. Past it, the API answers 429 Too Many Requests.

Also called 429 Too Many Requests, rate_limit_error, RPM and TPM limits

Checked November 29, 2026

At a glance

Status
429 Too Many Requests
Counted in
Requests and tokens per minute (and per day at OpenAI)
When to retry
After the seconds in retry-after
SDKs
Retry a 429 by themselves
On /model
300 requests a minute and 50 at once, per account

Makers count more than one thing at once. OpenAI measures requests and tokens per minute and per day (RPM, RPD, TPM and TPD), and its responses carry x-ratelimit-* headers with what's left (OpenAI). Anthropic measures requests per minute and input and output tokens per minute (RPM, ITPM and OTPM), and sends retry-after and anthropic-ratelimit-* headers (Anthropic). Both answer 429 when you go over.

What to do about a 429

  • Wait as long as retry-after says, then send the request again. The OpenAI and Anthropic SDKs do this by themselves (Anthropic SDK).
  • If it keeps happening, wait longer each time rather than retrying at once.
  • Send fewer requests at once, or spread them out over the minute.

A 429 is about your account's own traffic. When the API itself is too busy for everyone, the answer is different: see overloaded error.

Rate limits on /model

  • Every account starts with 300 requests a minute, all its keys together, and 50 requests at once (Limits and timeouts).
  • Past either, a request gets a 429 rate_limit_exceeded. retry-after says how many seconds to wait, and the rate-limit headers show how many requests are left this minute.
  • To raise the limits, contact us.

Where it applies on /model

Questions

Is a 429 my fault or the API's?

A 429 means your account went over its limit. When the API itself is too busy, OpenAI answers 503 and Anthropic 529 instead.

Do /model's rate limits apply per key?

No, per account: all its keys together. Each key can have its own spending caps, though.

Sources

The makers' own pages, each opened on November 29, 2026.

One key for every model here.

Top up from $10, change one URL, and pay only for the tokens you use.