OpenAI API 429 "Request too large" on tokens per min (TPM): why waiting won't fix it and what will

Last verified: December 2, 2026
A developer sends one call to the OpenAI API and gets back a 429 status with a message saying the request is too large for the model on tokens per min (TPM), followed by a limit and a "Requested" figure. Because 429 is the same status code that the API uses for ordinary rate limiting, most client libraries, SDKs and automation tools treat it as temporary and try again a few seconds later. The second attempt fails the same way, and so does every attempt after it, because the problem lies in the size of that single request rather than in how many requests were sent.
The fix is to make the one request smaller than the per-minute token budget, by cutting or splitting the input and lowering the output-token cap, or to send it from a project or model with a higher token allowance. The error affects every OpenAI API organization that has a tokens-per-minute limit, which means all of them, and it shows up most often on lower usage tiers, on projects where an owner has set a tighter project limit, with long PDFs or transcripts pasted into one prompt, with many images in one message, and in agent loops that resend a growing conversation history on every turn.
··········
THE EXACT "REQUEST TOO LARGE" MESSAGE FROM THE OPENAI API.
The error arrives with HTTP status 429 and a JSON body. Reports on the OpenAI Developer Community show two wordings, one that names the model and an older or alternative one that names only the organization. Both carry the same three fields: the error `type` is `tokens`, the `code` is `rate_limit_exceeded` and `param` is null.
Request too large for gpt-3.5-turbo in organization org-XXXX on tokens per min (TPM): Limit 60000, Requested 133210. The input or output tokens must be reduced in order to run successfully.Request too large for organization org-XXXX on tokens per min (TPM): Limit 250000, Requested 258762. The input or output tokens must be reduced in order to run successfully.The last sentence is the important one. OpenAI's own message tells the caller that the tokens must be reduced, and it says nothing about waiting. The two numbers mean what they say: "Limit" is the token budget that applies to this request for one minute, and "Requested" is the number of tokens the rate limiter charged for the call before running it. When "Requested" is larger than "Limit", no amount of waiting creates room, since even an empty minute holds fewer tokens than the request needs.
........
Field in the error | Typical value | What it tells you |
HTTP status | 429 | Same status as ordinary rate limiting, which is why tools retry it |
error.type | tokens | The token-based limit was hit, not the request-count limit |
error.code | rate_limit_exceeded | Shared with other rate-limit errors, so check the message text too |
"Limit" | e.g. 30000 or 250000 | Tokens allowed per minute for this model at this scope |
"Requested" | e.g. 45210 | Tokens the limiter charged this single call |
........
The more common "Rate limit reached" errors are different: there the minute's budget was spent across many calls, so waiting helps, and OpenAI's error-codes guide recommends following the `Retry-After` header or exponential backoff. Our page on ChatGPT 429 Too Many Requests and the exceeded retry limit message covers that second family of errors.
··········
HOW THE OPENAI RATE LIMITER COUNTS TOKENS FOR ONE REQUEST.
OpenAI's rate-limits guide lists five measures: requests per minute (RPM), requests per day (RPD), tokens per minute (TPM), tokens per day (TPD) and images per minute (IPM). A call is refused on whichever measure it hits first. Limits are set at the organization level and at the project level, never per user, and they vary by model.
Two passages in the same guide explain why a single call can be refused. The first says the API counts input tokens at submission, before the model generates anything. The second, in the section headed "Reduce the max_tokens to match the size of your completions", says the rate limit is calculated as the maximum of `max_tokens` and the estimated number of tokens based on the request's character count, and asks developers to set the output cap as close to the expected response size as possible. In practice the limiter reserves room for the whole possible answer as well as the prompt. A 20,000-token prompt with a 32,000-token output cap can be charged far more than the 20,000 tokens a developer might expect, and on a 30,000 TPM allowance that call is refused every time.
The guide adds that unsuccessful requests count toward the per-minute limit, "so continuously resending a request won't work". A retry loop around this error therefore makes things slightly worse, because each refused attempt also eats into the budget that other, smaller calls in the same project need.
The parameter that sets the output cap depends on the endpoint. OpenAI's troubleshooting article on rate limits names `max_completion_tokens` for Chat Completions and `max_output_tokens` for the Responses API, and notes that for reasoning models the cap includes reasoning tokens. Older code may still send `max_tokens`. Our guide to the right token-limit parameter for OpenAI, Claude and Gemini lists which name each endpoint accepts.
··········
CAUSES OF THE OPENAI "REQUEST TOO LARGE" 429 AND HOW TO CHECK EACH ONE.
........
Cause | How to check | Fix |
The prompt alone is bigger than the TPM limit (long PDF, transcript, codebase or chat history in one call) | Compare the "Requested" figure with the size of the input you sent; most of it will be input | Split the input into chunks and process them in separate calls, or summarize earlier context first |
The output cap is set much higher than the answer needs | Look at max_output_tokens or max_completion_tokens in the request; compare with the "Requested" figure | Lower the cap to the size of the answer you expect |
A project-level token limit is lower than the organization limit | Read the x-ratelimit-limit-project-tokens header on a successful call from the same project, and the project's limit settings | Ask an organization owner to raise the project limit, or run the job from a project with a higher one |
The model has a lower TPM than the one you usually use, or a shared or long-context limit applies | Settings > Organization > Limits, Rate limits section, row for that model | Use a model with a higher TPM for this job, or reduce the request for this model |
An agent loop resends a growing history on every turn | Log the input size per turn; the error appears only after many turns | Trim or compact older turns before each call |
Many images in one message | Count the images attached to the failing call | Send fewer images per call or spread them over several calls |
"Limit 0" in the message | The model shows no allowance for your organization or project on the Limits page | Check that your organization and project have access to that model before changing the request |
........
A note on the last row: reports on GitHub from late 2026 show the same wording with "Limit 0" for an image model, which means the organization had no token allowance at all for that model. OpenAI's rate-limits guide states that a usage tier's published limits do not confirm that an organization, project or API key can access a given model, so a zero limit points to model access, and shrinking the request will not help.
··········
STEP-BY-STEP FIXES FOR THE OPENAI API "REQUEST TOO LARGE" ERROR.
1. Stop retrying this specific error.
1. In your error handler, read the message text as well as the status code. A 429 whose message starts with "Request too large" will fail again unchanged.
2. Turn off automatic retries for that case. OpenAI's troubleshooting article reminds developers that the official SDKs already retry some errors on their own, so a custom retry loop on top of SDK retries multiplies the doomed attempts.
3. Log the "Limit" and "Requested" figures so you can see how far over the budget the call was.
The snippet below is illustrative and shows the logic, not an official OpenAI sample.
# Illustrative: classify the 429 before deciding to retry
def should_retry(status_code, message):
if status_code == 429 and message.startswith("Request too large"):
return False # shrink the request instead
return status_code in (429, 500, 503)2. Lower the output-token cap.
1. Find `max_output_tokens` (Responses API) or `max_completion_tokens` (Chat Completions) in the failing call.
2. Set it near the longest answer you need. A summary that never runs past 1,500 tokens does not need a cap of 32,000.
3. For reasoning models, leave headroom for reasoning tokens, since they count inside the same cap; a cap that is too small produces an incomplete response, which is a different error explained in our page on the "Incomplete response returned, reason: max_output_tokens" message.
3. Cut or split the input.
1. For documents, split the text into chunks that each fit well under the limit together with the output cap, process each chunk, then combine the results in a final call.
2. For chat applications and agents, keep the system prompt and the most recent turns, and replace older turns with a short summary.
3. Remove what the model does not need, such as raw HTML, base64 pasted as text or full logs.
4. Check which limit actually applies.
1. Open Settings > Organization > Limits in the OpenAI platform and read the Rate limits section for the model named in the error.
2. If the "Limit" in the error is lower than the organization figure, look at the project. OpenAI documents the `x-ratelimit-limit-project-tokens`, `x-ratelimit-remaining-project-tokens` and `x-ratelimit-reset-project-tokens` headers, which appear only when a project-scoped token limit applies.
3. Check whether the model belongs to a shared limit. The guide explains that models listed together under a shared limit draw on one common budget, and that long-context models such as GPT-5.5 have their own long-context limit shown in the console.
5. Raise the allowance when the request really must be that large.
1. Higher usage tiers generally come with higher rate limits, and paid tiers upgrade automatically as total credit purchases cross the published thresholds.
2. For work that does not need an immediate answer, OpenAI points to the Batch API, which runs large collections of requests without consuming the synchronous rate limits; batch jobs have their own queue limit on input tokens instead.
··········
OPENAI API TOKEN LIMITS BY USAGE TIER.
The official rate-limits guide publishes standard limits for the Astra, Sol, Terra and Luna model families on the three paid tiers. The figures below, read on December 2, 2026, apply to standard processing; the guide gives no per-model figures for the Free tier, and each organization's real allowance is the one on its own Limits page.
........
Usage tier | Astra, Sol, Terra (RPM / TPM) | Luna (RPM / TPM) |
Build | 5,000 / 1,000,000 | 5,000 / 2,000,000 |
Launch | 10,000 / 4,000,000 | 10,000 / 10,000,000 |
Grow | 15,000 / 40,000,000 | 30,000 / 180,000,000 |
........
A "Limit 30000" or "Limit 60000" in the error is far below every figure in this table, so the call ran against a lower allowance, such as a project limit, a model outside these families or an organization on the Free tier.
··········
WHAT OPENAI DOCUMENTS AND WHAT DEVELOPERS REPORT ABOUT THIS 429.
OpenAI's documentation confirms the mechanism without naming this exact message: the rate-limits guide covers how tokens are charged, the project limits and the fact that failed requests count, while the error-codes guide and the troubleshooting article separate temporary rate-limit errors, which can be retried after a delay, from billing, spend and quota errors, which cannot. Neither page contains the phrase "Request too large".
The exact wording and the `tokens` type come from developer reports, and several open-source projects changed their clients in October and November 2026 so that they stop retrying this message and fail fast or split the input. One thread on the OpenAI Developer Community describes a single o3 request refused with a limit of 250,000 while the dashboard showed a much higher organization figure; a community member suggested a per-request ceiling tied to the model's context window, but OpenAI staff did not confirm it, so treat that as an unconfirmed explanation.
........
Statement | Status |
Rate limit counts the maximum of max_tokens and the estimated input | Documented in the OpenAI rate-limits guide |
Failed requests count toward the per-minute limit | Documented in the OpenAI rate-limits guide |
Project-level token limits and their headers | Documented in the OpenAI rate-limits guide |
Exact "Request too large ... on tokens per min (TPM)" wording, type tokens | Reported by many developers, not quoted in OpenAI docs |
A limit in the message that differs from the dashboard can reflect a context-size ceiling | Community explanation, not confirmed by OpenAI |
........
··········
PREVENTING "REQUEST TOO LARGE" IN OPENAI API APPLICATIONS.
The most reliable prevention is to measure each request before sending it: estimate the input, add the output cap, and compare the total with the TPM limit for the model and project the code runs under, splitting or trimming before the call leaves your server. Keep the output cap tied to each task, and in agents cap the conversation history, since this error often appears only after many turns, when the history finally crosses the limit.
On successful calls, the `x-ratelimit-limit-tokens` and `x-ratelimit-remaining-tokens` headers show the budget in force. Check them again after a change to a project's limits or a move to a new model, because a job that fit under one model's TPM can fail under another's. Overload errors on streams are a separate case with their own retry rules, described in our page on the Responses API "server_is_overloaded" stream error.
··········
OPENAI "REQUEST TOO LARGE FOR TOKENS PER MIN": CONCLUSIONS FOR DEVELOPERS.
The 429 that says a request is too large for the model's tokens per minute is a size problem reported through a rate-limit status. The limiter charges a call the larger of its output cap and its estimated input, and when that figure exceeds the minute's budget the call can never succeed, which is why OpenAI's message asks for fewer input or output tokens and why backoff loops only burn more of the budget. Lowering the output cap, splitting long inputs, trimming agent histories and checking the project limit through the documented headers resolve most cases; a request that must stay that large needs a higher allowance or the Batch API, and a "Limit 0" message calls for checking model access first.
··········
FOLLOW US FOR MORE.
·····
DATA STUDIOS
·····
datastudios.org




