EN

Language

Our editions

Written for each audience, not translated word for word.

API rate limits explained: tiers, 429 errors and how to avoid them

ExplainerBy Lucas Matías García TorresUpdated Data checked 4 min read

Reviewed by Lucas Matías García Torres on . How we work.

Leer en español

A data center aisle with streams of small orange data packets flowing between server racks

Short answer

API rate limits, on October 23, 2026, cap the requests and tokens an organization can send per minute or day; exceeding one returns HTTP 429. OpenAI moves you up tiers by credit purchases ($5, $100, $500), Anthropic by usage history, and Google by billing and spend. Anthropic does not count cached input or max_tokens toward its limits; OpenAI counts max_tokens. A 429 can also mean a spend cap, which retrying never fixes.

Prices and limits change often: check the vendor's page before you pay. How we make money.

API rate limits cap how many requests and tokens your account can send to a model per minute or per day, and when you exceed one the API answers with an HTTP 429 error instead of a response. On October 23, 2026 OpenAI, Anthropic and Google all use automatic usage tiers that raise your limits as you spend more, but they count differently: Anthropic ignores cached input and max_tokens in its limits, OpenAI counts max_tokens, and Google adds a spend limit per 10 minutes. This guide explains how each one works, what a 429 means and how to stop hitting it, based on each vendor's documentation read on October 23, 2026.

What gets counted

Every vendor measures several things at once, and you hit the limit on whichever runs out first:

  • RPM: requests per minute.
  • TPM: tokens per minute. Anthropic splits it into input (ITPM) and output (OTPM).
  • RPD and TPD: requests and tokens per day, on some models and tiers.
  • IPM: images per minute, for image models.

Limits apply to your organization or project, not to each API key or user. Google's example makes the point: with a limit of 20 RPM, the 21st request in a minute fails even if you have plenty of tokens left.

Tiers by vendor

Table: usage tiers (official documentation, checked October 23, 2026)

Item OpenAI Anthropic Google (Gemini API)
How you move up total credit purchases: $5 for Build, $100 for Launch, $500 for Grow automatically, based on usage history and account standing Tier 1 with a billing account; Tier 2 after $100 paid and 3 days; Tier 3 after $1,000 and 30 days
Monthly cap $500 (Build), $5,000 (Launch), $200,000 (Grow) $500 (Start), $1,000 (Build), $200,000 (Scale) billing tier caps from $250 (Tier 1)
Extra limit separate long-context limits on some models new organizations may start in a lower Evaluation tier spend per 10 minutes: $10, $50 or $200 by tier
Where to see yours Settings, Organization, Limits Rate limits page in the Claude Console rate limit page of your Gemini API project

For a sense of scale, OpenAI's Build tier allows 5,000 requests and 1,000,000 tokens per minute on its Astra, Sol and Terra models, and Anthropic's Start tier allows 1,000 requests, 2,000,000 input tokens and 400,000 output tokens per minute on Claude Opus 5.5. Our guides to OpenAI API pricing and Claude API pricing cover what those tokens cost.

The details that change your design

  • Anthropic does not count cached reads. For most Claude models, only uncached input and tokens written to the cache count toward ITPM. Anthropic's example: with a 2,000,000 ITPM limit and an 80% cache hit rate, you can process 10,000,000 input tokens per minute. Prompt caching is therefore a throughput tool as well as a discount.
  • max_tokens counts at OpenAI, not at Anthropic. OpenAI calculates your usage as the larger of max_tokens and the estimated tokens of the request, so set it close to the size you expect. Anthropic counts only the output tokens actually generated, so a high max_tokens has no rate limit cost there.
  • Limits are enforced over short windows. Anthropic uses a token bucket that refills continuously and warns that 60 RPM may be enforced as 1 request per second, so a burst can fail even under the per-minute number.
  • Sudden growth is limited too. OpenAI's slow_down error and Anthropic's acceleration limits trigger when traffic rises too fast. OpenAI's rule of thumb: once you reach 1 million TPM, grow by no more than 50% every 15 minutes.

Not every 429 is a rate limit

A 429 can mean you sent too much too fast, and waiting fixes it. But it can also mean you reached a spend limit, and then no amount of retrying helps. When an Anthropic organization reaches its tier's monthly spend cap, the API returns 429 with no retry-after header until 00:00 UTC on the first day of the next month, unless you request a higher limit. OpenAI returns 429 for a hard spend limit you configured, and its documentation says Retry-After does not mean that quota or billing errors can be solved by retrying. Google returns 429 RESOURCE_EXHAUSTED for its per-10-minute spend limit. Read the error body before retrying.

How to stop hitting the limit

  1. Respect Retry-After. OpenAI and Anthropic send it on temporary 429s. If it is missing, use exponential backoff with random jitter and cap both the attempts and the total time. OpenAI warns that failed requests also count toward your per-minute limit, so resending immediately makes it worse.
  2. Let the SDK retry, but only once. OpenAI's official SDKs retry eligible 429 and 503 errors automatically; if you add your own retries, disable the SDK's or count them.
  3. Read the headers. OpenAI returns x-ratelimit-remaining-requests and x-ratelimit-remaining-tokens; slow down before you reach zero.
  4. Move bulk work to batches. The batch API runs large jobs without using your real-time limits, at a discount.
  5. Cache what repeats, especially on Claude, where cached input does not count.
  6. Ramp up gradually after a launch instead of switching all traffic on at once.

If you still need more after all that, each vendor has a form or a console option to request higher limits. Our overview of LLM API pricing compares the providers on cost.

What we checked

  • OpenAI rate limits: metrics RPM, RPD, TPM, TPD, IPM; limits at organization and project level; paid tiers Build ($5 in credit purchases, $500/month), Launch ($100, $5,000/month) and Grow ($500, $200,000/month), Free $100/month; Build allows 5,000 RPM and 1,000,000 TPM on Astra, Sol and Terra; hard spend limits return 429; headers Retry-After and x-ratelimit-*; Retry-After does not mean quota or billing errors can be solved by retrying; slow_down when traffic grows too quickly; once at 1 million TPM grow by no more than 50% every 15 minutes; SDKs retry eligible 429 and 503 automatically; exponential backoff with jitter; failed requests count toward the per-minute limit; usage is the maximum of max_tokens and the estimated tokens; Batch API does not affect synchronous limits. (OpenAI, )
  • Anthropic rate limits: tiers assigned automatically by usage history and account standing; new organizations may start in an Evaluation tier; token bucket algorithm with continuous replenishment; 60 RPM may be enforced as 1 request per second; monthly spend caps Start $500, Build $1,000, Scale $200,000; at the cap requests return 429 without retry-after until 00:00 UTC on the first day of the next month; RPM, ITPM and OTPM per model class; for most models cache reads do not count toward ITPM, example of 2,000,000 ITPM and 80% cache hit rate giving 10,000,000 input tokens per minute; max_tokens does not factor into OTPM; acceleration limits on sharp increases; Start tier on Claude Opus 5.5 allows 1,000 RPM, 2,000,000 ITPM and 400,000 OTPM. (Anthropic, )
  • Gemini API rate limits: RPM, input TPM and RPD; exceeding any one triggers an error, example of 20 RPM; applied per project, not per API key; RPD resets at midnight Pacific time; spend-based limits per rolling 10 minutes of $10 (Tier 1), $50 (Tier 2) and $200 (Tier 3) returning 429 RESOURCE_EXHAUSTED; Tier 1 with a linked billing account, Tier 2 after $100 paid and 3 days, Tier 3 after $1,000 and 30 days; billing tier caps $250, $2,000 and $20,000 to $100,000 or more. (Google (Gemini API docs), )

What may change

  • Tier thresholds, model limits and spend caps change often and differ by model. This page is reviewed quarterly; check your own limits in each console.
  • The order of the six steps in the last section is our own recommendation built on the vendors' guidance.

Frequently asked questions

What does a 429 error mean in an LLM API?

Usually that you exceeded a rate limit, such as requests or tokens per minute, and should wait before retrying. It can also mean a spend limit: Anthropic returns 429 without retry-after when the monthly cap is reached, and OpenAI returns 429 for a hard spend limit. Retrying does not fix those.

How do I increase my OpenAI rate limits?

Your organization's tier rises automatically with total credit purchases: $5 for Build, $100 for Launch and $500 for Grow, each with higher limits. You can see your limits in Settings, Organization, Limits and use Upgrade tier in the Usage Tiers section.

Do cached tokens count toward Claude rate limits?

For most Claude models, no. Only uncached input tokens and tokens written to the cache count toward input tokens per minute. Anthropic's example: with a 2,000,000 limit and an 80% cache hit rate, you can process 10,000,000 input tokens per minute.

Does max_tokens affect rate limits?

At OpenAI, yes: usage is calculated as the larger of max_tokens and the estimated tokens of the request, so set it close to the size you expect. At Anthropic, no: output limits count only the tokens actually generated.

How should I retry after a rate limit error?

Wait the number of seconds in the Retry-After header when it is present. Otherwise use exponential backoff with random jitter and limit the number of attempts. OpenAI warns that failed requests also count toward your per-minute limit, so retrying immediately makes things worse.

Sources

  1. Rate limits (OpenAI API guide): usage tiers, standard limits, spend limits, headers and error mitigation, OpenAI. Accessed October 23, 2026.
  2. Rate limits (Claude API): spend caps, tiers, cache-aware ITPM, OTPM and response headers, Anthropic. Accessed October 23, 2026.
  3. Rate limits (Gemini API): RPM, TPM, RPD, spend-based limits and usage tiers, Google (Gemini API docs). Accessed October 23, 2026.

Spotted an error or an outdated price? Tell us and we will fix it.

Change history

  • : First published. Checked on October 23, 2026 against OpenAI's rate limits guide, Anthropic's rate limits page and Google's Gemini API rate limits page.

Next review: .

Part of our LLM APIs & Costs guide.

Other topics