Codex ran out of room in the model's context window. Start a new thread or clear earlier history before retrying.
Open 💬 2 comments Opened Jul 8, 2026 by petrovk23
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.623.141536 • Released 7 Jul 2026
What subscription do you have?
Plus
What platform is your computer?
Microsoft Windows NT 10.0.26200.0 x64
What issue are you seeing?
I got 'Codex ran out of room in the model's context window. Start a new thread or clear earlier history before retrying.' message and Codex stopped working.
What steps can reproduce the bug?
Feedback ID: 019ed9c1-8534-7c62-acd0-6d62ea6f8977
What is the expected behavior?
I expected Compaction to work and to be able to use the same thread for the same daily work for ever and accumulate relevant knowledge along the way.
Additional information
_No response_
Showing cached comments. Read the full discussion on GitHub ↗
1 Comment
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action