Skip to content

Feature request: show rate limit reset countdown in the TUI status line #21003

Closed as duplicate

Description

@zime78

Feature request

Please show a compact reset countdown for rate-limit windows directly in the TUI status line when reset data is available.

Today the status line can show values like:

5h 98%
weekly 92%

This makes it difficult to tell how much time is actually left until each limit resets. The main reason for this request is that the remaining reset time is hard to see and understand at a glance, especially when deciding whether to keep working in the current session, wait for a reset, or switch models.

A clearer status line could look like:

5h reset 4h12m 98%
weekly reset 3d4h 92%

Suggested behavior

  • When reset timestamp data is available, show a compact countdown next to the existing limit label and percentage.
  • Keep the current output format as a fallback when reset timestamp data is unavailable.
  • Use short labels such as 1m, 1h1m, 2d, or 2d3h so the status line stays compact.

Implementation reference

I prepared a branch with a small implementation and tests, but opening a PR from this environment was blocked by GitHub permissions.

Branch:

zime78/codex:codex/status-reset-countdown

Commit:

52188d5 Show rate limit reset countdown in status line

Compare URL:

https://github.com/openai/codex/compare/main...zime78:codex/status-reset-countdown?expand=1

Validation run on the branch:

cargo fmt -p codex-tui
CARGO_NET_GIT_FETCH_WITH_CLI=true cargo test -p codex-tui rate_limit --lib

Activity

  1. added
    enhancement
    CLI
    rate-limits
    TUI
    on May 4, 2026
  2. github-actions commented on May 4, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

  3. removed
    CLI
    on May 4, 2026
  4. sahil-infocusp commented on Sep 8, 2026

    @sahil-infocusp

    Feature request: please add an optional status-line item showing the time remaining until the five-hour usage limit resets, for example 5h resets in 2h 15m.

    Use the actual account reset timestamp and refresh the countdown while idle. An optional local reset time would also be useful. This would help users plan longer tasks without repeatedly opening /status.

  5. etraut-openai commented on Oct 13, 2026

    @etraut-openai
    Contributor

    (response from codex)

    Closing in favor of #18812. That issue tracks exposing quota reset times in the status line and already includes a countdown format request. Please include this compact, idle-refreshing countdown use case in further discussion there.

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

    TUIenhancementrate-limits

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions