Skip to content

Bring back % for token use in statusline #17874

Closed as duplicate
Closed as duplicate

Description

@joshka

What version of Codex CLI is running?

codex-cli 0.120.0

What subscription do you have?

Pro

Which model were you using?

No response

What platform is your computer?

macos

What terminal emulator and version are you using (if applicable)?

ghostty / vscode

What issue are you seeing?

Having the percentage in the status line is much more useful than a bar graph.
A percentage allows you to choose what sorts of messages you want to send based on the remaining usable context space before compaction kicks in. Removing this makes it more difficult to work around compaction effects.

What steps can reproduce the bug?

/statusline with context-usage set

What is the expected behavior?

show a percentage

Additional information

This was changed away from percentage recently (in the last couple of releases)
The rationale was that it was confusing.
Perhaps something like xx% ctx would be useful / less confusing.

Activity

  1. added
    enhancementNew feature or request
    CLIIssues related to the Codex CLI
    contextIssues related to context management (including compaction)
    TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal display
    on Apr 15, 2026
  2. etraut-openai commented on Apr 15, 2026

    @etraut-openai
    Contributor

    Already fixed on main.

  3. joshka commented on Apr 15, 2026

    @joshka
    Author

    Thanks :)

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

    CLIIssues related to the Codex CLITUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displaybugSomething isn't workingcontextIssues related to context management (including compaction)enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions