Context just compacted, read 0% used, yet unable to continue

Open 💬 1 comment Opened Aug 18, 2026 by uKER
💡 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.147.0

What subscription do you have?

Pro

Which model were you using?

5.3 spark

What platform is your computer?

Windows

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

_No response_

Codex doctor report

Having encountered many times the bug where Codex sees itself with the context windows full, and unable to compact it due to lack of context space, I compacted it manually, being at 63% if I remember correctly.
Having done this, I ask it to continue, and it says it cannot, due to having run out of context space, despite it reading 0% used in the status bar.

What issue are you seeing?

■ Codex ran out of room in the model's context window. Start a new thread or clear earlier history before retrying.

What steps can reproduce the bug?

Uploaded thread: 01a0167c-a682-7f12-b0a2-f78a0416c866

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

1 Comment

github-actions[bot] contributor · 9 days ago

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

  • #38861

Powered by Codex Action