Bring back % for token use in statusline

Resolved 💬 3 comments Opened Apr 15, 2026 by joshka Closed Apr 15, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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.

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 4 months ago

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

  • #17497
  • #17450
  • #17438
  • #17437

Powered by Codex Action

etraut-openai contributor · 4 months ago

Already fixed on main.

joshka · 4 months ago

Thanks :)