Skip to content

Feature Request: Real-Time Token Counter Next to Time Counter (like Claude Code) #5390

Closed as not planned

Description

@BobbyWang0120

What feature would you like to see?

I would like to see a real-time token counter displayed next to the time counter when Codex is working, similar to how Claude Code implements this feature.

Benefits:

  • Users can see not only how long a task has been running, but also monitor the token output in real-time
  • The dynamically updating token counter provides immediate feedback that Codex is actively working
  • Users can gauge the output speed and performance by tracking tokens per second/minute
  • This helps distinguish between Codex being stuck versus processing large amounts of data

Comparison to Claude Code:
Claude Code displays both elapsed time and a live token counter during code generation, giving users transparency into the AI's activity and progress. This same visibility would greatly improve the Codex user experience.

Additional information

This feature would be particularly valuable for long-running tasks where users need assurance that the system is still processing their request. Having both time and token metrics visible would enhance user confidence and provide actionable performance insights.

Activity

  1. added
    enhancement
    on Oct 20, 2025
  2. github-actions commented on Oct 20, 2025

    @github-actions
    Contributor

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

    Powered by Codex Action

  3. added
    CLI
    on Nov 15, 2025
  4. etraut-openai commented on Dec 14, 2025

    @etraut-openai
    Contributor

    This feature request hasn't received any upvotes or follow-on posts, so I'm going to close it.

  5. jiyuuDev commented on Sep 27, 2026

    @jiyuuDev

    I would like to add a specific use case to this request: an optional live tokens-per-second (TPS) indicator in the Codex CLI status line.

    For example: TPS: 42.6 tok/s.

    Suggested behavior:

    • Make it selectable through /statusline, alongside the existing model and token-usage items.
    • Update it during model output generation so users can see the current generation speed at a glance. A short rolling average would be useful to keep the value readable.
    • Clearly define the measurement as output tokens per second. Tool execution and time waiting for user input should not be treated as model generation time.
    • Show — or hide the value when no reliable measurement is available; label estimates if exact token counts are unavailable during streaming.

    This would make it easier to observe response speed without inspecting logs or timing output manually. The current status-line items include token totals, but a live throughput indicator would provide different information.

    Could this request be reconsidered, or should the status-line TPS item be tracked separately?

    Related layout/customization use case: multi-line, user-customizable status area with TPS.

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

    CLIenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions