Support 1M token context for GPT-5.5 in Codex

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

What variant of Codex are you using?

latest

What feature would you like to see?

I want to give feedback on the current GPT-5.5 context limit in Codex.

From the official announcement, I understand that GPT-5.5 in Codex is documented as having a 400K context window, while the API version supports 1M context. So this does not look like an undocumented bug.

My concern is with the product decision itself.

With GPT-5.4, Codex users could configure a much larger context window through model_context_window. For example:

model = "gpt-5.4"
model_context_window = 1000000
model_auto_compact_token_limit = 512000

That made GPT-5.4 very useful for large repositories and long-running coding sessions.

But with GPT-5.5, even though the model itself is supposed to be better at long-context reasoning and large coding tasks, Codex subscription users are now capped at 400K context. In practice, that makes GPT-5.5 feel like an upgrade in model quality but a downgrade in long-context usability inside Codex.

I understand that 1M context is expensive. I also understand why 400K might be a reasonable default for most users.

But I do not think it should be the hard limit for everyone.

For advanced Codex users, especially those working on large codebases, the choice between compaction and full context matters a lot. Codex compaction is good, but it is still a tradeoff. During complex debugging, architecture analysis, or multi-file refactors, I would often rather spend more quota and preserve more raw context than compact earlier.

A better approach might be:

  • Keep 400K as the default for GPT-5.5 in Codex.
  • Allow users to opt into larger windows, such as 512K, 768K, or 1M.
  • Charge a higher usage multiplier when larger context is enabled, similar to how Fast mode already uses a higher cost multiplier.

The important point is user control. If a user prefers lower cost and faster compaction, 400K is fine. But if a user is willing to pay more quota for full-context runs, Codex should ideally allow that.

Right now, GPT-5.5 is advertised as stronger for long-context coding work, but Codex subscription users have less access to that long-context capability than they had with GPT-5.4. That feels like a regression in one of the areas where GPT-5.5 should matter most.

Please consider allowing advanced users to opt into 1M context for GPT-5.5 in Codex, even if it comes with a higher consumption rate.

Additional information

_No response_

View original on GitHub ↗

132 Comments

github-actions[bot] contributor · 2 months ago

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

  • #19409
  • #19208
  • #19339
  • #19185

Powered by Codex Action

umikato · 2 months ago

I want to add one more point because I think this is exactly the kind of product decision that creates long-term frustration among power users.

I really like OpenAI and Codex. That is why I care enough to keep pushing on this. But I hope OpenAI does not repeat the same kind of mistake that made many Claude users frustrated before.

Claude also had a period where 1M context was effectively separated from the normal subscription experience and was closer to an API / extra-usage capability. But Anthropic later moved in the other direction: in Claude Code, 1M context is now included with Max, Team, and Enterprise subscriptions for Opus 4.6 / 4.7. In other words, they listened to the pressure from coding users and made the long-context capability part of the subscription product instead of keeping it API-only.

That is why the current GPT-5.5 situation in Codex feels especially disappointing.

OpenAI’s own announcement says GPT-5.5 in Codex is capped at a 400K context window, while the API version supports 1M context. Codex already has the idea of paying a higher consumption rate for a different capability tradeoff.

I am not asking for free unlimited 1M context. I am asking for user choice.

If 1M context is expensive, please keep 400K as the default. But allow advanced users to opt into larger context windows through model_context_window, with a higher usage multiplier if needed. This would be much better than hard-blocking the model’s full long-context capability inside Codex subscriptions.

For large codebases, compaction is not always a substitute for raw context. Codex compaction is useful, but it is still lossy. During long debugging sessions, architectural refactors, or cross-repository reasoning, losing raw context can directly affect quality.

The frustrating part is that GPT-5.5 is clearly a stronger long-context model than GPT-5.4. OpenAI’s own long-context evals show a major improvement at 512K–1M. But in Codex, subscription users are given less practical access to that long-context capability than before.

Please reconsider closing this as not planned.

Mahkhmood9 · 2 months ago

@umikato What kind of tasks you need 1million for ?

I personally dont see it as an issue , no other model out able to compress your chat and then restart the chat again

some how it evens feels better than 5.4 (which blows my mind)

@umikato I dont think you need to be too concern, about your token use.
gpt 5.4 or 5.5 actually able to navigate huge codebases without load too much text

@umikato Do you feel the context window fill up faster?

you expect the model need to consume more and more tokens....
when the model got better and it generalize text better

Maybe you are coming from another ai models you used --- codex is crawling the code base much better than anything I seen atleast

@umikato I recomending doing some code clean up , if you context windows fills up fast, using llm ,,, is a way to fill up a big large code base -- so attempt having more lean codebase --- attempt to modernize maybe

I know its not reddit , but im trying to be helpful ;)

etraut-openai contributor · 2 months ago

Thanks for the feedback. @umikato, I closed the other issues because they were filed as bug reports. This was filed as a feature request, and I'm happy to leave it open as a forum for user feedback and upvotes.

Mahkhmood9 · 2 months ago
I want to add one more point because I think this is exactly the kind of product decision that creates long-term frustration among power users. I really like OpenAI and Codex. That is why I care enough to keep pushing on this. But I hope OpenAI does not repeat the same kind of mistake that made many Claude users frustrated before. Claude also had a period where 1M context was effectively separated from the normal subscription experience and was closer to an API / extra-usage capability. But Anthropic later moved in the other direction: in Claude Code, 1M context is now included with Max, Team, and Enterprise subscriptions for Opus 4.6 / 4.7. In other words, they listened to the pressure from coding users and made the long-context capability part of the subscription product instead of keeping it API-only. That is why the current GPT-5.5 situation in Codex feels especially disappointing. OpenAI’s own announcement says GPT-5.5 in Codex is capped at a 400K context window, while the API version supports 1M context. Codex already has the idea of paying a higher consumption rate for a different capability tradeoff. I am not asking for free unlimited 1M context. I am asking for user choice. If 1M context is expensive, please keep 400K as the default. But allow advanced users to opt into larger context windows through model_context_window, with a higher usage multiplier if needed. This would be much better than hard-blocking the model’s full long-context capability inside Codex subscriptions. For large codebases, compaction is not always a substitute for raw context. Codex compaction is useful, but it is still lossy. During long debugging sessions, architectural refactors, or cross-repository reasoning, losing raw context can directly affect quality. The frustrating part is that GPT-5.5 is clearly a stronger long-context model than GPT-5.4. OpenAI’s own long-context evals show a major improvement at 512K–1M. But in Codex, subscription users are given less practical access to that long-context capability than before. Please reconsider closing this as not planned.

In the end of the day, assume gpt 5.5 is a slightly bigger model, than what we got before ---
or they run
a different expirement that is limiting high context window .... and you are going to get a 60^10 style issue when trying to serve it... its not economical , and its
My argumnt for Smaller context window only == better

I personally really obese the 1m context window is pretty much useless

We are pretty much at the stage , that llm are not expert human , just need for keyword , or use the abstract syntax tree (AST)
No Universal Standard: A "For Loop" in Python looks different from one in C++ or Lisp at the AST level. (or even for example with c++ which has many versions and different syntaxs itself, and unablity of support) (so syntax-tree is not a practical idea for agentic coding)

and how many llm tasks are 0 shot . and a human with no ai (Websearch and a typewrite )

I love AI , and I love how random it use. you can role play the text having it make up a language syntax e.g Kygyz names - or russian/kygyz , while you are doing c++... and codex is able to play along
(I mean a friend of mine claims he speak Kyrgyz to the LLM and then it replies to him in arabic text,.........)

sometimes you use big libraries , and you need to make a heavy use of documention, nothing is really magical, but pretty much when ever I ask it for a niche functionality it scrapes what I need instantly with basic words (both in english and kygyz )

when not using English / spanish / latin languages -- it trips and repeat, it doesnt seems to be to the same level --- I cant imagine how much better the models can be if you are able to extract other languages --- or the very least,,, apply some kind of logic/ technology -- to use small tokens, for big gateways

agentic coding, faces a problem , of having a need to fail, get the error response, and then adjust --- like a human need a visual feedback (and why extremely blind people will always be limited) a human need a keyword of a function and he always a "compact state" --- for the same reason you cant speak 20 lanugages and and computer language/syntax --- then need to some how able to use external libraries / sdk / frameworks,, which is what I consdier good coding is about

So LLM , agentic coding. Not all of the techinics are discovered how to make it better --- we see the birth of amazing technology , and there is still rapid developemnt --- it still feels better every iteration --- its such an amazing tool Im so happy I had to chance to use it my lifespam

umikato · 2 months ago

@Mahkhmood9 Thanks for the input! I actually agree with you on a lot of fronts.

Codex's compression is genuinely great, and it's honestly one of the main reasons I use it. You're right that 5.5 is much smarter at navigating and summarizing big repos without blindly stuffing every file into the context window. For standard coding tasks, 400K + good compression is totally fine.

The bottleneck happens with a different type of workload: long-running, self-directed sessions where the model has to hold onto a massive working state. In these cases, the context isn't just raw source code. It's the accumulated state of the task—keeping track of huge architectural plans (where the plan itself can sometimes eat up 256K+), iterating over dozens of failed attempts, preserving invariants across multi-file refactors, and parsing endless logs and traces.

Compression is useful here, but it's fundamentally lossy. In deep debugging sessions, the exact details that get compressed away early on are usually the ones you desperately need an hour later. I appreciate the tip on code cleanup, but this isn't really about messy code or token anxiety. The need for 1M context is a real, practical bottleneck for power users doing heavy agentic workflows.

I also really want to emphasize how much I appreciate what the OpenAI team has been doing lately. A major reason I shifted my heavy workflows from Claude Code over to Codex was the GPT-5.4 release. Giving us that configurable 1M context was a brilliant move—it felt incredibly generous, extremely developer-friendly, and it provided the raw context needed for those heavy-lifting tasks.

OpenAI has also built a massive amount of goodwill recently by resetting Codex rate limits and clearly making an effort to pass more capacity down to builders. That overall generosity is exactly why hitting a hard 400K wall with 5.5 feels like such a jarring contrast to the direction the product was heading.

I'm not asking for 1M to be the default for everyone, since 5.5 is clearly more token-efficient. I just want the choice.

Please allow advanced users to opt into 512K/768K/1M via model_context_window and charge a higher usage multiplier for it, similar to the existing Fast mode tradeoff. At the end of the day, GPT-5.5 is undeniably a massive leap forward in model capabilities. But by hard-capping the context window in Codex, what should be a pure upgrade ends up feeling like a direct regression for the power users who rely on it the most. We just want the toolset to fully unlock what the model is actually capable of.

LukyPlay · 2 months ago

@tibo-openai Where's 1m context window, Tibo?

2-fly-4-ai · 2 months ago

@tibo-openai What's with this regression? Rug pull our context? Then say it's a feature request when we want it back. It's clearly not. Please restore this functionality. These types of changes are really not acceptable. I have spent an hour this morning debugging why my context is set back to default. I really did not expect this from the release of a new model.

miraclebakelaser contributor · 2 months ago

While it may be nice to have this as a product option for pro users, I don't think some of ya'll fully appreciate how quickly it'll decimate your usage limits. Going by eye test, rapid usage depletion has been one of the most frequent complaints here since gpt-5.4 was released. An opt in to 1M would probably make it worse.

Would it be nice to have an opt-in for 1M? Sure. Would everyone who does so have the grace to acknowledge that $200/$100 only goes so far? Probably not.

cccat6 · 2 months ago

I truely think openai maybe overconfident with the compaction function. It is good, but not good enough to let the session run consistant enough in long tasks.

Let me give few real examples:

  1. When I use Windows, it rely on Powershell. GPT generally not very good at running commands in Windows. It always missing some quotes, use unexists commands, mess up directories and virtual enviroments. It is smart enough to correct itself after failed trials, which is good. However, after the compaction, it loss all the information of how to make working commands in Windows. It has to run the wrong commands, get the error information, and retry to figure out it again. Which takes time and few k(thousands) context.
  2. I use local documents, such as README.md, UPDATE.md, RULES.md to track changes and keep Codex working consistantly. The problem is, as the project getting bigger. It frequently compaction, and will lost generally most of the information in these documents. I have to ask the model reread again. It is annoying if the compaction happening in the middle of the task. The first part of the job down well, but the second part of the job sucks. It takes few to ten minutes to figure out what was done, and make few error trials. In the end, it may not follow what said in the document.
  3. If Codex triggered compaction shortly shortly after I send a guide. It will lost my original target very easily. It happend very often. I ask Codex to to five tasks, and in the second task I corrected some missunderstood of the task. Then it compacted, and will not finish all five tasks but two or three, and usually not fully follow the instructions.
  4. My project need about 80k context as background to make Codex do the right thing. Every time it compacted, it has to resume those information. Which left very little room to do the real work, and compact very frequently. Its burning a lot lo of tokens on compaction resuming.

Then, let's talk about business matters:

  1. Claming 1M or 400k is fine, but I think it is a must to describe the meaning of these clearly on the significant part. My friends and I all get very confused about how this 400k works and I spent an hour to figure it out. My friends are still asking, and get confused whether it is a bug.
  2. 400k = 272k input + 128k output, and Codex hard coded 5% reserved field, which means 272k * 0.95 = 258.4k. That's how 258k shows on Codex. It is only 64.5% of what it says on the introducing page, and that's how it makes people get confused.
  3. When people talking context window, we are talking about how much we can use. We does not care how much it will generate. That 128k generation window also fixed, even it is 1M context. We have no sense of that.

What I think maybe good to solve this issue:

  1. Be transparent on how that 1M or 400k comming from. Describe it with a simple parentheses after '1M' or '400k' claim. Such as '1M (872k input + 128k output)' and '400k (272k input + 128k output)'.
  2. Describe it in the subscription page, or model selector, or Codex page. Clerify it on GitHub is not the way to do it. Not all people check GitHub in the first place. Besides all these 'Issues' has been closed. People wil open new Issues to ask but unable to see old answer unless they search correctly in the 'Closed Issues'.
  3. Show the restriction of each model in https://developers.openai.com/codex/config-reference . Especially describe clearly why it does not effect if I set it as a large value.
  4. Display the input/output context window seprately in the Context Window Information.
  5. Make advanced configs visible in GUI, at least Codex App and IDE Extentions. Gives the context window setting a reminder to allow people read it and understand it.
  6. Give back the control to users. Indeed longer context may have few problems. It is find to remind people this, but it not a good move to force people only use small context window. We need the option to do this. We can take our own risk on longer context as a Pro user.

Thank you and I hope we can make everyone happy, either users and OpenAI fellows.

Sun-drenched · 2 months ago

I fully agree with your perspective. I’m utterly frustrated by the drastic reduction of the context window for GPT-5.5 within Codex.
When working on architecture-level issues in large-scale projects—or problems involving complex coupling across multiple submodules—the planning process can easily trigger automatic context compression. This completely breaks the planning workflow. What makes it worse is that you often don’t notice the compression has happened until your plan has already deviated drastically from the original context and requirements, resulting in massive wasted credits. I’m forced to split my work across separate chat sessions just to lay out project plans step-by-step, which severely hinders development efficiency.
Automatic compression can also kick in mid-execution of complex workflows, drastically undermining execution accuracy and reliability.
I have no issue paying for more credits; I’d even maintain multiple premium accounts just to secure higher usage limits. What I cannot accept is uncontrolled, arbitrary degradation of model performance.
With the current ill-conceived context restrictions imposed on GPT-5.5 in Codex, its overall performance is now inferior to budget-friendly open-source flagship models like Deepseek-V4-Pro.

HarryPitsillides · 2 months ago

So honest question to the OpenAI team then, why would i use Codex vs Claude on an enterprise level when Claude defaults to 1M context. My company currently is evaluating both and i have both systems. As an example, our codebase is 20 years old the AI context passed through via either claude.md or agents.md brings the model to 80k context. I ask it to explore 3 files and 1 document and i am at 220k. So Claude can continue, Codex compacts and has lost all the vital information. This is a real scenario with the most optimised of workflows. We will ofc choose Claude. 1M context in the enterprise world is a non-starter. We never get beyond 400-500k but thats the cirtical part. And before you say Codex supports 400k context, no it does not it supports 258k after you take the output tokens.

Then their is the issue where GPT 5.4 would start answering older random messages instead of my question once i reached 220 000 context. On the other hand the people who say gpt 5.5 is better this happened with 3 messages on 5.5, i filled a /feedback on the data.

reliefeai · 2 months ago

The current GPT-5.5 model is triggering context limits much faster than before, leading to frequent interruptions during long tasks. When it resumes after automatic compaction, it often suffers from memory gaps, making it unable to complete even medium-difficulty tasks. The overall usability is extremely poor.

I hope the OpenAI team takes this issue seriously. The experience in Codex has significantly degraded, and many tasks that were previously completed normally are now impossible to finish. I have already switched to using Opus 1M. If this issue cannot be resolved, I will consider stopping the purchase of GPT Pro subscriptions for my company's employees.

trevyn · 2 months ago
1. Be transparent on how that 1M or 400k comming from. Describe it with a simple parentheses after '1M' or '400k' claim. Such as '1M (872k input + 128k output)' and '400k (272k input + 128k output)'.

Yeah, this bit me. I'm used to going all the way up to 970k+ in Claude with compaction off, saw 5.5 and saw that 400k was available in Codex and decided to try it anyway "I can work with 400k". Turns out it's only ~250k in practice. Not a good experience.

Apparently you can't even do 1M with 5.4 anymore either?

Mahkhmood9 · 2 months ago

The reality is not having 1M context model , Just going to make it better for users

there is an hardware crsis

more users benefit from not having few users , using 5-10x the compute

I am not going to blame anyone pushing massive code bases into the llm,,, because its an artificial side effect of other models

and now newgen models need to fix the damaged already done in thoery

for example the over rated "opus" I used the 1m context windows, what I observe , for the same task it needs to spew 100 words
when gpt5.4 or 5.5 makes it instant with 5 words

antrhopic models just make up stuff, thats it - they need 1m context window for their nonsense
---

understand the increase to 400K is likely a sweetspot , that openai found , so its likely very good -

the product s good , not only on eval codex is really good

Mahkhmood9 · 2 months ago
@tibo-openai What's with this regression? Rug pull our context? Then say it's a feature request when we want it back. It's clearly not. Please restore this functionality. These types of changes are really not acceptable. I have spent an hour this morning debugging why my context is set back to default. I really did not expect this from the release of a new model.

I dont want 1m back

reliefeai · 2 months ago
The reality is not having 1M context model , Just going to make it better for users there is an hardware crsis more users benefit from not having few users , using 5-10x the compute I am not going to blame anyone pushing massive code bases into the llm,,, because its an artificial side effect of other models and now newgen models need to fix the damaged already done in thoery for example the over rated "opus" I used the 1m context windows, what I observe , for the same task it needs to spew 100 words when gpt5.4 or 5.5 makes it instant with 5 words antrhopic models just make up stuff, thats it - they need 1m context window for their nonsense

In reality, I am unable to complete tasks normally now. Previously, when I used GPT-5.4, I didn't actually adjust it to 1M because the performance was particularly poor, but I didn't encounter the situation of having to compact two or three times in a single session as I do now. In Codex + GPT-5.5, I encounter this situation frequently, so it is impossible to complete tasks at all.

OpenAI should thoroughly investigate the context engineering issue. Is there some garbage being inserted that is causing the context to expand faster than ever before?

Opening up 1M for GPT-5.5 is just the first thing that comes to mind when people encounter context limits and compaction, but based on our current experience, the root cause may not be there. However, as a Pro subscriber, I still hope to have the permission to use 1M; otherwise, for the same subscription, Codex is far worse than Claude Code.

@tibo-openai

reliefeai · 2 months ago
> @tibo-openai What's with this regression? Rug pull our context? Then say it's a feature request when we want it back. It's clearly not. Please restore this functionality. These types of changes are really not acceptable. I have spent an hour this morning debugging why my context is set back to default. I really did not expect this from the release of a new model. I dont want 1m back

Even if 1M is available, you don't have to enable it, but you shouldn't call for the removal of this feature.

Mahkhmood9 · 2 months ago
> > @tibo-openai What's with this regression? Rug pull our context? Then say it's a feature request when we want it back. It's clearly not. Please restore this functionality. These types of changes are really not acceptable. I have spent an hour this morning debugging why my context is set back to default. I really did not expect this from the release of a new model. > > > I dont want 1m back Even if 1M is available, you don't have to enable it, but you shouldn't call for the removal of this feature.

The reality is , that a lot more users now use codex - its just not feasible to have 1m context window

  • I personally think its on the right move, as expert human is about 2000-3000 memories . and 2million tokens is about about 300,000 human memories
  1. Make more compact code ... SImplfy , remove , make the code more lean
  2. [*] attempt to use the Memories function , (in codex settings), it works really great - even after few prompts with 5.4 or 5.5 , you can use 5.4-mini , and it uses past memory
  3. Maybe make a .md file to document the project goals , like what functions do or whatever

I really recomend the Memories option, maybe its what you are looking for
1m tokens (atleast now) is pointless because ai repeats itself , and if you look at a 1m tokens , its just repeated CoT .... Long Long Long sentences,,,, for basic logic

@liuzhiguo630
<img width="812" height="277" alt="Image" src="https://github.com/user-attachments/assets/ce6f6841-9463-4e5b-bc75-48c01944e258" />

Be happy you get to use such an amazing service with 98% SLA

as per said-company , you can see how many issues they are facing --- codex is so well designed , by so many aspect... economical, Architecture , design --- simplicity

I love how so few options you get in codex,,, instead of 200 feature, sub-sub features but ohh no, we are going to neglect the development of this new feature far as I concern none of the features documented in the Codex Documentation is neglected or unmaintained

the codex team, openai --- follow strict standards ---- when they make their products --- codex is literally the definities of field tested
we are literally facing another Bell Labs

Even if this is not the peek of ai , i am so happy with what we get as of now --- all I want is in the future to get maybe cheaper --- AGI has been reached as of today

<img width="882" height="470" alt="Image" src="https://github.com/user-attachments/assets/e4a0d291-0ebb-445a-aaa8-1fbc3107b06b" />

HarryPitsillides · 2 months ago
> > > @tibo-openai What's with this regression? Rug pull our context? Then say it's a feature request when we want it back. It's clearly not. Please restore this functionality. These types of changes are really not acceptable. I have spent an hour this morning debugging why my context is set back to default. I really did not expect this from the release of a new model. > > > > > > I dont want 1m back > > > Even if 1M is available, you don't have to enable it, but you shouldn't call for the removal of this feature. The reality is , that a lot more users now use codex - its just not feasible to have 1m context window I personally think its on the right move, as expert human is about 2000-3000 memories . and 2million tokens is about about 300,000 human memories 1. Make more compact code ... SImplfy , remove , make the code more lean 2. [] attempt to use the Memories function , (in codex settings), it works really great - even after few prompts with 5.4 or 5.5 , you can use 5.4-mini , and it uses past memory 3. Maybe make a .md file to document the project goals , like what functions do or whatever I really recomend the Memories option, maybe its what you are looking for 1m tokens (atleast now) is pointless because ai repeats itself , and if you look at a 1m tokens , its just repeated CoT .... Long Long Long sentences,,,, for basic logic @liuzhiguo630 <img alt="Image" width="812" height="277" src="https://private-user-images.githubusercontent.com/267773383/583761386-ce6f6841-9463-4e5b-bc75-48c01944e258.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzcxMjAyNDEsIm5iZiI6MTc3NzExOTk0MSwicGF0aCI6Ii8yNjc3NzMzODMvNTgzNzYxMzg2LWNlNmY2ODQxLTk0NjMtNGU1Yi1iYzc1LTQ4YzAxOTQ0ZTI1OC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNDI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDQyNVQxMjI1NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wMTcyYjI0MjIwNzdkNjE0ODZjNTUxYzE0ZWQyY2JlY2NjZmY5Y2ZkNTU3MDU3ZDEzMDZlZWRhNmYyZThlZGVkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.G0B7-n9k3dLfjDznOvckCwUe4SiYR2cA1l36cns9BO4"> Be happy you get to use such an amazing service with 98% SLA as per said-company , you can see how many issues they are facing --- codex is so well designed , by so many aspect... economical, Architecture , design --- simplicity I love how so few options you get in codex,,, instead of 200 feature, sub-sub features but ohh no, we are going to neglect the development of this new feature far as I concern none of the features documented in the Codex Documentation is neglected or unmaintained the codex team, openai --- follow strict standards ---- when they make their products --- codex is literally the definities of field tested we are literally facing another Bell Labs Even if this is not the peek of ai , i am so happy with what we get as of now --- all I want is in the future to get maybe cheaper --- AGI has been reached as of today <img alt="Image" width="882" height="470" src="https://private-user-images.githubusercontent.com/267773383/583763317-e4a0d291-0ebb-445a-aaa8-1fbc3107b06b.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzcxMjAyNDEsIm5iZiI6MTc3NzExOTk0MSwicGF0aCI6Ii8yNjc3NzMzODMvNTgzNzYzMzE3LWU0YTBkMjkxLTBlYmItNDQ1YS1hYWE4LTFmYmMzMTA3YjA2Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNDI1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDQyNVQxMjI1NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04MmNmODk5Njg1ZmUxMmE4YzRhY2YzZmQzYWUzODEyOTVjNmMxOWI1YmEzNWRlOTk5MmNhODdmOTc5NjE2MmIyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.pYEw3KpR9iOR__FmypG0WI52NDnLN-6MxYbzeUGUrXw">

I am sorry but this reply is a joke "Be happy you have this" lol wtf. We are not because we work in enterprise, we are allowed to voice our complains and basically we are not happy. What this means for OpenAI is that we will take our business elsewhere, simple as. You are free to be happy but its not about being happy is about the use case and simply put this is not an enterprise ready model.

Additionally you said use memories, do you even know how that works? That is injected as a prompt at the start of a model. In our case already at 80k context from the project context so your argument is to feed more context and have even less context when working with this model?

Mahkhmood9 · 2 months ago

@HarryPitsillides

I am sorry but this reply is a joke "Be happy you have this" lol wtf. We are not because we work in enterprise, we are allowed to voice our complains and basically we are not happy. What this means for OpenAI is that we will take our business elsewhere, simple as. You are free to be happy but its not about being happy is about the use case and simply put this is not an enterprise ready model.

Honestly be happy the gpt 5.5 400k context window , is what you assumed you wanted

unlike "said company" that let you use a 1m context window , but secretally degrade the preformance

@HarryPitsillides But I respect if you disagree with me ? Can you share examples - or prompts , 1million-context window is needed?

HarryPitsillides · 2 months ago
@HarryPitsillides > I am sorry but this reply is a joke "Be happy you have this" lol wtf. We are not because we work in enterprise, we are allowed to voice our complains and basically we are not happy. What this means for OpenAI is that we will take our business elsewhere, simple as. You are free to be happy but its not about being happy is about the use case and simply put this is not an enterprise ready model. Honestly be happy the gpt 5.5 400k context window , is what you assumed you wanted unlike "said company" that let you use a 1m context window , but secretally degrade the preformance @HarryPitsillides But I respect if you disagree with me ? Can you share examples - or prompts , 1million-context window is needed?

So, yes? As i've said we have a codebase of 20 years code. Some modern some not, all split up and optimised. We even used specialized agents. And as i've said we are comparing Opus 4.7 and Codex 5.4 at the time. You say said company is degrading performance but honestly? I have never seen opus answer an older message like GPT 5.4 and 5.5 if that is not a model failure and degradation i do not know what it is. I will obviously not delve into our companies tech stack in a github thread. Each tech stack has its own skills for the agents we have been working with AI for 3 years now, and with Codex for the past 3 months. But its clear which company caters for enterprise vs which one is not. Is Claudes SLA horrible? Absolutely, but i'd rather have a usable model i can use 98.7% of the time vs 99.8% but useless.

Mahkhmood9 · 2 months ago
> @HarryPitsillides > > I am sorry but this reply is a joke "Be happy you have this" lol wtf. We are not because we work in enterprise, we are allowed to voice our complains and basically we are not happy. What this means for OpenAI is that we will take our business elsewhere, simple as. You are free to be happy but its not about being happy is about the use case and simply put this is not an enterprise ready model. > > > Honestly be happy the gpt 5.5 400k context window , is what you assumed you wanted > unlike "said company" that let you use a 1m context window , but secretally degrade the preformance > @HarryPitsillides But I respect if you disagree with me ? Can you share examples - or prompts , 1million-context window is needed? So, yes? As i've said we have a codebase of 20 years code. Some modern some not, all split up and optimised. We even used specialized agents. And as i've said we are comparing Opus 4.7 and Codex 5.4 at the time. You say said company is degrading performance but honestly? I have never seen opus answer an older message like GPT 5.4 and 5.5 if that is not a model failure and degradation i do not know what it is. I will obviously not delve into our companies tech stack in a github thread. Each tech stack has its own skills for the agents we have been working with AI for 3 years now, and with Codex for the past 3 months. But its clear which company caters for enterprise vs which one is not. Is Claudes SLA horrible? Absolutely, but i'd rather have a usable model i can use 98.7% of the time vs 99.8% but useless.

I recomend enabling the memories option
https://developers.openai.com/codex/memories
the memory feature is _disabled_ by default maybe for security reasons -- or not too mature reasons
Insanely good

But to be fair, I personally suffered from 10 year old critical code I ow "Technical Debt" / "Spaghetti Code"
and LLM , has a "refusal crsis" when it refuses to change bad-logic-code

with codex , for example I like to say something like first prompt

``explain the class``

or use the "plan-mode" and ask it , add jsdocs and documentation to the classes --- (in your case maybe use the memories option)
Its really lean, for example for Opus, anything that anthropic would do is 300k inmemory text files --- the openai is really lean

Look I maybe not done anything more than game-engine development in my Professinal life, and many many years ago- I am not a developer for over 25 years now

To be honest , I think it comes down to study how your code fail, in what aspects

documentation and specifications are there for a reason
maybe your code is poor documentated , maybe your code has too much false logic
I am not saying rushing to delete

developing is the joy of study , the joy of making things efficient --- thats how I see it atleast

But I respect you 100% , if you think there are things to improve, there is 100% room for improvement in AI

for example the "code review option" can also reason and crawl and understand your large code base
https://developers.openai.com/codex/app/review

I am trying to argue , unerstand how to work with large codebase , is something very new -- and its a skill you need to learn
I generally dont have any issue with the very large code bases I maintain but its just me maybe

@HarryPitsillides I 100% respect you if you disagree with me

Mahkhmood9 · 2 months ago

@HarryPitsillides you mentioned you mentioned the memory option takes a lot of context window ,, not really it summrizes ,,, it guid the Codex gpt 5.4 ,,, into the correct "classes names " and importent what you want to do , and what the use exceptation is

its very lean, and doesnt eat the context window atleast for me

HarryPitsillides · 2 months ago
@HarryPitsillides you mentioned you mentioned the memory option takes a lot of context window ,, not really it summrizes ,,, it guid the Codex gpt 5.4 ,,, into the correct "classes names " and importent what you want to do , and what the use exceptation is its very lean, and doesnt eat the context window atleast for me

I am sorry i am replying because i do not want people to feel they are left ignored, but i will be brutally honest with you. You sound like you have a vetted stake in OpenAI we have teams who analyse how to work with AI and best practices we have considered all of this. Simply put for us Gpt 5.5 without 1M is a no-go. That is the end of that discussion. We can chat and talk but that position will not change. And as you can see from the multiple github issues that are now being closed / opened and merged about the same exact problem this is not a personal feeling but a blocker for a lot of people. I will leave this conversation here, and appreciate all the good back and forth we had but this is a thread to request for 1M context. We have made our case and we have our reasons, we do not want it because a competitor has it or because we think its fun. This is a real use case to us.

And just to clarify even it is added, we might still end up choosing a competitor model. We are evaluating competing products.

Mahkhmood9 · 2 months ago
> @HarryPitsillides you mentioned you mentioned the memory option takes a lot of context window ,, not really it summrizes ,,, it guid the Codex gpt 5.4 ,,, into the correct "classes names " and importent what you want to do , and what the use exceptation is > its very lean, and doesnt eat the context window atleast for me I am sorry i am replying because i do not want people to feel they are left ignored, but i will be brutally honest with you. You sound like you have a vetted stake in OpenAI we have teams who analyse how to work with AI and best practices we have considered all of this. Simply put for us Gpt 5.5 without 1M is a no-go. That is the end of that discussion. We can chat and talk but that position will not change. And as you can see from the multiple github issues that are now being closed / opened and merged about the same exact problem this is not a personal feeling but a blocker for a lot of people. I will leave this conversation here, and appreciate all the good back and forth we had but this is a thread to request for 1M context. We have made our case and we have our reasons, we do not want it because a competitor has it or because we think its fun. This is a real use case to us.

I really think 1m context window is pointless ... But the enhancement is real in terms of using large code bases...

You know my father was a chemist --- he almost never done anything without his refrence book --- and he was not a genius , in many ways they are many task he never was able to do even in his prime

Need to learn about a chemical specfication , go to the currect class.

I am going to argue, from what I seen the people who use "1m" context window
is a result of a lot of code that piles up -- and people who are too proud of code
you dont need to memorize

I still going to argue even the best developr alive dot memorize 80-000 lines of code --- but he understand which files and functions to access

maybe you using outdated framework,, amybe you use poorly configued setup

  1. In the future , the issue people claim they need 1m context window , would be mostly solved as prompts would get solved faster
  2. I like using claude code , but with Claude, you just say hello and 50% of your session limit is already gone.
  3. I like using claude code , but with Claude, you just say Navigate and explain this class and 80% of your session limit is already gone.

2.1 Claude just makeu up stuff when I ask it to explains ,, all tho its sounds beliveable, it just make up stuff --- and generating too much text ,, and Claude is Flibbertigibbeting(lie and make up stuff) with confidenice

  1. Claude generates bigger files , and then you expect Codex to make sense of the already huge codebase, I seen it generates 3000-4000 lines of code , when a human makes it in 200lines , and would use external libaries
  2. as the models improve, attempt to review those 5000 lines of code files, and use newer model to revise the code --- older models created with mistakes
  3. study and understand your code
  4. the enhancement is real there issue of dealing with large codebase is not yet solved ---- for example in big companies , sometimes they dont let the developers touch the code until they read the documentation and try to write more documentation (this is an issue ai doesnt able to do -- reason->document->act) , and the technology is improving
  5. any of the problems I seen needed large context window , has been solved , if the prompt was more technical (sometimes shorter prompts too ,, )
cccat6 · 2 months ago
@HarryPitsillides you mentioned you mentioned the memory option takes a lot of context window ,, not really it summrizes ,,, it guid the Codex gpt 5.4 ,,, into the correct "classes names " and importent what you want to do , and what the use exceptation is its very lean, and doesnt eat the context window atleast for me

I understand every project is different. For some project, 1M is overkill. However, we do need to admit that long context window has its value for many projects. Longer context will causes performance downgrade, because of the attention distribution on long context is not as equal as short context. In some projects, we have to adopt this. It is the tradeoff. If context length shoter than a number, the project will spend exponentially more rounds and time to finish, even not feasible, because of frequent compaction and resume crom previous work. Longer context will have more errors, but the time we spent on these are linear. Not talking GPT-5.5 already have much better proformance on longer context compare with GPT-5.4 and Opus 4.7. Not all projects can be atomize that can handle by 400k window. There are complex projects has long and messy dependent, and sometimes feed the entire repository (at least a module) into the model is the only option.

Mahkhmood9 · 2 months ago
> @HarryPitsillides you mentioned you mentioned the memory option takes a lot of context window ,, not really it summrizes ,,, it guid the Codex gpt 5.4 ,,, into the correct "classes names " and importent what you want to do , and what the use exceptation is > its very lean, and doesnt eat the context window atleast for me I am sorry i am replying because i do not want people to feel they are left ignored, but i will be brutally honest with you. You sound like you have a vetted stake in OpenAI we have teams who analyse how to work with AI and best practices we have considered all of this. Simply put for us Gpt 5.5 without 1M is a no-go. That is the end of that discussion. We can chat and talk but that position will not change. And as you can see from the multiple github issues that are now being closed / opened and merged about the same exact problem this is not a personal feeling but a blocker for a lot of people. I will leave this conversation here, and appreciate all the good back and forth we had but this is a thread to request for 1M context. We have made our case and we have our reasons, we do not want it because a competitor has it or because we think its fun. This is a real use case to us. And just to clarify even it is added, we might still end up choosing a competitor model. We are evaluating competing products.

And just to clarify even it is added, we might still end up choosing a competitor model. We are evaluating competing products.

@HarryPitsillides

To be fair the jump from gpt 5.2 to 5.4 was really big, anything bad I had to say about gpt 5.2 or gpt 5.3 is already fixed in my world view

reliefeai · 2 months ago

The context window is now insufficient to an extreme degree; I hit the limit after only three rounds of conversation, which was definitely not the case before.

Incidentally, I tried recompiling Codex to bypass the 258k context limit, but it turns out the server-side also enforces context length restrictions.

<img width="1684" height="346" alt="Image" src="https://github.com/user-attachments/assets/d1121c2e-59d3-4003-aeb8-a1f3f4ab2d6e" />

Rainnystone · 2 months ago

come on, a auto-compact/context window of 300/400k is no sth aggressive,especially given that gpt 5.4/5.5 has 1M and 5.3 codex has 400k. it's rational

Mahkhmood9 · 2 months ago
The context window is now insufficient to an extreme degree; I hit the limit after only three rounds of conversation, which was definitely not the case before. Incidentally, I tried recompiling Codex to bypass the 258k context limit, but it turns out the server-side also enforces context length restrictions. <img alt="Image" width="1684" height="346" src="https://private-user-images.githubusercontent.com/9815635/583774446-d1121c2e-59d3-4003-aeb8-a1f3f4ab2d6e.jpg?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzcxNDU2MDYsIm5iZiI6MTc3NzE0NTMwNiwicGF0aCI6Ii85ODE1NjM1LzU4Mzc3NDQ0Ni1kMTEyMWMyZS01OWQzLTQwMDMtYWViOC1hMWYzZjRhYjJkNmUuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MjVUMTkyODI2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWRiYzdiMTBkZTRjYjNhYjBhMGFkMWIwNDlhNDI1MzJlYWJlZjNhNzllNjE4OWEwM2I1YzdjMzc3OTZhYzg5NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGanBlZyJ9.oz9LKJvHjXnY51S_j0DcEwbSPraz8TwtqOct0Ly0EJY">

The dont use a modfied version of Codex , why did you try to patch it ? So you edited the code and settings --- you are using a broken version , you are misleading

I can recomed you to use this option https://developers.openai.com/codex/memories

etraut-openai contributor · 2 months ago

@Mahkhmood9, please moderate your responses or refrain from participating in this conversation. Others in this thread are providing reasoned feedback. You're dismissing their concerns and pulling the conversation off topic.

GGULBAE · 2 months ago

I agree with the original uploader of this issue.

At the very least, I believe there should be an option that allows users to configure settings based on their own preferences.

In my case, I couldn’t find any option in the Codex app to adjust the context window for the GPT 5.5 model.
Currently, I’m working with a 258K context window, which forces me to go through frequent compacting during my workflow.

I’d like to share this feedback regarding the issue that has been raised.

<img width="803" height="185" alt="Image" src="https://github.com/user-attachments/assets/9dceb072-d6af-4952-a99b-e93fac9e58b6" />

jiangxiaoxu · 2 months ago

I strongly agree that a larger usable input window would be valuable, even if most workflows do not need to go all the way to 1M context.

In real coding workloads, the current effective limit often feels like it cuts off just a little too early. Many long-running automated tasks only need another few tens of thousands of input tokens to finish the current task phase. Instead, once the session hits the automatic compaction threshold, the model loses important raw context and then has to re-read many of the same code files before it can continue.

This creates a counterproductive result: the smaller context window does not necessarily save user tokens or server compute. In practice, it can increase both, because the model spends extra input tokens and reasoning tokens rebuilding context that was already available before compaction. I often see cases where, after compaction, the model re-reads a large amount of code, even though only a few files actually remain to be modified. If the available input window had been just 30K-80K tokens larger, the task could likely have completed in one continuous pass, faster and with less wasted work.

For that reason, I think the most useful product control would be per-chat-thread configuration of the usable input window size before automatic compaction is triggered. Most users probably do not need a 1M window all the time, but intermediate options such as 300K, 320K, 350K, or 400K of actually usable input context would be very meaningful in real development workflows.

This distinction matters. These numbers should refer to the real input window available to the model before compaction, not the marketing-level total context size of the underlying model, where input and output are counted together. For example, calling something “400K usable context” while reserving 128K tokens for output, leaving users with far less actual input capacity in practice, would be highly misleading. What matters for Codex workflows is how much raw project, conversation, tool, and code context can actually remain available as input during an active task phase.

For many tasks, accepting a small amount of possible model degradation in exchange for preserving raw context, reusing the input cache, reducing repeated file reads, and finishing the current task phase more quickly would be a very reasonable tradeoff.

It may also be useful to add an additional option for phase-aware compaction. For example, after a clear task phase has completed, Codex could trigger compaction through a hook or built-in mechanism before starting the next phase. That would allow users to use a slightly larger input window only when it helps complete the current phase, then compact at a more natural boundary instead of interrupting the model in the middle of active implementation or debugging.

In short, I do not think the main need is always “give every thread 1M context.” The more practical request is: let users control the automatic compaction threshold per thread, with intermediate sizes above the current effective limit, and make those sizes refer to actually usable input context. That would help Codex avoid wasteful mid-task compaction and complete coherent task phases with lower latency and lower total token waste.

Gusarich · 2 months ago

upvoting this

1m context is very useful in some cases. right now i have to still use gpt-5.4 in those since gpt-5.5 doesn't support it.

MeXenon · 2 months ago

After many threads and a lot of user feedback, I still don't understand why our efforts are not making a difference. I hope OpenAI will take this seriously.

Many of us have opened numerous issues in the Codex project requesting that the context window be increased — up to one million tokens.

Yet all we receive are excuses and justifications, nothing more.

I genuinely don't understand how many times we need to come back and raise this point. How many times do we have to bring it up? How much reasoning do we have to provide?

Please stop limiting your users and show some respect for their feedback.

At the very least, we deserve to be able to use the full potential of this model when we are paying for it.

If it truly consumes fewer tokens — as you claim — and if it is more accurate than the previous model, then why shouldn't it have a one-million-token context window?

Please take our feedback seriously. With respect, I sincerely hope this request receives the attention it deserves.

Rainnystone · 2 months ago
I strongly agree that a larger usable input window would be valuable, even if it does not need to go all the way to 1M for most workflows. In my real coding workloads, the current effective limit often feels like it cuts off just a little too early. Many long-running automated tasks only need another few tens of thousands of input tokens to finish the current task phase. Instead, once the session hits the automatic compaction threshold, the model loses important raw context, then has to re-read many of the same code files before it can continue. This creates a counterproductive result: the smaller context window does not necessarily save user tokens or server compute. In practice, it can increase both, because the model spends extra input tokens and reasoning tokens rebuilding context that was already available before compaction. I often see cases where, after compaction, the model re-reads a large amount of code, but only a few files actually remain to be modified. If the available input window had been just 30K-80K tokens larger, the task could likely have completed in one continuous pass, faster and with less wasted work. For that reason, I think the most useful product control would be per-chat-thread configuration of the input window size before automatic compaction is triggered. Most users probably do not need a 1M window all the time, but intermediate options such as 300K, 320K, 350K, or 400K would be very meaningful in real development workflows. For many tasks, accepting a small amount of possible model degradation in exchange for preserving raw context, reusing the input cache, reducing repeated file reads, and finishing the current task phase more quickly would be a very reasonable tradeoff. It may also be useful to add an additional option for phase-aware compaction. For example, after a clear task phase has completed, Codex could trigger compaction through a hook or built-in mechanism before starting the next phase. That would allow users to use a slightly larger context window only when it helps complete the current phase, then compact at a more natural boundary instead of interrupting the model in the middle of active implementation or debugging. In short, I do not think the main need is always “give every thread 1M context.” The more practical request is: let users control the compaction threshold per thread, with intermediate sizes above the current limit, so Codex can avoid wasteful mid-task compaction and complete coherent task phases with lower latency and lower total token waste.

yes, 1M might lead to chaos, but reasonable increase the context to 400K should be considered,

Rainnystone · 2 months ago
<img alt="Image" width="978" height="252" src="https://private-user-images.githubusercontent.com/9096064/583820944-2604d90a-7de6-4499-8dc2-10e6e44a2331.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzcyMjM2NDQsIm5iZiI6MTc3NzIyMzM0NCwicGF0aCI6Ii85MDk2MDY0LzU4MzgyMDk0NC0yNjA0ZDkwYS03ZGU2LTQ0OTktOGRjMi0xMGU2ZTQ0YTIzMzEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDQyNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA0MjZUMTcwOTA0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTJlNTg0YjM2OThjNjk3MjNhYTNjM2UzZWFiNTFjMzQzMTQ5NzY3YWU5YmQ3YjJlNzdiZDFlNzZmZWFkNTFiMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.FXjFGEkJfdHT6QTHvuiYSHT8VGtjF32tMUmw_cbAfC0"> inside models_cache.json { "client_version": "0.125.0", "fetched_at": "2026-04-25T23:03:09.786838Z", "gpt55": { "slug": "gpt-5.5", "display_name": "GPT-5.5", "context_window": 400000, "max_context_window": 400000, "auto_compact_token_limit": null, "effective_context_window_percent": 100, "default_reasoning_level": "medium", "supported_reasoning_levels": [ "low", "medium", "high", "xhigh" ] } }

no, it is not working. i did the similar thing -- i set compact/context window to be 300/400k and i was using gpt 5.5 high, but it jumped to 100% when context window reached 260K and then saying that the context window was full without triggering any auto compacts.

devnoname120 · 2 months ago

Codex 1M was amazing. Now it’s completely useless. I witnessed tasks that it couldn’t complete and looping on itself because it lost track of what it did be completely solved first try once 1M context window was added.

I understand that some novice users on this thread who play with small and low-complexity code bases feel like they don’t need it and try to noobsplain basic things like we should “use memory” as if we didn’t already optimize the ѕһіt out of it. I have 15 options in my configuration (things that don’t appear in the GUI) and you can bet I explored every possibility and I know what I am doing.

Stop gaslighting us, power users know what they are doing and unhelpful basic advice that clearly comes from a place of ignorance (thinking for example that memory is magic and doesn’t use context) doesn’t help anyone. If this isn’t solved soon I’m moving off to Claude Max 5x, it’s the same price as ChatGPT Pro 5x but I get a decent context window (3x larger than Codex basically)

paul-tian · 2 months ago

To me the 1M context is a must, most of my serious projects are using about 500k context. Right now, even with $200 pro plan the codex subscription for gpt 5.5 can only be for hobby projects. Hope we can have a clear explanation and future map asap for serious users to re-consider continue subscribing or switch to pure API usage.

shuaizenge · 2 months ago

I strongly agree that the GPT-5.5 subscription should support a 1M context window.

Otherwise, I may have no choice but to cancel my Codex Pro subscription and switch to other AI services, such as Cursor.

timwkosatec · 2 months ago

It would be valuable to hear from OpenAI why the 1M context window was removed from Codex in the first place.
Right now the only way to access 1M with GPT-5.5 is via the API directly.

The most plausible reason I can see is cost: GPT-5.5 is priced at 2x GPT-5.4, so anything past ~272K input tokens would burn through subscription usage limits almost instantly.

memesalot · 2 months ago

Hi OpenAI team, could you please enable the 1M context window for GPT-5.5?

This larger context window is extremely helpful for working with large codebases, long documents, and multi-file debugging workflows. Thanks!

acgxv · 2 months ago

Do you have any benchmark to support these?

That made GPT-5.4 very useful for large repositories and long-running coding sessions. I understand that 1M context is expensive.

I don't think these things are correct.
According to the public benchmarks from Cline, there's a huge performance regression with 1M context.

jingchang0623-crypto · 2 months ago

凌晨3点,我盯着 Codex 的 400K 上下文窗口发呆。我的代码库有 500K tokens 的上下文。

400K不够用吗?说实话,够了。

但问题是:我们是不是在用"更多上下文"掩盖一个更根本的问题?

上下文膨胀悖论

我在用 AI 编程代理运营 miaoquai.com 的过程中发现了一个规律:上下文越大,AI 越容易迷失

就像你给人看了一本500页的书,让他帮你找一个错别字。理论上信息都在,但他可能找不到,因为噪音太多了。

1M context 的真正价值不在于"一次塞进去更多信息",而在于:

  • 更大的重构窗口(不是改一个函数,而是改一个模块)
  • 更完整的代码审查(不是看一个文件,而是看一个功能)
  • 更长的会话记忆(不会每30分钟就失忆)

但如果你的用法是"把整个 repo 塞进去让它改"——那你可能需要的不只是 1M context,你需要的是一个更好的工作流

我的经验

我们在妙趣AI使用 sub-agent 分治策略:不是把所有上下文塞给一个 agent,而是让每个 agent 只关注自己的领域。这样即使 400K 的上下文也能干 1M 的活。

与其等 1M context 上线,不如先优化你的上下文策略。不是 AI 的记忆不够长,是我们喂给它太多噪音。

参考:https://miaoquai.com/stories/ (踩坑实录,真实运营经验)

jiangxiaoxu · 2 months ago
Do you have any benchmark to support these? > That made GPT-5.4 very useful for large repositories and long-running coding sessions. > I understand that 1M context is expensive. I don't think these things are correct. According to the public benchmarks from Cline, there's a huge performance regression with 1M context.

I think the important distinction is that configuring a 1M context window does not mean the model has to actually consume the full 1M context all the time. It is just an upper bound.

In practice, you could use 258K, 268K, 278K, or whatever slightly larger window is just enough to finish the task. Once the task is done, compression can happen. That lets us benefit from variable-length context instead of being forced into a fixed cutoff.

Also, I do not think the model becomes unusable simply because the maximum context is configured to 1M. The degradation comes from gradually filling the context with more and more tokens, not from the configuration value itself.

reliefeai · 2 months ago

<img width="1492" height="992" alt="Image" src="https://github.com/user-attachments/assets/f06e32ca-0794-4179-b661-ebd7da95855c" />

Due to the so-called "400k" and the shitty server-side limitations, this session is now stuck in an infinite loop of compacting and cannot continue due to server-side errors.

acgxv · 2 months ago
I think the important distinction is that configuring a 1M context window does not mean the model has to actually consume the full 1M context all the time. It is just an upper bound. In practice, you could use 258K, 268K, 278K, or whatever slightly larger window is just enough to finish the task. Once the task is done, compression can happen. That lets us benefit from variable-length context instead of being forced into a fixed cutoff. Also, I do not think the model becomes unusable simply because the maximum context is configured to 1M. The degradation comes from gradually filling the context with more and more tokens, not from the configuration value itself.

I didn't say we shouldn't have this option. I'm trying to correct his conclusion or get some updates from him.

I've already tried this at the first time. It's just bad on myside.

jiangxiaoxu · 2 months ago
> I think the important distinction is that configuring a 1M context window does not mean the model has to actually consume the full 1M context all the time. It is just an upper bound. > In practice, you could use 258K, 268K, 278K, or whatever slightly larger window is just enough to finish the task. Once the task is done, compression can happen. That lets us benefit from variable-length context instead of being forced into a fixed cutoff. > Also, I do not think the model becomes unusable simply because the maximum context is configured to 1M. The degradation comes from gradually filling the context with more and more tokens, not from the configuration value itself. I didn't say we shouldn't have this option. I'm trying to correct his conclusion or get some updates from him. I've already tried this at the first time. It's just bad on myside.

You are right that GPT-5.4 also scores very poorly on long-context tests, far behind Opus. That is exactly why we had high expectations for GPT-5.5.

But Codex being limited to only 272K input tokens is completely unacceptable.

paul-tian · 2 months ago

I would say the discussion here is becoming a little bit deviated from what it should be.
In my opinion the topic here is clear:

  1. 1M context is vital for serious projects. Those who ask for this know what they are asking. Debating about the benefit is not helping with the situation.
  2. The 1M context is not a problem for GPT-5.5, the only blocker is the cost. As you can see the API price for GPT-5.5 is as twice as GPT-5.4, which is clear enough to express the situation.
  3. OpenAI needs to be firm about the codex usage policies, either a firm no-no to 1M for subscription users and current subscribers who need 1M should head to API usage, or a clear state that they are still exploring about the price factor (x3, or even x5 usage for >272k) and current subscribers should be more patient. No matter which one, OAI should be clear and transparent about the usability of subscription plan.
thisIsLoading · 2 months ago

such small context sizes are stupid. sure, some vibe coders might say compaction works great, but if you want to use codex in a more serious context, you have a detailed spec and it needs to look through parts of your code to warm-up. now you are left with maybe 40% available context size or sometimes even less. then you run into compaction and it starts to produce shit.

i understand the desire to say "but the model should be able to intelligently fill its context for each request", but we just arent there yet.

we dont have to get the full million, 500k would help already

reliefeai · 2 months ago

Here is a summary of the issues encountered:

  1. Since the introduction of GPT-5.5, the context is being compressed much more frequently. I used GPT-5.4 for a long time without enabling 1M context (due to poor performance) and rarely encountered compression. Now, it is clearly due to an issue with Codex causing severe context bloat. Almost every session now experiences context compression, often multiple times, making it impossible to work.
  2. GPT-5.5 is advertised as having a 1M context window, but it is not being made available to users, not even to Pro subscribers. This is unfair to users paying $200.
  3. Because of the server-side context limitations and the fact that Codex's context compression triggers too late, compression often fails, rendering the session unusable and significantly impacting work. My workaround is to locate the session's JSONL file in .codex/sessions and feed it to Claude Code Opus 4.7 (1M) to complete the task.

In summary, this is not just a question of whether to directly enable 1M context, but rather a serious incident caused by recent engineering flaws in Codex combined with the 258K context limit of GPT-5.5.

@etraut-openai I strongly suggest that instead of enabling the 1M option in Codex, you first lift the server-side restrictions to alleviate the series of issues currently being encountered.

jiangxiaoxu · 2 months ago
Here is a summary of the issues encountered: 1. Since the introduction of GPT-5.5, the context is being compressed much more frequently. I used GPT-5.4 for a long time without enabling 1M context (due to poor performance) and rarely encountered compression. Now, it is clearly due to an issue with Codex causing severe context bloat. Almost every session now experiences context compression, often multiple times, making it impossible to work. 2. GPT-5.5 is advertised as having a 1M context window, but it is not being made available to users, not even to Pro subscribers. This is unfair to users paying $200. 3. Because of the server-side context limitations and the fact that Codex's context compression triggers too late, compression often fails, rendering the session unusable and significantly impacting work. My workaround is to locate the session's JSONL file in .codex/sessions and feed it to Claude Code Opus 4.7 (1M) to complete the task. In summary, this is not just a question of whether to directly enable 1M context, but rather a serious incident caused by recent engineering flaws in Codex combined with the 258K context limit of GPT-5.5. @etraut-openai I strongly suggest that instead of enabling the 1M option in Codex, you first lift the server-side restrictions to alleviate the series of issues currently being encountered.

I think the issue you are running into should be fixed by this PR: https://github.com/openai/codex/pull/19707
Once it gets merged, it should be fine.

NoAddr · 2 months ago
> Here is a summary of the issues encountered: > > 1. Since the introduction of GPT-5.5, the context is being compressed much more frequently. I used GPT-5.4 for a long time without enabling 1M context (due to poor performance) and rarely encountered compression. Now, it is clearly due to an issue with Codex causing severe context bloat. Almost every session now experiences context compression, often multiple times, making it impossible to work. > 2. GPT-5.5 is advertised as having a 1M context window, but it is not being made available to users, not even to Pro subscribers. This is unfair to users paying $200. > 3. Because of the server-side context limitations and the fact that Codex's context compression triggers too late, compression often fails, rendering the session unusable and significantly impacting work. My workaround is to locate the session's JSONL file in .codex/sessions and feed it to Claude Code Opus 4.7 (1M) to complete the task. > > In summary, this is not just a question of whether to directly enable 1M context, but rather a serious incident caused by recent engineering flaws in Codex combined with the 258K context limit of GPT-5.5. > @etraut-openai I strongly suggest that instead of enabling the 1M option in Codex, you first lift the server-side restrictions to alleviate the series of issues currently being encountered. I think the issue you are running into should be fixed by this PR: #19707 Once it gets merged, it should be fine.

This only addresses the issue of data loss caused by premature compression and delayed tool calls. However, we are actually discussing the 1m contexts problem. For users logging in via OAuth, the number of contexts appears to be a hard limit imposed by the server.

jiangxiaoxu · 2 months ago
> > Here is a summary of the issues encountered: > > > > 1. Since the introduction of GPT-5.5, the context is being compressed much more frequently. I used GPT-5.4 for a long time without enabling 1M context (due to poor performance) and rarely encountered compression. Now, it is clearly due to an issue with Codex causing severe context bloat. Almost every session now experiences context compression, often multiple times, making it impossible to work. > > 2. GPT-5.5 is advertised as having a 1M context window, but it is not being made available to users, not even to Pro subscribers. This is unfair to users paying $200. > > 3. Because of the server-side context limitations and the fact that Codex's context compression triggers too late, compression often fails, rendering the session unusable and significantly impacting work. My workaround is to locate the session's JSONL file in .codex/sessions and feed it to Claude Code Opus 4.7 (1M) to complete the task. > > > > In summary, this is not just a question of whether to directly enable 1M context, but rather a serious incident caused by recent engineering flaws in Codex combined with the 258K context limit of GPT-5.5. > > @etraut-openai I strongly suggest that instead of enabling the 1M option in Codex, you first lift the server-side restrictions to alleviate the series of issues currently being encountered. > > > I think the issue you are running into should be fixed by this PR: #19707 Once it gets merged, it should be fine. This only addresses the issue of data loss caused by premature compression and delayed tool calls. However, we are actually discussing the 1m contexts problem. For users logging in via OAuth, the number of contexts appears to be a hard limit imposed by the server.

You are absolutely right. I only mentioned that PR because it should fix the compression issue.

The OpenAI OAuth path appears to have a server-side limit that caps GPT-5.5 input context at 272K. And from what I can see, even with API login, the latest Codex repo version should still be limited to 272K by Codex’s own built-in config.

mark-99 · 2 months ago

Just to add to the request for 1M context.

  • It's now standard on Opus and going back to 258K is a real regression - gpt-5.5 is just not competitive on such non-trivial tasks.
  • gpt-5.5 scores far better on long context retrieval than 5.4, so it's a real irony you get 1M only on the model which can't use it effectively, and it's not available on the model which can handle it.
  • Many tasks need large amounts of input context and trying to subdivide into smaller context windows is both tedious, gives less accurate results, and actually uses more tokens in total due to refilling context.
  • No, auto-compact is not a substitute - clearly summarising 258K tokens to <10K is losing information.
  • While it's true gpt-5.5 is more token efficient than opus-4.7, that doesn't make up for a 4x difference.
  • You don't have to use 1M if you don't want to, and enabling it doesn't affect anything unless you use >258K.
  • It's allegedly available on API/Enterprise plans (still waiting for this at work however), so that shows it works and is considered useful enough to offer to corporate users.
  • Lastly if we can please normalise terminology: "context window" means input context, not sum of input+output, no-one uses it that way including OpenAI's own tools.
vincentmorneau · 2 months ago

Deal breaker for large codebase tasks, after using gpt-5.4 with 1M context window.

etraut-openai contributor · 2 months ago

Thanks for all the feedback! Quick update... We're working to make the 1M-token context available for gpt-5.5 in Codex. I can't give you a specific timeline yet because we need to do some capacity planning to accommodate this, but we're making this a priority. I'll update this thread once we have more details to share.

martinezhermes · 2 months ago
Thanks for all the feedback! Quick update... We're working to make the 1M-token context available for gpt-5.5 in Codex. I can't give you a specific timeline yet because we need to do some capacity planning to accommodate this, but we're making this a priority. I'll update this thread once we have more details to share.

wait all the time you need, if it means it doesn't get stuck replying to old messages instead of the current one

Statusnone420 · 2 months ago
Thanks for all the feedback! Quick update... We're working to make the 1M-token context available for gpt-5.5 in Codex. I can't give you a specific timeline yet because we need to do some capacity planning to accommodate this, but we're making this a priority. I'll update this thread once we have more details to share.

W! Now just keep 10x for $100 plans permananet and OpenAI will ascend to S-tier :)

Kl-11 · 2 months ago

Great news. Thanks for the update.

A side point: given that you’ve already doubled the API pricing with GPT-5.5 compared to GPT-5.4, it would be appreciated and make sense to keep pricing the same across the full context window rather than adding another premium above ~250k.

Thinkscape · 2 months ago

Model catalog (API)

<img width="1164" height="559" alt="Image" src="https://github.com/user-attachments/assets/2e46bc44-9cb7-44ab-8eb7-f61ffa884758" />

The official OpenAI blog post

<img width="1413" height="513" alt="Image" src="https://github.com/user-attachments/assets/9ae583e2-f897-4363-9149-4d75f0dace70" />

Reality (in codex gui)

<img width="336" height="186" alt="Image" src="https://github.com/user-attachments/assets/3eb82f5e-b472-466a-86f4-3afd3509fdd3" />

This DOES look like a bug @etraut-openai - the lower bound according to the announcement is 400k.

miraclebakelaser contributor · 2 months ago

relevant:
<img width="1179" height="681" alt="Image" src="https://github.com/user-attachments/assets/a5b71433-4182-4719-b6fb-85833c3b48f3" />

@Thinkscape model context windows have always referred to input+output. 400k ctx on the broad model release is different from that available in codex. Eric explained it in https://github.com/openai/codex/issues/19185#issuecomment-4316753237 https://github.com/openai/codex/issues/19185#issuecomment-4317217599

cyruszad · 2 months ago

Thank goodness they used their brains. fyi it's more expensive to not do 1m due to compaction.

mark-99 · 2 months ago

@Thinkscape OpenAI marketing likes to add in the 128k output window to make the number seem larger, despite no-one else doing that including their own tools.

Versirity · 2 months ago

Great news about the upcoming 1M context support—I hope it becomes available soon! I've been struggling with this recently because my codebases are quite large, and debugging a single issue easily consumes the current 258K limit. As much as I appreciate the GPT-5.5 release, frequently having to compress my context length is severely disrupting my workflow. I am used to working with an 800K context (my custom max_window for GPT-5.4). This leaves me with a difficult choice right now: should I prioritize GPT-5.4 for its 1M context, or use GPT-5.5 despite the 258K cap?

whosmyqueen · 2 months ago

I'm also encountering this problem. My project is very large, and when I complete a requirement, context compression is triggered after only two or three rounds. I hope to update the 1MB context as soon as possible.

ariccio · 2 months ago

Just to add in my two cents/$200, I found the sweet spot for me with GPT 5.4 was around 500,000 model_auto_compact_token_limit, below that I was losing too much context in compaction on multi-day sessions, and above that codex started getting a bit schizophrenic (yeah, honestly, it feels hilariously a bit like I'm talking to someone with schizophrenia thought blocking and/or avolition). The extra 100k tokens of GPT 5.5 at 500k+ would save me a lot of tokens and time overall!

ariccio · 2 months ago

@etraut-openai

I can't give you a specific timeline yet because we need to do some capacity planning to accommodate this, but we're making this a priority. I'll update this thread once we have more details to share.

I think if you rolled out something in between, maybe ~628k token context window, and charged 2-3x for it, many power users might be happy with it, without needing the full 1m

LukyPlay · 2 months ago

@etraut-openai @tibo-openai I’d love to see the context window keep moving toward 1M tokens, but I think it would be totally fine if it happened gradually.

From what I’ve seen in this thread, a lot of people probably do not need the full 1M tokens right away. Even smaller increases would already help a lot for large codebases, debugging longer sessions, and working across multiple files.

Maybe increasing the limit step by step would be a good middle ground. It would let users get the benefits sooner, while still giving the team room to manage performance, latency, and infrastructure costs.

So even if 1M is the long-term goal, I think gradual increases would already be very useful for most users.

cyruszad · 2 months ago

No we def need 1M context and OpenAI would be extremely dumb to not do
that. I think 1M is good. OpenAI is listening to feedback. Good!

On Tue, Apr 28, 2026 at 1:22 PM Joshua Angulo González <
@.***> wrote:

LukyPlay left a comment (openai/codex#19464) <https://github.com/openai/codex/issues/19464#issuecomment-4338781227> @etraut-openai <https://github.com/etraut-openai> @tibo-openai <https://github.com/tibo-openai> I’d love to see the context window keep moving toward 1M tokens, but I think it would be totally fine if it happened gradually. From what I’ve seen in this thread, a lot of people probably do not need the full 1M tokens right away. Even smaller increases would already help a lot for large codebases, debugging longer sessions, and working across multiple files. Maybe increasing the limit step by step would be a good middle ground. It would let users get the benefits sooner, while still giving the team room to manage performance, latency, and infrastructure costs. So even if 1M is the long-term goal, I think gradual increases would already be very useful for most users. — Reply to this email directly, view it on GitHub <https://github.com/openai/codex/issues/19464#issuecomment-4338781227>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BKEK54MXWY3STKPVMMXNBP34YEHJVAVCNFSM6AAAAACYFYU6RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGMZYG44DCMRSG4> . Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. You are receiving this because you commented.Message ID: @.***>
LukyPlay · 2 months ago

I agree that 1M context would be extremely useful, and I definitely want OpenAI to get there.

My point is more about timing. If the full 1M context takes longer to ship reliably, I think it would be better to get smaller increases sooner instead of waiting until the full 1M is ready. For a lot of real use cases, even a jump to something higher than what we have now would already make a big difference.

So I’m not saying we do not need 1M. I’m saying gradual increases could help users much earlier while OpenAI keeps working toward the full 1M context window.

cyruszad · 2 months ago

Agreed. I'm fine waiting a bit we just need communication.

Common sense business instincts I'm glad they're listening.

On Tue, Apr 28, 2026 at 2:42 PM Joshua Angulo González <
@.***> wrote:

LukyPlay left a comment (openai/codex#19464) <https://github.com/openai/codex/issues/19464#issuecomment-4339298608> I agree that 1M context would be extremely useful, and I definitely want OpenAI to get there. My point is more about timing. If the full 1M context takes longer to ship reliably, I think it would be better to get smaller increases sooner instead of waiting until the full 1M is ready. For a lot of real use cases, even a jump to something higher than what we have now would already make a big difference. So I’m not saying we do not need 1M. I’m saying gradual increases could help users much earlier while OpenAI keeps working toward the full 1M context window. — Reply to this email directly, view it on GitHub <https://github.com/openai/codex/issues/19464#issuecomment-4339298608>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BKEK54JS4ELN54QYINDWKMT4YEQVHAVCNFSM6AAAAACYFYU6RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGMZZGI4TQNRQHA> . Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. You are receiving this because you commented.Message ID: @.***>
reliefeai · 2 months ago

<img width="1552" height="728" alt="Image" src="https://github.com/user-attachments/assets/6e5f4c24-dfa6-4886-b258-21c74b082454" />

meet this shit issue again

RyensX · 2 months ago
Thanks for all the feedback! Quick update... We're working to make the 1M-token context available for gpt-5.5 in Codex. I can't give you a specific timeline yet because we need to do some capacity planning to accommodate this, but we're making this a priority. I'll update this thread once we have more details to share.

That's great! I can't wait for this feature to be released!
I don't think 1MB of context is always necessary, but users should still have the option to choose it—especially since it's ideal for professional developers working on large-scale projects.

bridgettegraham · 2 months ago

anybody has an ETA on this?

tarikakyol · 2 months ago

Codex is ignoring model_context_window because it reads the context limit from the model catalog json, so I copied the original ~/.codex/models_cache.json, changed gpt-5.5’s context_window and max_context_window to 1000000, and in config.toml point model_catalog_json = "loc_of_your_copied_cache.json" and restart the app. bingo

bussechr · 2 months ago

why on earth should they charge a higher usage multiplier when we're burning more tokens and credits either way?

bridgettegraham · 2 months ago
Codex is ignoring model_context_window because it reads the context limit from the model catalog json, so I copied the original ~/.codex/models_cache.json, changed gpt-5.5’s context_window and max_context_window to 1000000, and in config.toml point model_catalog_json = "loc_of_your_copied_cache.json" and restart the app. bingo

Man! thank you for this - it worked !!

reliefeai · 2 months ago
> Codex is ignoring model_context_window because it reads the context limit from the model catalog json, so I copied the original ~/.codex/models_cache.json, changed gpt-5.5’s context_window and max_context_window to 1000000, and in config.toml point model_catalog_json = "loc_of_your_copied_cache.json" and restart the app. bingo Man! thank you for this - it worked !!

it's not working actually, ive tried

2-fly-4-ai · 2 months ago
> > Codex is ignoring model_context_window because it reads the context limit from the model catalog json, so I copied the original ~/.codex/models_cache.json, changed gpt-5.5’s context_window and max_context_window to 1000000, and in config.toml point model_catalog_json = "loc_of_your_copied_cache.json" and restart the app. bingo > > > Man! thank you for this - it worked !! it's not working actually, ive tried

It doesn't really work. Shows 1Million but still says "Codex ran out of room in the model's context window. Start a new thread or clear earlier history before retrying." after the same point as before. Or am I missing something.

jugol · 2 months ago

Please update ASAP....

Mahkhmood9 · 2 months ago

Im cerious to know , if any of you doing any work around (prompts, mcp, other tooling)

for those you argue the 1million context is an issue

I seriously thing that large code bases are what "Tool calling is for". but large context window for have their place I guess

Anyone has got used to it ? anything changed in your workflow?

cyruszad · 2 months ago

no one will have to worry about context anymore by the time I'm done.

so this will be a none issue soon!

On Wed, Apr 29, 2026 at 12:43 PM Mahkhmood9 @.***>
wrote:

Mahkhmood9 left a comment (openai/codex#19464) <https://github.com/openai/codex/issues/19464#issuecomment-4346961726> Im cerious to know , if any of you doing any work around (prompts, mcp, other tooling) for those you argue the 1million context is an issue — Reply to this email directly, view it on GitHub <https://github.com/openai/codex/issues/19464#issuecomment-4346961726>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BKEK54JYSFWK43TA62MRFJT4YJLMNAVCNFSM6AAAAACYFYU6RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGNBWHE3DCNZSGY> . Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. You are receiving this because you commented.Message ID: @.***>
gaiusmadeit · 2 months ago

I fixed it by pinning a local model catalog and disabling remote_models refresh.

-In config.toml I added these:

model_catalog_json = "~/.codex/custom_models.json"
model_context_window = 1050000
model_auto_compact_token_limit = 900000

[features]
remote_models = false

then create ~/.codex/custom_models.json from ~/.codex/models_cache.json, add/update the relevant model entry, and set:

"context_window": 1050000,
"effective_context_window_percent": 95,
"auto_compact_token_limit": 900000

Restart Codex and start a new thread and everything should work smoothly

2-fly-4-ai · 2 months ago

Try run it to 1 million tokens tell me what happens.

On Thu, Apr 30, 2026 at 3:46 PM Gaius KAYIRANGA @.***>
wrote:

gaiusmadeit left a comment (openai/codex#19464) <https://github.com/openai/codex/issues/19464#issuecomment-4349551261> I fixed it by pinning a local model catalog and disabling remote_models refresh. -In config.toml I added these: model_catalog_json = "~/.codex/custom_models.json" model_context_window = 1050000 model_auto_compact_token_limit = 900000 [features] remote_models = false then create ~/.codex/custom_models.json from ~/.codex/models_cache.json, add/update the relevant model entry, and set: "context_window": 1050000, "effective_context_window_percent": 95, "auto_compact_token_limit": 900000 Restart Codex and start a new thread and everything should work smoothly — Reply to this email directly, view it on GitHub <https://github.com/openai/codex/issues/19464#issuecomment-4349551261>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A2Y2TPYGDIODJ7DYCZTUNED4YLECTAVCNFSM6AAAAACYFYU6RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGNBZGU2TCMRWGE> . You are receiving this because you commented.Message ID: @.***>
NoAddr · 2 months ago
Thanks for all the feedback! Quick update... We're working to make the 1M-token context available for gpt-5.5 in Codex. I can't give you a specific timeline yet because we need to do some capacity planning to accommodate this, but we're making this a priority. I'll update this thread once we have more details to share.
@etraut-openai > I can't give you a specific timeline yet because we need to do some capacity planning to accommodate this, but we're making this a priority. I'll update this thread once we have more details to share. I think if you rolled out something in between, maybe ~628k token context window, and charged 2-3x for it, many power users might be happy with it, without needing the full 1m

I think we need REAL 400k context.
In fact, very few people actually fill up the model's 1-million context window, not only because of attention degradation and performance drops, but also because there are rarely any tasks that actually require filling it. Basically, our point is that 258k is simply too small. I know you guys are facing capacity pressure, but why not try increasing it gradually?

gaiusmadeit · 2 months ago

@2-fly-4-ai I did a run with around 800k tokens... succeeded

Try run it to 1 million tokens tell me what happens. […](#) On Thu, Apr 30, 2026 at 3:46 PM Gaius KAYIRANGA @.***> wrote: gaiusmadeit left a comment (openai/codex#19464) <#19464 (comment)> I fixed it by pinning a local model catalog and disabling remote_models refresh. -In config.toml I added these: model_catalog_json = "~/.codex/custom_models.json" model_context_window = 1050000 model_auto_compact_token_limit = 900000 [features] remote_models = false then create ~/.codex/custom_models.json from ~/.codex/models_cache.json, add/update the relevant model entry, and set: "context_window": 1050000, "effective_context_window_percent": 95, "auto_compact_token_limit": 900000 Restart Codex and start a new thread and everything should work smoothly — Reply to this email directly, view it on GitHub <#19464 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A2Y2TPYGDIODJ7DYCZTUNED4YLECTAVCNFSM6AAAAACYFYU6RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGNBZGU2TCMRWGE> . You are receiving this because you commented.Message ID: @.***>
bussechr · 2 months ago
Im cerious to know , if any of you doing any work around (prompts, mcp, other tooling) for those you argue the 1million context is an issue I seriously thing that large code bases are what "Tool calling is for". but large context window for have their place I guess Anyone has got used to it ? anything changed in your workflow?

yeah i bought a claude code ultra max plus super mega for 1M context and only use codex for auditing

ariccio · 2 months ago
I think we need REAL 400k context. In fact, very few people actually fill up the model's 1-million context window, not only because of attention degradation and performance drops, but also because there are rarely any tasks that actually require filling it. Basically, our point is that 258k is simply too small. I know you guys are facing capacity pressure, but why not try increasing it gradually?

I think your formatting may be a bit off or otherwise garbling your message. But I think I agree, mostly. My tasks often see a multi-day session with a total of 1 billion input tokens, and more than a million output which obviously won't fit in a single 1m token context window. These are subagent heavy, and I do presume the statusline is aggregating the main session with the subagent threads.

While the already shipped context window for codex is working well for me for past few days, what I've consistently observed in the past month or two is that there is a marked improvement in codex's ability to orchestrate multi-day subagent-heavy plans once the useful context window passes 400k output tokens (so, ~500k-550k total). Below that, codex's nearly perfect compaction does still forget some steps and neglect some tasks, and also forgets why it does so.

The way I audit this is that I always have codex commit plan files to disk in the repo as soon as I approve them. On its own, this originally is something I started doing (not a unique invention of mine) for Claude code plans, where claude code's useless compaction means durable plan artifacts have been the ONLY way to actually manage long running tasks forever.

Below that 400k-ish threshold codex does still subtly forget things, and I have to repeatedly re-prompt it to cross check its work against the committed plan, then complete the work it notices it's not yet done. (Unlike Claude code, it can then do it correctly, rather than digging a deeper hole). At around 500k+, codex appears able to stay focused, and keep chugging until done or we encounter a file descriptor leak crash (which I see is supposedly fixed in the next release). It seems to me it's some kind of context thrashing that is relieved around 400k.

The reason I'm especially okay with not having the full 1m, beyond just cost, is that the closer I get to 1m, I find the model doesn't get stupider (as so many are wont to do), but it does get much less predictable and much less behaved. Near 1m, gpt 5.4 would start repeating itself and failing to react to prompts, in addition to the "thought blocking" task stoppages.

cyruszad · 2 months ago

if you guys stay patient enough, you'll get UNLIMITED context. mark my
words. don't ask me how.

On Wed, Apr 29, 2026 at 11:25 PM Alexander Riccio @.***>
wrote:

ariccio left a comment (openai/codex#19464) <https://github.com/openai/codex/issues/19464#issuecomment-4350157371> I think we need REAL 400k context. In fact, very few people actually fill up the model's 1-million context window, not only because of attention degradation and performance drops, but also because there are rarely any tasks that actually require filling it. Basically, our point is that 258k is simply too small. I know you guys are facing capacity pressure, but why not try increasing it gradually? I think your formatting may be a bit off or otherwise garbling your message. But I think I agree, mostly. My tasks often see a multi-day session with a total of 1 billion input tokens, and more than a million output which obviously won't fit in a single 1m token context window. These are subagent heavy, and I do presume the statusline is aggregating the main session with the subagent threads. While the already shipped context window for codex is working well for me for past few days, what I've consistently observed in the past month or two is that there is a marked improvement in codex's ability to orchestrate multi-day subagent-heavy plans once the useful context window passes 400k output tokens (so, ~500k-550k total). Below that, codex's nearly perfect compaction does still forget some steps and neglect some tasks, and also forgets why it does so. The way I audit this is that I always have codex commit plan files to disk in the repo as soon as I approve them. On its own, this originally is something I started doing (not a unique invention of mine) for Claude code plans, where claude code's useless compaction means durable plan artifacts have been the ONLY way to actually manage long running tasks forever. Below that 400k-ish threshold codex does still subtly forget things, and I have to repeatedly re-prompt it to cross check its work against the committed plan, then complete the work it notices it's not yet done. (Unlike Claude code, it can then do it correctly, rather than digging a deeper hole). At around 500k+, codex appears able to stay focused, and keep chugging until done or we encounter a file descriptor leak crash (which I see is supposedly fixed in the next release). It seems to me it's some kind of context thrashing that is relieved around 400k. The reason I'm especially okay with not having the full 1m, beyond just cost, is that the closer I get to 1m, I find the model doesn't get stupider (as so many are wont to do), but it does get much less predictable and much less behaved. Near 1m, gpt 5.4 would start repeating itself and failing to react to prompts, in addition to the "thought blocking" task stoppages. — Reply to this email directly, view it on GitHub <https://github.com/openai/codex/issues/19464#issuecomment-4350157371>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BKEK54P6LVOXSBNTE6W4JC34YLWU7AVCNFSM6AAAAACYFYU6RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGNJQGE2TOMZXGE> . Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. You are receiving this because you commented.Message ID: @.***>
foreverpiano · 2 months ago

@bolinfest @aibrahim-oai @pakrym-oai @etraut-openai fake 1m context. please consider fixing it ASAP.

HaoLiuHust · 2 months ago
I fixed it by pinning a local model catalog and disabling remote_models refresh. -In config.toml I added these: model_catalog_json = "~/.codex/custom_models.json" model_context_window = 1050000 model_auto_compact_token_limit = 900000 [features] remote_models = false then create ~/.codex/custom_models.json from ~/.codex/models_cache.json, add/update the relevant model entry, and set: "context_window": 1050000, "effective_context_window_percent": 95, "auto_compact_token_limit": 900000 Restart Codex and start a new thread and everything should work smoothly

not working at all

NoAddr · 2 months ago
> I think we need REAL 400k context. In fact, very few people actually fill up the model's 1-million context window, not only because of attention degradation and performance drops, but also because there are rarely any tasks that actually require filling it. Basically, our point is that 258k is simply too small. I know you guys are facing capacity pressure, but why not try increasing it gradually? I think your formatting may be a bit off or otherwise garbling your message. But I think I agree, mostly. My tasks often see a multi-day session with a total of 1 billion input tokens, and more than a million output which obviously won't fit in a single 1m token context window. These are subagent heavy, and I do presume the statusline is aggregating the main session with the subagent threads. While the already shipped context window for codex is working well for me for past few days, what I've consistently observed in the past month or two is that there is a marked improvement in codex's ability to orchestrate multi-day subagent-heavy plans once the useful context window passes 400k output tokens (so, ~500k-550k total). Below that, codex's nearly perfect compaction does still forget some steps and neglect some tasks, and also forgets why it does so. The way I audit this is that I always have codex commit plan files to disk in the repo as soon as I approve them. On its own, this originally is something I started doing (not a unique invention of mine) for Claude code plans, where claude code's useless compaction means durable plan artifacts have been the ONLY way to actually manage long running tasks forever. Below that 400k-ish threshold codex does still subtly forget things, and I have to repeatedly re-prompt it to cross check its work against the committed plan, then complete the work it notices it's not yet done. (Unlike Claude code, it can then do it correctly, rather than digging a deeper hole). At around 500k+, codex appears able to stay focused, and keep chugging until done or we encounter a file descriptor leak crash (which I see is supposedly fixed in the next release). It seems to me it's some kind of context thrashing that is relieved around 400k. The reason I'm especially okay with not having the full 1m, beyond just cost, is that the closer I get to 1m, I find the model doesn't get _stupider_ (as so many are wont to do), but it does get much less predictable and much less behaved. Near 1m, gpt 5.4 would start repeating itself and failing to react to prompts, in addition to the "thought blocking" task stoppages.

A simple workaround is to write prompts that require Codex to document the rationale behind code snippets, why they need to be written that way, and even its thought process—similar to Linux kernel project. Codex really doesn't like leaving comments when coding, which honestly isn't a good habit. I believe this approach is effective for large codebases, as it forces Codex to be more careful and precise when making tweaks and trade-offs.

Sorry if my earlier points were unclear. My English isn't very good, so I am using AI translation. As for the formatting issue, that happened because I was trying to quote two different conversations.

2-fly-4-ai · 2 months ago

Okay so your new issues with chewing tokens are all down to these new limitations imposed.

The difference between me setting to 600k is I can work on a task for a few hours and don't hit the cap for compaction.

With current gpt5.5 settings, I can work for about 15 minutes before compaction.

So every 15 minutes it compacts. Then it chews up tokens quickly and hits a similar compaction issue over and over.

I only have like 1 MCP installed but a large code base. I'm not going to refactor it to meet your latest model standards. It works fine with previous versions of codex and previous models.

This new model is useless to me and tons of other people. We are all using 5.4 again. The new benchmarks don't mean anything if we can't use it effectively.

Such a weird move honestly. Gp5.5 wasn't ready for release. Next time bake and actually release with the context promised. We can all hang on the previous model for a while.

We are used to you guys actually having some standards at this point. When new models drop I'm usually confident to load them up and expect them to work.

At this point you are competing against yourselves.

@tibo-openai

kylantomita · 2 months ago

codex team, we need 1m context length for gpt 5.5. people have said it above, but im adding to the conversation bc i need this. i cant be using high reasoning on gpt 5.5, have it do its research and dive into the code, then when it's ready to implement already be at the context length and have to compact everything....this is not productive for me.

id almost rather be back on gpt 5.4 using high reasoning and 1m context length...

cyruszad · 2 months ago

Now in addition to a complete and utter regression, they just nerfed the
model. I think openai thinks we're stupid. Now imagine the level of
regression. No 1M context and a nerf. But they all made you hop on the
wagon. Time to go local and ditch these companies who think they can
survive without their users.

On Thu, Apr 30, 2026 at 12:53 PM Kylan Tomita @.***>
wrote:

kylantomita left a comment (openai/codex#19464) <https://github.com/openai/codex/issues/19464#issuecomment-4355699261> codex team, we need 1m context length for gpt 5.5. people have said it above, but im adding to the conversation bc i need this. i cant be using high reasoning on gpt 5.5, have it do its research and dive into the code, then when it's ready to implement already be at the context length and have to compact everything....this is not productive for me. id almost rather be back on gpt 5.4 using high reasoning and 1m context length... — Reply to this email directly, view it on GitHub <https://github.com/openai/codex/issues/19464#issuecomment-4355699261>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BKEK54IKE5FPSHSV7QH6E534YOVMBAVCNFSM6AAAAACYFYU6RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGNJVGY4TSMRWGE> . Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. You are receiving this because you commented.Message ID: @.***>
Mahkhmood9 · 2 months ago
Now in addition to a complete and utter regression, they just nerfed the model. I think openai thinks we're stupid. Now imagine the level of regression. No 1M context and a nerf. But they all made you hop on the wagon. Time to go local and ditch these companies who think they can survive without their users. […](#)

its not nerfed 5.5 has a different vibe other than 5.4
I still use 5.4 because I like it more

5.4 is not removed

LukyPlay · 2 months ago

Any update @etraut-openai ?

anurag1212 · 2 months ago
theanotherwise · 2 months ago

Workaround skill until the bug is fixed - not works

<img width="202" height="147" alt="Image" src="https://github.com/user-attachments/assets/d2b9f901-e48a-4aa5-9c30-16eda6f118c0" />

dont use this
ChattyGPT-vm · 2 months ago

do not do this, this will result in codex running out of context window, as 5.5 in plan/subscription mode has a limit of 400k which includes 128k for output tokens so 272k. anything beyond that will just run into context window errors resulting in terminated sessions

Workaround skill until the bug is fixed <img alt="Image" width="202" height="147" src="https://private-user-images.githubusercontent.com/9096064/586778271-d2b9f901-e48a-4aa5-9c30-16eda6f118c0.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Nzc3NTc0MDksIm5iZiI6MTc3Nzc1NzEwOSwicGF0aCI6Ii85MDk2MDY0LzU4Njc3ODI3MS1kMmI5ZjkwMS1lNDhhLTRhYTUtOWMzMC0xNmVkYTZmMTE4YzAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDUwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA1MDJUMjEyNTA5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9N2QzZjIxZWFkZDM5Y2E1ZmFkYTQ3Y2RmMjNhMGM2ZTE5ZGJkNDEwNWE4MzI1OGQ5ZjkxMDIwZDk3NWJmYTE2NiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.cSjqdE--8JoGZbGx6JxNP6Vhf5CnwxaxnSelTi7FWl8"> `` --- name: codex-context-fix description: Fix Codex context window and auto-compact size in local Codex context files. --- # Codex Context Fix ## Goal Repair these files: - ~/.codex/models_cache.json - ~/.codex/config.toml - ~/.codex/custom_models.json, if it already exists Use this preset table: | Request | Context window | Auto compact percent | Auto compact token limit | | --- | ---: | ---: | ---: | | fix context | 400000 | 85% | 340000 | | fix context 400k | 400000 | 85% | 340000 | | fix context 600k | 600000 | 80% | 480000 | | fix context 800k | 800000 | 75% | 600000 | | fix context 1m | 1000000 | 70% | 700000 | ## Edits In ~/.codex/models_cache.json, and in ~/.codex/custom_models.json only if that file already exists, update the context entry used by Codex: - context_window - max_context_window - effective_context_window_percent = 100 - auto_compact_token_limit If ~/.codex/custom_models.json is missing, leave it missing. In ~/.codex/config.toml, set the matching context values: - model_context_window - model_auto_compact_token_limit ## Check Verify syntax and final values for the updated files using any suitable local tools. If ~/.codex/custom_models.json is missing, verify that it was not created. ## Reply Report only these lines: Context window: <value> Auto compact: <value> Auto compact percent: <value> Auto compact starts at: <value> tokens JSON syntax: OK Custom JSON syntax: <OK|missing> TOML syntax: OK Tell the user to start a new Codex session so the corrected context files are reloaded. ``

do not do this, this will result in codex running out of context window, as 5.5 in plan/subscription mode has a limit of 400k which includes 128k for output tokens so 272k. anything beyond that will just run into context window errors resulting in terminated sessions

etraut-openai contributor · 2 months ago

Please don't post "workarounds". They will not work and will result in broken threads that cannot be compacted. This feature needs to be implemented server-side.

theanotherwise · 2 months ago

@etraut-openai

I noticed that even when it shows 1m, it can suddenly drop back to 258k any update when will be fixed?

ChattyGPT-vm · 2 months ago
@etraut-openai I noticed that even when it shows 1m, it can suddenly drop back to 258k any update when will be fixed?

as soon as openai support larger context windows for codex in subscription/plan mode. Other than that you can actually use gpt 5.5 with 1 million context (keep in mind you need to substract roughly 128k of output tokens) if you are using API. However for now, it is not possible to extend the context window in plan/subscription mode in codex. I highly suggest implementing harness engineering in your project to keep the context window small and focused only on the context the agent actually needs.

theanotherwise · 2 months ago

@ChattyGPT-vm

When I set it to 400k, I can see that 400k works normally and nothing breaks. Auto compact also works; it does not suddenly switch back to 258k like it does with 1m.

It also works even when I change it in the same session and run compact. For example, if I start with 258k, change the files to 400k, and then run compact, it switches correctly to 400k and keeps 400k for the rest of the session.

awn · 2 months ago
its not nerfed 5.5 has a different vibe other than 5.4 I still use 5.4 because I like it more

Yes, 5.5-pro generating results slightly worse than 5.3-codex (at least on complex codebase) is not a degradation but different vibe. OK ¯\_(ツ)_/¯ (sarcasm, indeed it _is_ degradation).

cyruszad · 2 months ago

They degraded it. Im using 5.4 and soon enough will entirely switch because
they’re playing funny games. Openai will become irrelevant if they continue
this. People don’t wanna be ripped off and if your business model isn’t
profitable because compute costs are too expensive then you’ve essentially
failed. We shouldn’t feel bad they’re subsidizing. You either have the
product or not.

On Sat, May 2, 2026 at 4:26 PM awn @.***> wrote:

awn left a comment (openai/codex#19464) <https://github.com/openai/codex/issues/19464#issuecomment-4364941427> its not nerfed 5.5 has a different vibe other than 5.4 I still use 5.4 because I like it more Yes, 5.5-pro generating results slightly worse than 5.3-codex (at least on complex codebase) is not a degradation but different vibe. OK ¯_(ツ)_/¯ (sarcasm, indeed it is degradation). — Reply to this email directly, view it on GitHub <https://github.com/openai/codex/issues/19464#issuecomment-4364941427>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BKEK54JX3ATPOQCXCEPGWKD4YZ737AVCNFSM6AAAAACYFYU6RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGNRUHE2DCNBSG4> . Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. You are receiving this because you commented.Message ID: @.***>
awn · 2 months ago
Please don't post "workarounds". They will not work and will result in broken threads that cannot be compacted. This feature needs to be implemented server-side.

Why don't post if workaround works? My personal workaround: downgrade Codex-CLI to 0.116.0 -- it know nothing abour 5.5 generation of models => it do NOT lobotomize them by system prompt and do not apply 275K cap on context window => it works for me. One drawback -- this workaround will stop work May 8 'cos OpenAI cuts it off :-(

(Of course, I need to edit config.toml manually and understand what I'm doing but... In software engineering it's at all is about knowledge and knowledge what you are doing...)

awn · 2 months ago

And I can witness -- non-lobotomized 5.5 with 1M context window is pretty good, it indeed works as adverstized. But... But "official" wrap/shell/harness burns it down to pre-5.3-codex levels while charges still as for full-fledged 5.5. Sorry, but it's feels like a some dirty game. :-(

uuuuu-diwu · 2 months ago

Now even GPT-5.4 no longer provides a 1MB context, and the CodeX experience feels significantly worse than before.

cyruszad · 2 months ago

Guys i promise what’s coming will be monumental. Im addicted and i won’t
even need codex anymore. It’s wild. Sorry gotta rave about this.

On Sat, May 2, 2026 at 5:41 PM di wu @.***> wrote:

uuuuu-diwu left a comment (openai/codex#19464) <https://github.com/openai/codex/issues/19464#issuecomment-4365052350> Now even GPT-5.4 no longer provides a 1MB context, and the CodeX experience feels significantly worse than before. — Reply to this email directly, view it on GitHub <https://github.com/openai/codex/issues/19464#issuecomment-4365052350>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BKEK54KKR3KA3WWZNWYH7ET4Y2IVJAVCNFSM6AAAAACYFYU6RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGNRVGA2TEMZVGA> . Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. You are receiving this because you commented.Message ID: @.***>
minseok128 · 2 months ago

I’d also like to see optional 1M context support for GPT-5.5 in Codex.

garyfpga · 2 months ago
@ChattyGPT-vm When I set it to 400k, I can see that 400k works normally and nothing breaks. Auto compact also works; it does not suddenly switch back to 258k like it does with 1m. It also works even when I change it in the same session and run compact. For example, if I start with 258k, change the files to 400k, and then run compact, it switches correctly to 400k and keeps 400k for the rest of the session.

Can you show your config?
I tried in my pro subs, but auto compact is broken

ChattyGPT-vm · 2 months ago
> @ChattyGPT-vm > When I set it to 400k, I can see that 400k works normally and nothing breaks. Auto compact also works; it does not suddenly switch back to 258k like it does with 1m. > It also works even when I change it in the same session and run compact. For example, if I start with 258k, change the files to 400k, and then run compact, it switches correctly to 400k and keeps 400k for the rest of the session. Can you show your config? I tried in my pro subs, but auto compact is broken

I would highly recommend against this, as when you are going for 400k token limit you are essentially reducing your output token reserved space to the limit you have set your auto compactation to. So if you have set it to 340k that leaves you with 60 k instead of 128 k for possible output tokens + space to handle the auto compaction. So if you have a big output coming in your prompt, then it will run out of context before being able to provide that. So i would strongly advice against it, allthough it might work with 400k - question is how reliable. Main issue here is that you have to keep in mind the output tokens.

jugol · 2 months ago

Do you have any fixed schedule for 1M context? @etraut-openai 🙏🙏🙏🙏

KWeberA · 2 months ago
Do you have any fixed schedule for 1M context? @etraut-openai 🙏🙏🙏🙏

"I can't give you a specific timeline yet" seems to be to hard to understand? 🥇

jugol · 2 months ago
> Do you have any fixed schedule for 1M context? @etraut-openai 🙏🙏🙏🙏 "I can't give you a specific timeline yet" seems to be to hard to understand? 🥇

👆🤓 The comment from last week?

cyruszad · 2 months ago

It’s fine openai has until my next sub expires and im moving back to
anthropic lol

On Mon, May 4, 2026 at 12:06 PM jugol @.***> wrote:

jugol left a comment (openai/codex#19464) <https://github.com/openai/codex/issues/19464#issuecomment-4373734369> Do you have any fixed schedule for 1M context? @etraut-openai <https://github.com/etraut-openai> 🙏🙏🙏🙏 "I can't give you a specific timeline yet" seems to be to hard to understand? 🥇 👆🤓 The comment from last week? — Reply to this email directly, view it on GitHub <https://github.com/openai/codex/issues/19464#issuecomment-4373734369>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BKEK54O6YPYURZKTEPOZSLT4ZDS4HAVCNFSM6AAAAACYFYU6RKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGNZTG4ZTIMZWHE> . Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>. You are receiving this because you commented.Message ID: @.***>
MeXenon · 2 months ago
It’s fine openai has until my next sub expires and im moving back to anthropic lol […](#)

Yeah, man, it's not worth it. They claim that GPT 5.5 uses less context, but it's literally eating tokens as fast as possible. I think even more than 5.4.

And the funniest part is, in the web interface, it's reversed. It doesn't even think. For GPT 5.4 ( before 5.5 released), if you put it on "Extreme" thinking mode, it was really thinking, but now all models do not even think properly...

Everything's messed up and has become trash from OpenAI...

LukyPlay · 2 months ago

Had enough computer for x10 rate limits but not for higher context window? 😭

martinezhermes · 2 months ago

I am looking forward to seeing this implemented wisely, I've read plenty of issues concerning context rot and bugs of misuse of the Codex harness (openai/codex#8648). I feel the right implementation should come from the model side, deep into the attention algorithm... The real optimization on the context scali...
**-Automatically compacting context-
-Context automatically compacted-**
As I was saying this issue should be addressed soon. More context should be taken into consideration.

ariccio · 2 months ago

Did y'all just roll something out? My codex just started showing 1m context.

ariccio · 2 months ago

...weird, nevermind

wjarka · 2 months ago

It did show 1M for me and then went back to the standard 258K..

ariccio · 2 months ago
It did show 1M for me and then went back to the standard 258K..

So I wasn't hallucinating

Someone at openAI must've used a Claude model briefly and then gotten a "You're absolutely right! We weren't supposed to actually turn on the 1m context beta for GPT 5.5, we were just planning! I'll go revert that right now."

Manouchehri · 2 months ago

The ChatGPT backend that codex uses can push model settings remotely (OpenAI API is a different path), so that's why you might be seeing changes.

garyfpga · 2 months ago
> It did show 1M for me and then went back to the standard 258K.. So I wasn't hallucinating Someone at openAI must've used a Claude model briefly and then gotten a "You're absolutely right! We weren't supposed to actually turn on the 1m context beta for GPT 5.5, we were just planning! I'll go revert that right now."

nope
the statusline context number is whatever you said in the config, but after the 1st message it will get the actual context number in the API calls

so the 1M you see might be just something infesible you set in the config

garyfpga · 2 months ago

I successful changed the output buffer from 128k to smaller value and have a highher context windows

  1. config.toml, add

model_context_window = 400000
model_auto_compact_token_limit = 330000
model_catalog_json = "~/.codex/model_catalog.json"

  1. model_catalog.json

it is patching the offical model def
I have mine here
https://github.com/garyfpga/codex-config/blob/master/model_catalog.json

so I reduced the output buffer from 128k -> 60k, and make the autocompact start at 330k
I tried that, the context windows size showed on statusline is now 323k
I also tried the autocompact is working and this setup is okay even in some big project

it is much better than the original setup

jiangxiaoxu · 2 months ago
Thanks for all the feedback! Quick update... We're working to make the 1M-token context available for gpt-5.5 in Codex. I can't give you a specific timeline yet because we need to do some capacity planning to accommodate this, but we're making this a priority. I'll update this thread once we have more details to share.

Hi @etraut-openai, I was wondering if there might be any update on this.

It’s been almost two weeks since you mentioned this was high priority, so I’d appreciate any good news or progress you’re able to share.

theanotherwise · 2 months ago

@garyfpga verify this fix ;) not working i already checked

I successful changed the output buffer from 128k to smaller value and have a highher context windows 1. config.toml, add model_context_window = 400000 model_auto_compact_token_limit = 330000 model_catalog_json = "~/.codex/model_catalog.json" 2. model_catalog.json it is patching the offical model def I have mine here https://github.com/garyfpga/codex-config/blob/master/model_catalog.json so I reduced the output buffer from 128k -> 60k, and make the autocompact start at 330k I tried that, the context windows size showed on statusline is now 323k I also tried the autocompact is working and this setup is okay even in some big project it is much better than the original setup

Apparently it doesn’t matter whether I start a fresh session, restart Codex, use Codex UI or Codex CLI — Codex still ends up changing 400k context back to 272k (258k), exactly the same every time.

etraut-openai contributor · 2 months ago

Just to repeat, this is not something you can work around by making client-side adjustments or configuration changes. Please do not suggest such changes because you are misleading other Codex users.

I'm going to lock this thread for now. I'll provide updates when available.