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
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
Duplicate of #9046
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"