OpenAI API error
OpenAI 429 “rate limit reached for requests”: official meaning and retry
On this page
TL;DR · The short answer
#Official documentation checked 27 November 2026. OpenAI documents a 429 “Rate limit reached for requests” when you send requests too quickly. Pace your requests and follow the Retry-After header when it is present; if it is missing, use exponential backoff with jitter and limit retries. A separate 429 with type rate_limit_error and code slow_down means your request rate increased too quickly. These are not the same as billing 429s such as credit_balance_exhausted — see OpenAI quota 429s.
Key takeaways
#- OpenAI’s error-codes guide says “Rate limit reached for requests” means you are sending requests too quickly.
- A 429 with type rate_limit_error and code slow_down “indicates that your request rate increased faster than the service can safely handle.” OpenAI says it can occur even when traffic is within its requests-per-minute and tokens-per-minute limits.
- OpenAI’s rate-limits guide says limits use metrics such as RPM (requests per minute), RPD (requests per day), TPM (tokens per minute), TPD (tokens per day), IPM (images per minute), and audio minutes per minute for some streaming audio models.
The official error
#OpenAI’s error-codes guide says “Rate limit reached for requests” means you are sending requests too quickly. The longer section states that you have hit your assigned rate limit: you submitted too many tokens or requests in a short period. Official examples of how this happens include a loop or script that makes frequent or concurrent requests, sharing an API key, a free plan with a low rate limit, or reaching the defined project limit.
Official steps:
- Pace your requests and avoid unnecessary or redundant calls.
- If a
Retry-Afterheader is present, wait at least as long as it specifies before trying again. If it is missing, use exponential backoff with jitter and limit the number of retries. The same page notes that SDK support for long server delays can stop automatic retries when a delay exceeds its supported limit. - Limits are applied per organization, not per user; other team usage counts toward the limit.
- On a free or low-tier plan, OpenAI suggests considering a pay-as-you-go plan and comparing restrictions in the rate-limit guide.
- Ask your organization owner to increase the rate limits on your project.
The slow_down code
#
A 429 with type rate_limit_error and code slow_down “indicates that your request rate increased faster than the service can safely handle.” OpenAI says it can occur even when traffic is within its requests-per-minute and tokens-per-minute limits. As a rule of thumb, once traffic reaches 1 million input tokens per minute (TPM), increase it by no more than 50% every 15 minutes; the exact point can vary by model and traffic. Follow {_code('Retry-After')} when present; otherwise increase the delay and add a small random delay, then increase rate gradually and keep the pattern steady.
How limits are measured
#OpenAI’s rate-limits guide says limits use metrics such as RPM (requests per minute), RPD (requests per day), TPM (tokens per minute), TPD (tokens per day), IPM (images per minute), and audio minutes per minute for some streaming audio models. You can hit whichever limit occurs first. Limits are defined at the organization level and at the project level, not the user level, and they vary by model. Some model families share a limit. OpenAI also sets an approved monthly usage limit for each organization, separate from spend limits you configure.
The Python library raises RateLimitError for 429 responses. Litmiq cannot raise your OpenAI rate limit. After the API accepts requests, you can run a smaller eval in Litmiq with your own key.
Sources
#- OpenAI API error codes — Rate limit reached, slow_down, Retry-After, Python RateLimitError
- OpenAI rate limits — RPM, RPD, TPM, TPD, organization and project scope, max_tokens
Official documentation checked 27 November 2026. Independent explainer. Litmiq is not affiliated with, endorsed by or sponsored by OpenAI, Anthropic, Google, Microsoft or Cloudflare. Product names are used nominatively to identify official error codes.
FAQ
#Is every OpenAI 429 a rate limit?
No. Official error-codes documentation lists several billing and spend 429s (for example credit_balance_exhausted) as well as rate-limit 429s. Inspect error.code. Retrying billing or spend 429s will not restore access.
What does the Python SDK raise?
OpenAI’s error-codes guide says Python raises RateLimitError for 429 responses and InternalServerError for 503 responses. Handle both and inspect error.code.
Should I lower max_tokens?
OpenAI’s rate-limits guide says your rate limit is calculated as the maximum of max_tokens and an estimate from character count, and recommends setting max_tokens close to the expected response size.
Test your own prompt once the API accepts requests
#Litmiq cannot lift a provider rate limit, spend cap or credit balance. You can still run a smaller eval in your browser with your own API key.
- Free, no signup
- Runs in your browser
- Your OpenAI key, sent only to OpenAI
Newsletter
Get Litmiq AI Weekly
Practical AI tips and the best tools of the week, in plain English.