codex - 💡(How to fix) Fix missing context % usage in new version [3 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#18101Fetched 2026-04-17 08:32:56
View on GitHub
Comments
3
Participants
3
Timeline
8
Reactions
0
Author
Timeline (top)
commented ×3labeled ×3closed ×1cross-referenced ×1
RAW_BUFFERClick to expand / collapse

What version of Codex CLI is running?

codex-cli 0.120.0

What subscription do you have?

API Key:

Which model were you using?

gpt-codex-5.4.

What platform is your computer?

Darwin 25.3.0 arm64 arm

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

ghostty

What issue are you seeing?

Since a recent upgrade, I no longer see the % left of the context window. I noticed that this may be intentional as we now have decent auto-compaction, but in the cli I like to have more control myself rather than this being abstracted away. Sometimes the agent does start acting "drunk" and I rather have control over this as to continue like that, or start a new session. I sometimes rather do either my own /compact when I want, or even instructing the agent to write a Handoff.md for the next agent, but I prefer to do this myself and not rely on auto-compaction. Having more control, is the reason I prefer the cli over codex desktop too. Thank you for your consideration.

What steps can reproduce the bug?

% usage / tokens left in context window is not longer shown.

What is the expected behavior?

I can see the % usage as before

Additional information

As a cli user I like to have more control over the "raw machine", not too much, like we had to decide before the temperature, but with the token window I rather not auto handle that.

extent analysis

TL;DR

The issue can be addressed by re-enabling the display of the context window percentage usage, potentially through a configuration option or a command-line flag.

Guidance

  • Check the Codex CLI documentation for any new configuration options or flags related to auto-compaction and context window management.
  • Look for any updates or release notes for version 0.120.0 that may mention changes to the context window display.
  • Consider submitting a feature request to the Codex CLI developers to add an option for manual control over context window compaction.
  • Review the codex-cli command-line options to see if there are any flags that can be used to override the default auto-compaction behavior.

Notes

The issue seems to be related to a change in the default behavior of the Codex CLI, and the user is looking for a way to regain manual control over the context window compaction. Without more information about the available configuration options or command-line flags, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: The user may need to wait for an update or a new release of the Codex CLI that addresses this issue, or submit a feature request to the developers to add the desired functionality.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix missing context % usage in new version [3 comments, 3 participants]