Guide
OpenAI API rate limit: how limits work, the 429 error and how to handle it
Prices checked Nov 26, 2026 · 4 min read

The OpenAI API rate limit is a set of caps on how fast your organization can send requests and tokens. You hit whichever cap comes first, and the API answers with a 429 error. Limits rise automatically as your total credit purchases grow. This guide shows how the limits work, a worked example, how to retry correctly, and how our own default limit compares.
How OpenAI measures rate limits
OpenAI's rate limits page lists these metrics: requests per minute (RPM), requests per day (RPD), tokens per minute (TPM), tokens per day (TPD), images per minute (IPM) and, for some streaming audio models, audio minutes per minute. Other points from that page:
- A limit can be hit on whichever metric is reached first. A low-token burst of many requests can exhaust RPM before TPM.
- Limits apply at the organization and project level, not the user level, and vary by model.
- Some models share a limit, and long-context requests have a separate one.
- Batch and background requests with 2h or 8h windows are capped by total queued input tokens.
To see your own numbers, go to Settings > Organization > Limits in the OpenAI dashboard. Do not copy a figure from a blog post, including this one, because the limits are per account and change.
Usage tiers
The paid tiers are Build, Launch and Grow. OpenAI says your tier upgrades automatically as total credit purchases reach each threshold.
| Tier | Credit purchases needed | Monthly usage limit | RPM for Astra, Sol, Terra | TPM for Astra, Sol, Terra |
|---|---|---|---|---|
| Build | $5 | $500 | 5,000 | 1,000,000 |
| Launch | $100 | $5,000 | 10,000 | 4,000,000 |
| Grow | $500 | $200,000 | 15,000 | 40,000,000 |
These are OpenAI's standard figures, checked 2026-11-26. The same page lists a Free tier at $100 per month for users in an allowed geography, with no RPM or TPM figures. To upgrade manually, use Upgrade tier in the Usage Tiers section of the Limits page. Having a tier does not guarantee access to every model. The credit rules behind the tiers are in our OpenAI credits guide.
Worked example: which limit bites first
You are on Build, calling GPT-6.2 Sol, and each request carries about 2,000 tokens in total.
- RPM allows 5,000 requests a minute.
- TPM allows 1,000,000 tokens a minute. At 2,000 tokens per request that is 1,000,000 / 2,000 = 500 requests a minute.
TPM binds first, at 500 requests a minute, one tenth of the RPM figure. A batch job of 10,000 such requests takes at least 10,000 / 500 = 20 minutes. Cutting each request to 1,000 tokens doubles throughput to 1,000 requests a minute, so trimming prompts beats asking for a higher tier. OpenAI also suggests reducing max_tokens to fit expected output, and batching multiple prompts in one request.
The 429 error, step by step
OpenAI's guidance for a 429:
- A 429 means a temporary rate limit was exceeded. The code
slow_down(typerate_limit_error) means your request rate rose too quickly, even within your RPM and TPM. - Follow
Retry-Afterwhen present. It is the minimum seconds to wait. - Use exponential backoff with jitter, and cap both the attempts and the total retry time.
- Failed requests still count toward per-minute limits, so immediate resending does not help.
- Do not retry quota or billing errors.
- A model overload returns a 503 with
server_is_overloaded, which is handled differently. - Once traffic reaches 1 million input TPM, raise it by no more than 50% every 15 minutes.
Useful response headers include x-ratelimit-remaining-requests, x-ratelimit-remaining-tokens and the matching reset headers. Read them to slow down before you hit zero.
A retry helper in Python:
import random, time
from openai import OpenAI, RateLimitError
client = OpenAI()
def call_with_backoff(max_tries=5, **kwargs):
for attempt in range(max_tries):
try:
return client.chat.completions.create(**kwargs)
except RateLimitError as e:
if attempt == max_tries - 1:
raise
wait = float(e.response.headers.get("retry-after", 2 ** attempt))
time.sleep(wait + random.random())
The TapModels default limit
TapModels is a separate service with its own limit. Our API contract states it as: by default, 20 new tasks per 10 seconds per account, answered with 429 and a Retry-After header. The error code is rate_limited, and the guidance is to honour Retry-After.
Worked example: 20 tasks per 10 seconds is 2 per second. Submitting 1,000 tasks therefore takes at least 1,000 / 20 = 50 windows of 10 seconds, or 500 seconds, about 8 minutes 20 seconds. The contract words the limit for new tasks and gives no separate chat figure, so check the docs before you plan a chat-heavy launch. A key that would pass its own spend limit gets 402 key_limit_reached, not a 429.
The same helper works against us if you change the client's base_url to https://api.tapmodels.com/v1 and use a TapModels key, because both can send Retry-After on a 429. The helper falls back to its own backoff when the header is missing. We do not issue OpenAI keys, and an OpenAI key does not work on our endpoint.
Cutting your own limit pressure
- Send fewer tokens per request: trim history and system prompts.
- Spread bursts over time with a queue, not a loop.
- Use the smaller model for easy calls.
- Keep one retry policy in one place.
Next step: see what each call costs in the OpenAI API cost guide.
Frequently asked questions
What is the OpenAI API rate limit?
OpenAI measures limits in requests per minute, requests per day, tokens per minute, tokens per day, images per minute and, for some streaming audio models, audio minutes. You can hit whichever is reached first. Limits apply at the organization and project level and vary by model.
How do I increase my OpenAI rate limit?
Your tier upgrades automatically as total credit purchases reach each threshold: $5 for Build, $100 for Launch and $500 for Grow. You can also use Upgrade tier in the Usage Tiers section of Settings > Organization > Limits. Having a tier does not guarantee access to every model.
What does a 429 error from OpenAI mean?
OpenAI says a 429 means a temporary rate limit was exceeded. Follow the Retry-After header when present, use exponential backoff with jitter, and cap your attempts. Do not retry quota or billing errors, and note that failed requests still count toward per-minute limits.
What is the TapModels rate limit?
Our API contract sets a default of 20 new tasks per 10 seconds per account. Going over returns 429 with the code rate_limited and a Retry-After header. The contract states the limit for new tasks only, so check the docs page for anything specific to chat requests.
Does a spend limit cause a 429?
On OpenAI, yes: its docs say a hard spend limit causes affected requests to return a 429, while a spend alert only notifies. On TapModels, a key that would pass its own spend limit gets a 402 with the code key_limit_reached, not a 429.
Sources
- OpenAI API docs: rate limits · checked Nov 26, 2026
- OpenAI help: prepaid billing · checked Nov 26, 2026