Codex ran out of room in the model's context window. Start a new thread or clear earlier history before retrying. [V: 0.98]

Resolved 💬 3 comments Opened Feb 6, 2026 by sriinnu Closed Feb 6, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.
even with the latest release ((v0.98.0), I am getting the same error repeatedly and quite often ■ Codex ran out of room in the model's context window. Start a new thread or clear earlier history before retrying.

the cli then no longer takes further commands. The only way out is /new

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 6 months ago

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

  • #10823

Powered by Codex Action

etraut-openai contributor · 6 months ago

Duplicate of #9046

yassirusa · 4 months ago

When will this be worked on. Codex-5.3 and codex-5.3-spark are completely useless and they keep churning tokens without editing any code until they "run out of room"