We’re in useage tier 5 and got this error with the Batch API:
“Enqueued token limit reached for gpt-4o-mini in organization X. Limit: 1,000,000 enqueued tokens. Please try again once some in_progress batches have been completed.”
Getting the same error though we are in tier 5. I see several issues reported on this topic…anyone from OpenAI monitoring this and could they provide some suggestion?
I’m experiencing a similar issue. My organization is on Tier 5, yet occasionally, even a single batch fails due to exceeding the 1,000,000 enqueued token limit. Interestingly, when I retrigger the same batch a few hours later, it processes without any problems and doesn’t encounter any rate-limiting constraints. This error consistently seems to occur around midnight. Does anyone know if OpenAI imposes any time-based system constraints that might explain this behavior?
I’m having this problem as of May 2025. I’m waiting for any request to complete before sending the next one. Even the smallest request gets rejected. I created a new API key and it’s working for now. We’ll see how long that lasts. Worst case I can create multiple API keys.
Nope. Weird. I believe it’s a bug. Changing API Keys worked for a very short time before stopping. I have no batches in progress and can’t submit any without errors. I’ll wait 24 hours before giving up.
I have the same issue. API always reject any requests even I gradually changed it to a smaller number of sample which definitely not beyond the limit.
Update: I tried to create different keys but it still not works. When I tried another account, everything works smoothly. I think the potential reason is that either the enqueued token limit takes account into the tokens of failure batch. Just a guess at this moment.
I kind of believe there is a bug for calculating the enqueued toekns for batch api.
Background: I sliced my data equally to 152 samples per slice and submit the batch one by one. I checked the average token usage (in+out) from finished batch is ~1050/sample. I tried it with a Tier 1 account and using GPT-4.1-mini.
First time it failed, I tried to resubmit that slice and it works. But when I submitted the next one, it always failed. It is very frustrating that you don’t know what is happening, and you have to wait 24h to continue.
That happens not the first time and I try to understand how to avoid it.