Codex stops middle of the task reaching the limit

As a developer it’s really annoying for me to see codex stops after reaching the 5h or weekly limit in a middle of task. A few days back codex would complete the task even reaching the limit which was appropriate and logical. I am requesting bring back that feature, as that is very important for developer like us.

This is worth pinning down because OpenAI’s current Codex help page still says:

If you reach a usage limit during an active turn, Codex can continue working on that turn, subject to fair-use limits.

https://help.openai.com/en/articles/11369540

So if your active task is now being stopped immediately when the 5-hour or weekly allowance is hit, that is not something I would just assume is the documented normal behavior.

There are at least three possibilities that need separating:

  1. the turn hit a separate fair-use / execution boundary at roughly the same time as the usage meter;
  2. the product behavior changed recently but the documentation has not caught up;
  3. this is a regression and active turns are being terminated earlier than intended.

The highest-value evidence from the next occurrence would be:

  • Codex surface: Desktop / CLI / IDE;
  • exact model + reasoning effort;
  • exact timestamp and timezone;
  • which limit hit zero first: 5-hour or weekly;
  • screenshot of the usage meter / limit banner immediately before and after;
  • the exact terminal message shown in the task;
  • whether the task had already been running before the meter hit zero or whether it was started near the limit;
  • session / feedback ID if available.

The before/after timing you mention is important too. If the same type of active turn reliably continued past the meter a few days ago but is now being cut off at the boundary, preserve the date of the last known-good run and the first known-bad run.

I would keep this separate from the general complaint that weekly usage drains too fast. Even if the accounting is completely correct, an active-turn termination at the allowance boundary is a distinct product-behavior question.

Also worth noting: there is a separate feature-request thread asking for auto-resume after the limit resets. That is useful, but it does not answer this more basic question: should the already-running turn have been allowed to finish in the first place under the current documented behavior?

There is now a stronger official datapoint for this exact question.

In a separate thread about tasks stopping at the limit, @OpenAI_Support posted that the current guide says an active turn can continue after a limit, subject to fair use, and acknowledged that the user’s work had still been interrupted:

That does not prove every mid-task stop is a bug. A separate fair-use or execution boundary can still exist. But it does mean “Codex always stops immediately when the meter hits zero” is not simply the documented default behavior.

So the next natural specimen should pin the boundary down instead of debating the policy in the abstract:

  • task start time;
  • 5-hour and weekly meter immediately before the turn;
  • exact time one of them reaches the limit;
  • whether the turn was already active at that moment;
  • exact terminal message / status;
  • model + reasoning effort + Codex surface;
  • session/thread ID;
  • last known-good date when an active task continued through the boundary.

If an already-running turn is cut exactly at the allowance boundary while the official guidance still says active turns can continue, that gives Support/maintainers a very specific behavior change to classify.

I double down on this.

The previous 5h quota indeed allow to finish the task when enough weekly quota was available. It is a regression due to the new 5h quota that is now extremely firm. Reaching your 5h quota now 100% of the time stop the task in its track.

I also would love a revert to the initial 5h quota.

This independent before/after report is useful because you are describing a behavior change at the same 5-hour boundary, not merely faster quota drain.

If you already know them, the two most valuable missing details are simply:

  • the last known-good date when an already-running task crossed the 5h boundary and was allowed to finish;
  • the first known-bad date when an already-running task was stopped at that boundary.

And for one existing bad specimen, if preserved: Codex surface/version, model + effort, whether the weekly allowance still had headroom, and the exact terminal/limit text.

No need to deliberately burn another five-hour window. The cutover window is more valuable now than another generic reproduction.

OpenAI’s current guidance still says an active turn can continue after a limit, subject to fair use, so a reproducible old-behavior → new-behavior transition is exactly the thing that Support/product needs to classify.

Oh it should be pretty easy to find. They removed the 5h barrier for a long time because it was a nightmare and not working properly (but still better than the actual one).

It was gone from the 12th of July to the 25th of August. So the 12th of July was the last day of the better version of the 5h quota and the 25th of August was the introduction of the new 5h quota. And it was worst from day one.

With the rythm of the reset lately I think they cannot continue without the 5h barrier and they also increased immensly the amount of times he asks for the same permissions event if you give long lasting permissions. So puting the old 5h quota would require to use the auto validation I think. And that would also eat drastically at the quota. I activated it half an hour one day and never ever again xD Auto validation drains quota even faster than astra.

Can confirm, faced the exact same thing

Hi and welcome to the Community!

The feature that allowed Codex to keep working after rate limits were exhausted was disabled because some really clever users promoted tools that exploited it to keep Codex working indefinitely and shared the info on social media.

I’m not aware of any plans for this feature to return, but everyone would love to see it happen.

The way it works now is incredibly counterproductive. Codex simply stops in the middle of a task when the usage limit is reached, potentially leaving your project in an unfinished or inconsistent state.

Sure, once your 5-hour limit resets, you can ask Codex to continue where it left off. But that means it has to read through the context again, re-examine files, figure out what has already been done, and determine what still needs to be completed. All of that consumes additional usage for work that has essentially already been done.

I’m currently working on a fairly large project, which makes this problem even worse. There’s a lot of code, a lot of files, and a lot of context that Codex needs to understand before it can continue working. Every time a task gets interrupted by the usage limit, Codex has to spend a considerable amount of time and usage getting back up to speed. That’s usage I could otherwise have spent on actually making progress with my project.

I understand the need to prevent abuse, but there’s a much simpler way to handle this: let the current task finish and deduct any excess usage from the next 5-hour period.

For example, suppose a task exceeds the current limit and consumes an additional 30% of the next period’s allowance. When that period starts, you simply begin with 70% instead of 100%.

If a task consumes the entire allowance of the next period, that period starts at 0%, effectively preventing you from starting any new tasks until the following reset. You could even allow the balance to go negative if necessary, carrying the excess usage over to subsequent periods.

This way, users aren’t forced to interrupt their workflow, Codex can finish what it started, and OpenAI still enforces the same overall usage limits. Nobody gets any additional usage for free.

The current implementation is actually making me reconsider my OpenAI subscription. I’m already working within the usage limits I’m given, but now a significant portion of that allowance is wasted simply because Codex has to repeatedly figure out where it left off. That’s not just frustrating; it’s an incredibly inefficient use of the limited resources we’re paying for.

Exactly, A good solution could be a “Complete Current Task” grace mode once the 5-hour or weekly limit is reached, Codex could stop accepting new tasks but finish the task already in progress.
This would prevent half-completed implementations while still respecting usage limits.

The current documentation and the “this feature was disabled”
explanation in #8 still need reconciling. As of October 5, the Codex
pricing page
says an active
turn can continue after a limit, subject to fair use limits.

That qualification matters. It is not a promise that an arbitrarily
large task will finish, that more workers can keep starting, or that
everyone reporting a hard stop here is now fixed. The current docs
also say Pro has no five-hour limit, so Plus/Standard Business
boundary reports need to remain separate from Pro weekly exhaustion.

For the context-reconstruction problem @Zippy1970 described, one
practical mitigation is to have the ongoing task maintain a short
handoff note in the project: what changed, which checks actually ran
and their results, and the next unfinished step. After an
interruption, that note plus the current diff gives a resumed task a
much smaller starting point than asking it to rediscover the entire
project.

It won’t repair quota enforcement, but it can preserve useful progress
while OpenAI clarifies which active-turn cases the published fair-use
continuation actually covers.

Hi Everyone,

I appreciate everyone sharing their experiences and highlighting the impact these interruptions can have, particularly during larger or longer-running tasks.

OpenAI’s current guidance explains that an active Codex turn may continue after a usage limit is reached, subject to fair-use limits. More information is available here: https://help.openai.com/en/articles/11369540.

I recognize that this does not fully address the experience described here, where work can still be interrupted and additional context may need to be rebuilt afterward. I’ll make sure the feedback around smoother completion of active tasks and greater clarity on usage-limit behavior is shared internally. I’m unable to provide details on whether or when changes may be made.

- Saif