Configurable TUI status line (model, cwd, git, cost, tokens, context%)
Resolved 💬 2 comments Opened Jan 23, 2026 by mvrckhckr Closed Jan 23, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What feature would you like to see?
Feature request: configurable Codex CLI TUI status line.
I’d like to customize the TUI status line to show:
- Model name
- Current relative directory
- Git branch/status
- Cost so far in $
- Tokens in/out (rounded to 1k)
- Percent of context used
Ideally via ~/.codex/config.toml with a templated format string (e.g., {model} {cwd_rel} {git}) and optional hide/format
$ {cost} in:{tokens_in_k} out:{tokens_out_k} ctx:{context_pct}%
controls.
Happy to provide more details or test.
Additional information
_No response_
2 Comments
Thanks for the suggestion. We're already tracking this feature request in #2926, which has some upvotes. Please add your upvote and feel free to clarify any aspects that you'd like to see in that thread.
I've raised https://github.com/openai/codex/issues/16393 for the API costs aspect.