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

Open 💬 4 comments Opened Mar 11, 2026 by xipeng5
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

Codex – OpenAI’s coding agent- 0.5.76

What subscription do you have?

puls

Which model were you using?

gpt-5.3-codex

What platform is your computer?

mac

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

vscode windsurf

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?

no

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 5 months ago

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

  • #12790
  • #12468
  • #13769

Powered by Codex Action

mkarikom · 5 months ago

this is definitely a bug, I hit this today

jonnyhoff · 4 months ago

I also have this issue.

Version 26.417.41555 (1858)

disco-trooper · 2 months ago

Encountered it as well. Thread ID: 019ea703-3481-7292-964e-ff30026f75b2.