Skip to content

[Feature Request] Codex Usage Grace Mode, Anti-Abuse Protection & Automatic Task Completion #59320

Open

Description

@uzemnah-oss

What variant of Codex are you using?

Codex App

What feature would you like to see?

Proposal: Codex Usage Grace Mode, Anti-Abuse Protection, and Automatic Task Completion

Summary

I would like to propose three interconnected improvements to the Codex usage limit system, designed to prevent critical development workflows from being interrupted when users reach their weekly or five-hour usage limits.

Currently, users can exhaust their weekly limit while still having a significant percentage of their five-hour allowance remaining. Despite having unused capacity in the shorter usage window, access to Codex is immediately blocked.

This can be particularly disruptive during complex programming tasks, infrastructure development, debugging, reverse engineering, and multi-file codebase modifications.

I propose introducing a controlled grace period that allows users to finish consuming their remaining five-hour allowance, prevents that allowance from refreshing until the weekly reset, and allows an already-running task to reach a safe completion point before Codex becomes unavailable.


Feature 1: Usage Grace Mode

Allow users to consume their remaining five-hour allowance after exhausting their weekly limit.

Proposed behavior

When a user's weekly Codex usage reaches 0%, instead of immediately blocking further access:

  • Activate a temporary Usage Grace Mode.
  • Allow the user to continue using Codex with the remaining capacity from their current five-hour usage window.
  • Preserve the exact amount of remaining capacity at the moment the weekly limit is exhausted.
  • Do not grant additional weekly allowance or start a new five-hour usage window.
  • Once the remaining five-hour capacity reaches 0%, block new Codex tasks until the weekly allowance resets.

Example

A user's dashboard shows:

  • Weekly limit: 0% remaining.
  • Five-hour limit: 62% remaining.
  • Next weekly reset: 5 days away.

Current behavior: Codex becomes unavailable immediately despite the unused 62% five-hour capacity.

Proposed behavior: Codex remains available in Grace Mode until that remaining 62% is consumed, after which further usage is blocked.

This provides a limited opportunity to finish urgent development work without introducing unlimited access.


Feature 2: Anti-Abuse Protection and Reset Locking

Prevent users from repeatedly refreshing their five-hour allowance while their weekly limit is exhausted.

To ensure Grace Mode cannot be exploited, the system should temporarily freeze the normal five-hour usage reset mechanism.

Proposed behavior

  • Once the weekly limit reaches 0%, the remaining five-hour allowance is recorded.
  • The five-hour usage window no longer automatically replenishes while the weekly limit remains exhausted.
  • Users can consume only the remaining allowance captured when Grace Mode begins.
  • Waiting five hours, restarting the application, switching devices, or opening a new session must not restore that allowance.
  • When the weekly usage limit resets, the five-hour allowance is also refreshed and normal usage resumes.
  • All usage tracking and enforcement should take place server-side.

Example

A user enters Grace Mode with 62% of their five-hour capacity remaining.

They consume another 40%, leaving 22%.

Even if five hours pass, their available Grace Mode capacity remains at 22% rather than resetting to 100%.

Once that 22% is consumed, no additional Codex requests are permitted until the weekly reset.

This ensures that Grace Mode is a finite extension rather than a loophole for unlimited usage.


Feature 3: Automatic Completion of In-Progress Tasks

Allow Codex to safely complete an already-running task when usage limits are exhausted.

One of the most disruptive experiences for developers is reaching a usage limit in the middle of a complex task.

For example, Codex might be:

  • Modifying multiple interconnected source files.
  • Debugging a proxy server or reverse-engineered system.
  • Refactoring critical infrastructure.
  • Executing automated tests.
  • Applying migrations or updating project configurations.
  • Investigating failures across multiple components.

Interrupting the agent at an arbitrary point can leave development work incomplete and require significant recovery effort.

Proposed behavior

If Codex reaches its final available usage limit while actively executing an existing task:

  1. Allow the current task to enter a restricted Task Completion Grace Period.
  2. Continue execution toward a safe completion point within a bounded additional allowance.
  3. Allow necessary final checks, test execution, and consistency verification.
  4. Prevent the user from submitting new tasks or expanding the existing task's scope during this period.
  5. Once the task completes, disable further Codex usage until the applicable limit resets.

Important safeguards

To prevent abuse:

  • Apply a strict maximum additional token or compute allowance.
  • Enforce a maximum execution time.
  • Permit only tasks that were already running before the limit was exhausted.
  • Prevent users from extending the task by repeatedly submitting additional instructions.
  • Keep all enforcement server-side.
  • Do not allow an indefinite task to bypass limits.
  • If full completion is impossible within the allowance, prioritize safe termination and preserving recoverable progress.

Safe termination fallback

If Codex cannot complete the original task before the grace allowance expires, it should:

  • Stop safely wherever possible.
  • Preserve completed file modifications.
  • Avoid silently leaving destructive or partially applied operations.
  • Record which files were changed.
  • Save relevant test results and error logs.
  • Provide a concise summary of completed and unfinished work.
  • Generate a continuation summary so the user can resume efficiently after the next reset.

A safe checkpoint is preferable to an abrupt interruption that provides no actionable recovery information.


Suggested State Transitions

NORMAL MODE

  • Both usage limits have available capacity.
  • Codex operates normally.

GRACE MODE

  • Weekly allowance reaches 0%.
  • Remaining five-hour capacity becomes a fixed, non-refreshing allowance.
  • New tasks are permitted only while that allowance remains.

TASK COMPLETION MODE

  • The final available allowance is exhausted during an active task.
  • The existing task receives a strictly bounded completion allowance.
  • No new tasks or additional scope may be introduced.

LIMIT EXHAUSTED

  • No remaining capacity or completion allowance.
  • Codex blocks further usage until the applicable reset.

WEEKLY RESET

  • Normal weekly and five-hour allowances are restored.
  • Codex returns to normal operation.

Expected Benefits

  • Reduces disruptions during critical development work.
  • Allows users to consume otherwise inaccessible short-window capacity.
  • Improves the experience for users working on complex, long-running tasks.
  • Reduces the likelihood of unfinished operations and difficult recovery.
  • Provides a predictable transition between available and exhausted usage.
  • Maintains strict limits through server-side enforcement and finite grace allowances.
  • Improves transparency and trust in the Codex usage system.

Final Considerations

I understand that usage limits are necessary for infrastructure capacity management, fairness, and cost control.

This proposal does not suggest unlimited Codex usage, unlimited resets, or unrestricted access beyond plan limits.

Instead, it proposes a predictable, controlled mechanism that improves the user experience while preserving meaningful restrictions.

Grace Mode and Task Completion Mode would necessarily introduce some additional bounded usage beyond the existing weekly allowance. The exact maximum should therefore be determined by the Codex team based on capacity and operational constraints.

Ideally, the dashboard would clearly display the current state and remaining grace allowance.

Thank you for considering this proposal. I believe

Additional information

Real-World Example

I am currently a ChatGPT Plus subscriber using Codex for a technically complex development project involving proxy infrastructure, reverse engineering, and multiple interconnected components.

I recently exhausted my weekly Codex usage limit while still having approximately 62% of my five-hour usage allowance remaining.

At that point, the dashboard showed:

  • Five-hour limit: 62% remaining
  • Weekly limit: 0% remaining
  • Time until weekly reset: 5 days and 5 hours

Despite having significant unused capacity in the five-hour window, I could no longer use Codex.

This occurred during an active debugging and development phase involving crashes, errors, and unfinished technical work.

Because the codebase and tasks are complex, losing access for multiple days creates significant disruption.

I am not requesting a personal limit reset through this GitHub issue. I am proposing a general product improvement that could benefit other developers facing similar interruptions.

Grace Mode would allow me to consume my existing remaining allowance, while Task Completion Mode would help prevent the agent from stopping abruptly during important changes.

I have attached a screenshot of my usage limits for reference.

Thank you for taking the time to review this suggestion.

Activity

  1. added
    enhancement
    on Nov 4, 2026
  2. added
    app
    rate-limits
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appenhancementrate-limits

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions