Windows: "XX% left" context indicator no longer appears in Codex CLI/TUI, even though token_count/model_context_window are still present

Resolved 💬 4 comments Opened Apr 13, 2026 by YondSun Closed Apr 13, 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?

0.120.0

What subscription do you have?

Windows: "XX% left" context indicator no longer appears in Codex CLI/TUI, even though token_count/model_context_window are still present

Which model were you using?

_No response_

What platform is your computer?

windows11

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

all

What issue are you seeing?

### Summary

On Windows, the XX% left context indicator is no longer shown in the Codex CLI TUI.

This used to work for me before. The issue first appeared after I updated from 0.119.0 to 0.120.0 on April 13, 2026, but it still persists after downgrading back to 0.119.0.

What makes this look like a TUI/rendering issue rather than missing backend data is that the session JSONL still contains token_count and model_context_window, but the TUI does not render the XX% left
display.

### Environment

  • OS: Windows 10 Pro
  • Architecture: x86_64
  • Codex CLI version tested:
  • 0.120.0
  • downgraded back to 0.119.0
  • Also tested with:
  • npm-installed CLI
  • official standalone Windows exe
  • Shells tested:
  • Windows Terminal
  • PowerShell 7
  • cmd
  • VS Code integrated terminal

### Expected behavior

Codex CLI should show the context indicator in the TUI, e.g. XX% left.

### Actual behavior

The TUI starts normally, but the XX% left indicator is missing.

Example of what I currently see:

```text
>_ OpenAI Codex (v0.119.0)

model: gpt-5.4 high /model to change
directory: D:\Download

Tip: New Build faster with Codex.

No XX% left is shown.

### Reproduction

  1. Start Codex CLI on Windows
  2. Enter a prompt and continue the session
  3. Observe the TUI/status area

### What I already tried

  • Updated from 0.119.0 to 0.120.0
  • Downgraded back to 0.119.0
  • Fully uninstalled and reinstalled Codex
  • Renamed/deleted the local Codex config/state directory and let it recreate
  • Tested with a fresh CODEX_HOME
  • Tested in multiple terminals
  • Tested the official standalone Windows exe instead of the npm wrapper

None of the above restored the XX% left indicator.

### Additional evidence

The session log still appears to receive token/context data.

In the session JSONL I can still see events like:

  • token_count
  • model_context_window

So it looks like the underlying usage/context information still exists, but the Windows TUI is not rendering that indicator.

### Comparison

On my Mac, an older Codex CLI setup still shows the XX% left indicator normally.

### Notes

This does not look like a simple local config issue anymore, because:

  • it reproduces with both npm install and official exe
  • it reproduces with a fresh CODEX_HOME
  • it reproduces across multiple Windows terminals
  • the session log still contains token/context metadata

### If helpful

I can also provide:

  • a screenshot
  • a sample session JSONL snippet showing token_count / model_context_window
  • exact terminal/Windows build details

What steps can reproduce the bug?

powershell
codex

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 4 months ago

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

  • #17438
  • #17450
  • #17497

Powered by Codex Action

etraut-openai contributor · 4 months ago

I presume you're talking about the display in the bottom status line. This indicator is still available, but it's no longer displayed by default. This was based on feedback we received from users. If you want to see this value, you can configure your status bar using the /statusbar slash command.

TimFletcher · 4 months ago

Seems to be /statusline on v0.120.0.

etraut-openai contributor · 4 months ago

My bad. You're correct, it's /statusline.