Recently, there was a change in the token context limit for the codex(chatgpt) app and the codex cli + any connectors to codex app-server. The change was from roughly 1M tokens down to 258K tokens. which is a substantial decrease in the token context limit.
So instead of the model keeping track of everything it is and has done, it auto compacts quite often and loses track of what i originally set it to do. this is absolutely unacceptable for the kinds of long horizon work that I like to do. My code quality has went down a good bit compared to using a competitors latest frontier model.
if it isnt resolved soon, im going to switch to claude. changing this out of the blue is stupid of openai!
they do these things on purpose, dont expect them to care
this is unfortunate. in my opinion, codex has been slowly been overtaken by enshittification.
Yes, the context size limit was reduced from 372K to 272K in mid-July. I suggest joining the corresponding issue reports in the public repo to get the original context window reinstated.
opened 09:39PM - 21 Jul 26 UTC
enhancement CLI context app config
# Restore GPT-5.6 Sol’s 372k Codex context window, or provide an opt-in setting …