codex icon indicating copy to clipboard operation
codex copied to clipboard

Show global usage and reset time for 5h/weekly guardrails in Codex CLI

Open agenticbuddy opened this issue 1 year ago • 6 comments

Feature request:
When usage limits are enforced (e.g., 5-hour or weekly guardrails), it would be extremely helpful if Codex CLI could display:

  1. Global usage within the current window (not just the current session):

    • Total tokens / requests used in the active 5h or weekly window.
    • How much of the allowance remains.
  2. Reset information:

    • Exact time when the current window will reset (e.g., "Resets in 2h 15m").
    • If multiple windows apply (e.g., 5h and weekly), show both.
  3. Effective plan and limiter context:

    • The plan currently applied on the backend (e.g., Pro or Plus), even if different from the local token’s plan.
    • The type of guardrail or limiter that triggered (rate limit, reasoning window, etc.).

This would make it clear to the user:

  • Whether the limit is session-based or global.
  • How close they are to hitting the limit.
  • How long they need to wait before being unblocked.

It would also help identify plan upgrade propagation issues, such as continuing to enforce Plus-level guardrails after upgrading to Pro.

agenticbuddy avatar Aug 08 '25 02:08 agenticbuddy

Any updates on this?

AlexJanow avatar Aug 25 '25 20:08 AlexJanow

Would also like to know. It can limit usage time to less than 3 hours, that's a deal-breaker.

ZackHirshhorn avatar Aug 26 '25 23:08 ZackHirshhorn

Claude added a "status-bar" like where anyone can use any plugins or extensions to customize it the way you want. The most popular one is context. Maybe something similar for Codex could make sense, expose the context via an API and allow user to tweak the status bar below the input.

Image

bernaferrari avatar Sep 04 '25 20:09 bernaferrari

We now have 1, 2 and parts of 3 under /status. The amount of context used is also displayed under the composer. Thanks a lot for the detailed feature request, will close this, but please open new ones for other features you would like to see added or improved.

tibo-openai avatar Oct 19 '25 00:10 tibo-openai

We've got a business account with OpenAI and this degree of instability is not acceptable. OP's suggestions are the BARE minimum.

mike-red-shift avatar Feb 15 '26 16:02 mike-red-shift

Support and proses

anowardear062-svg avatar Feb 15 '26 16:02 anowardear062-svg