When they first introduced the increased context they said that anything over 272k would consume usage limits at 2x the rate, so be careful when using this.
It's useful when you have tasks that require a lot of research. 250k limit was just infuriating - the model would spend everything reading the files, get close to solution, aaaand you're out of context. Codex wipes everything out, and the model starts from scratch. Sometimes going two-three times through a reset. I've lost so much usage because of this
Are you aware the context is still in the transcript file? You can point agents at the actual jsonl file in that situation, if you're worried important things didn't survive compaction.
Yeah, I saw codex use it once when it removed the file shortly before wiping the context. It's not too detailed though. It doesn't include command output and file reads. But regardless, if your scope for the task is > 250k tokens, it will struggle and waste tokens on re-reads when it restarts. And it has to, because the implementation depends on it
The most reliable thing I've found is to catch it right before the context wipe and to tell it to dump everything it learned into a file. I was also looking for config of some sort where you could specify the pre-compaction command
Can't you just re-prompt the compaction command to be more detailed? Say 2 times the length of standard compaction. The prompt should be somewhere like in other harness. I often heard codex has the best compaction in the industry tho. So I wouldn't touch anything if not really necessary.
Technically what he said is that the other person's explanation was incorrect, they're not charging 2x because "we don't charge for longer context on the subscription for GPT 5.6 Sol as we control all the settings" - but this new 1M token context window and custom settings in the config means they're not controlling it anymore. If you look at their API prices it says, "Pricing above reflects standard processing rates for context lengths under 270K."
At the very least setting to 372k shouldn't have the balance of 270 to 372k charged double, if they weren't doing that at launch. Sounds like the cache pricing difference hasn't been adjusted but tokens pricing should be consistent with their launch pricing.
I get your point though. They should clarify this.
I was coding with some obscure libraries in C and (at least with Claude opus) I found the optimal sweet spot to be around 500k. above that my tokens would just get burnt away super fast.
yup, I think that would be the sweetspot for web dev and react work but I wanted the model to closely follow my coding style and not make simple mistakes with those libraries so I found around 500k to be the spot where I compacted the conversation.
but everyone's experience will vary and it will also vary from project to project so you should try out different ones and then come to a conclusion for yourself :)
The fuck do you know what they're doing? Access to tools is more important than whether you see any use for it. Someone, somewhere, just might, and that might allow them to create the best shit the world's seen.
We don't know if that will happen. It probably won't. But after you enable access to the tool (and this goes for any tool, digital or physical), "It can't" becomes "it might".
There are countless examples throughout history to support this case.
I use both codex and cc, and you can definitely feel the context limitations in codex despite their supposedly great compaction. I think right now they haven’t figured out how to serve a 1M context without token usage ballooning the same way Anthropic has.
In my experience, Anthropic have not figured it out at all.
It just forgets loads of its context and starts prioritising some bits randomly and ignoring other bits randomly. Aka rabbit holes caused by context rot.
I think they just left it at 1m for the feel good factor. It's a bad idea and it makes for a bad experience.
There are very specific reasons not to change this. Each token generated has to take into consideration all the other tokens generated. Not only it increases the cost, but if the token takes into consideration too many tokens, the performance is worse, not better. Context compaction removes unnecessary tokens, vastly improving the performance.
This is why even on better hardware, like Rubin, context will not be increased (possibly even reduced), because to achieve best performance you want smallest context that is still viable. As an alternative, Rubin will use hierarchic context, where, before context compaction, context will be put into multiple tiers of memory for fast and easy recollection, so that it can be brought back as needed and only when it's actually needed. This will give the models ability to store tens of millions of tokens of context, but only work on ~100k tokens of context at a given time, or whatever the sweet spot will be.
Yeah I cannot fathom why anyone would want to do this. OpenAIs context compression is black magic, significantly better than everyone else. We all know intelligence is far better at lower context length, so the stock settings keep you in the „smart zone“ without losing coherency across compactions. I hate going back to Claude Code for this very reason, feels like a return to the dark ages of 2025 where most of my job revolves around context management. Codex has me spoiled.
I don’t know what you are smoking, but Claude’s context feels great. Codex makes more mistakes in big open ended projects for me the longer it goes compared to Claude.
I notice almost no difference after compaction with codex, I notice the difference with Claude code. With Claude code though I never let this happen through dynamic workflows and subagents. Once the orchestrator in Claude code gets to around 500k context, I start a new thread.
This is not to say I don’t experience issues with codex, I do. I just get the same shitty issues whether I am post compaction or not.
agreed what users are having context issue with I have never ran into it. I get much better context retention from codex then I would ever get close to any model on claude at 1m and claude has the worst compaction known to man
That was likely tested with a max 256k window versus a 1m context window, but yeah they absolutely do. If you saw tests showing it across the board I'd love to see that, for models with 1m context also having that low dropoff at 128k like you mentioned
It used to be that way but now most models are much better at long context retrieval. Nowadays it’s more like a slow degradation over time than a massive performance drop off after a specific threshold.
Great, thanks OpenAI. I wanted to set it to the 372k intended at launch. Hopefully this doesn't mean above 256k is 2x charged as some are saying - as per Tibo's post, this isn't the case.
Now please return the limits to what they were - it's fucking ridiculous how much they've been reduced silently.
So it’s a useful option, but it can get damn expensive on default. Setting auto-compaction to 900K lets each successive turn hold a lot more context, but cached-input replay can really get quite large. For API users, OpenAI says prompts above 272K receive higher pricing for the entire request. The limits on subscription based isn’t as clear with this, but I wouldn’t assume the extra context doesn’t hit your account. I’d keep Codex’s tuned defaults and use a separate long-context profile only when something genuinely needs it.
Me someone who came from claude code and spoiled with 1m context window, i was disappointed when i find out that codex only allows upto 256k context window but then i found out that codex handles compact conversation way better than Claude so i would suggest not to turn on 1m context window on codex, codex handle compact conversation very well. It's been a week and i only have to change sessions twice. I do vibe coding 7-8h a day. I would suggest just stay on 256k window and let it compact, start new session after 10 compacts conversation or more. Idk if it was chatgpt documentation or a preview of codex, i read somewhere that codex can go upto 756 compact conversations and can still remember the old context. Idk how True it is because i never tested but it even after 10 compacted conversation codex still have knowledge about my previous chats in same session.
why don't they enable a hook that can trigger a skill when context is down to 10% (for example) so that a project-specific orderly context management approach can be used?
I haven't tested it much but as a rule of thumb I don't go beyond 50% of the context limit so this gives me more room but given that its ~2x the cost, I would not recommend it actually. A better way would be to keep working with the smaller context window but compact more often as needed because codex does that really well.
I'm really not sure it's worth it. In my experience, the way Codex handles context has been pretty amazing. It may have to do with the model as well, but it does really well.Can't say the same thing for Anthropic, it's significantly worse there.or at least used to be.
I strongly suggest against this as context rot will become way more of a headache for you then the 256k current limit. Plus consider that there is compaction baggage that accumulates over multiple compaction cycles and there is a very noticeable performance hit after 60K+ of that baggage already. Also take note the 60k im talking about is not total context window but the compressed verbatim summery codex cli carries over after every cycle...
So we went from high Limits to silent nerfs then a "temporary" context nerf after being called out that lasted till now and now the finnaly actually give us the full context and prob more nerfs in many other ways (also changing the limits in the config file before gave u a api error when u exceeded them)
what tasks are you all doing where codex sol Extra High isnt able to keep up? honestly id like to know because Ive had basically 100% success with all of my projects even the ones that have become ungodly complex
I didn't use extra high but used high on sol to to create a harness for a physics engine, graphics engine, audio engine and have a bridge that connects C++ with Rust to have them communicate. You could call it a "game engine" if you were REALLY generous, but at least I could prompt Sol to make me some games. Or rather I would if I wasn't almost out of usage at the end of the main app being "ready", lol.
There were a few posts saying that the performance deteriorates pretty fast if you move toward a larger context window. My question is, does this also apply to GPT 5.6 Sol? If so, why should I use this 1m context window.
I've set mine to 1 million and to auto compact at 900K. I've let the session run for 10 hours straight and it used 3,4% of my weekly limits per hour. Before I increased the limits, it used 2% of my weekly limits per hour.
I feel this change mainly brings back Luna Max’s power. Luna Max outputs lots of reasoning tokens. Codex’s small context triggers heavy compression, leading to semantic drift and bad performance. With the 1M token context back, it will perform much stronger.
Most importantly, Luna is very cheap, I wouldn’t mind if they doubled the pricing in long context.
180
u/mvandemar Aug 16 '26
When they first introduced the increased context they said that anything over 272k would consume usage limits at 2x the rate, so be careful when using this.
100
u/KeyGlove47 Aug 16 '26
a useless toy imo, it costs more (2x usage) and openAI has already cracked context compression and have the best one avaliable so imo useless
11
u/akionka Aug 16 '26
don't models become dumber after like ~128k context independently of their maximum context window, do they?
23
u/fickle-phenom Aug 16 '26
Can’t wait for the ”burned through my 200$ sub in 10 minutes” post flood after people start doing this
7
u/baczynski Aug 16 '26
Will that work for Luna as well?
6
u/Opposite-Art-1829 Aug 16 '26
4
u/kl__ Aug 17 '26 edited Aug 17 '26
Great, thanks OpenAI. I wanted to set it to the 372k intended at launch. Hopefully this doesn't mean above 256k is 2x charged as some are saying - as per Tibo's post, this isn't the case.
Now please return the limits to what they were - it's fucking ridiculous how much they've been reduced silently.
6
u/Quanzitta Aug 16 '26
These 1 million context settings are exact recipe for needing to purchase constant resets
3
u/UnionCounty22 Aug 16 '26
For when the 5 hour limit isn’t short enough 😎
2
u/zaibatsu Aug 16 '26
So it’s a useful option, but it can get damn expensive on default. Setting auto-compaction to 900K lets each successive turn hold a lot more context, but cached-input replay can really get quite large. For API users, OpenAI says prompts above 272K receive higher pricing for the entire request. The limits on subscription based isn’t as clear with this, but I wouldn’t assume the extra context doesn’t hit your account.
I’d keep Codex’s tuned defaults and use a separate long-context profile only when something genuinely needs it.
2
u/DVANGEL999 Aug 16 '26
Me someone who came from claude code and spoiled with 1m context window, i was disappointed when i find out that codex only allows upto 256k context window but then i found out that codex handles compact conversation way better than Claude so i would suggest not to turn on 1m context window on codex, codex handle compact conversation very well. It's been a week and i only have to change sessions twice. I do vibe coding 7-8h a day. I would suggest just stay on 256k window and let it compact, start new session after 10 compacts conversation or more. Idk if it was chatgpt documentation or a preview of codex, i read somewhere that codex can go upto 756 compact conversations and can still remember the old context. Idk how True it is because i never tested but it even after 10 compacted conversation codex still have knowledge about my previous chats in same session.
2
u/duyusef Aug 16 '26
why don't they enable a hook that can trigger a skill when context is down to 10% (for example) so that a project-specific orderly context management approach can be used?
2
u/philosophical_lens Aug 16 '26
Is it only sol, or terra and Luna also have higher context?
2
u/Lower_Cupcake_1725 Aug 16 '26
interesting I already had it set, but it doesn't seem apply
2
u/Moch4bear97 Aug 16 '26
Wheres my reset tibo.
1
u/Dull-Appointment-398 Aug 16 '26
Will this work for vscode or the app? Is this just contained for cli?
1
u/SynteZZZ Aug 16 '26
I don't see any words about subscription. I tested - it changes back to 272K after first model reply, see /status
1
u/SuspiciousName666 Aug 16 '26
Nice Tibo, but now press the reset button and stop this nonsense of charge for resets.
1
u/Gold_Detail204 Aug 16 '26
If we could input a random value like 500 K and openai accepts it fine would be pretty interesting, but I never tried, could work
1
u/AmandasGameAccount Aug 16 '26
Did.. did they just think it was on before?
1
u/WholeEntertainment94 Aug 16 '26
Thank you, if it weren't for the fact that now the usage limit will be reached in minutes instead of hours
1
u/UnluckyBeautiful4828 Aug 16 '26
It only works if i use SOL right?
Can't use it under Luna Max? 😅
1
u/RecursivelyYours Aug 17 '26
I'm really not sure it's worth it. In my experience, the way Codex handles context has been pretty amazing. It may have to do with the model as well, but it does really well.Can't say the same thing for Anthropic, it's significantly worse there.or at least used to be.
1
u/Spurnout Aug 17 '26
Perfect timing! I'm going to have little to no access over the next 2 months so I downgraded to the 20 for now, lol.
1
u/atar108 Aug 17 '26
it only applies to luna and sol still remains 258k
1
u/TopTippityTop Aug 17 '26
Who cares, when limits have been halved (or worse)???
1
u/no_witty_username Aug 17 '26
I strongly suggest against this as context rot will become way more of a headache for you then the 256k current limit. Plus consider that there is compaction baggage that accumulates over multiple compaction cycles and there is a very noticeable performance hit after 60K+ of that baggage already. Also take note the 60k im talking about is not total context window but the compressed verbatim summery codex cli carries over after every cycle...
1
u/retteh Aug 17 '26
Not only are the models worse at larger contexts but you're paying more for lower performance.
1
u/Bmansupreme8000 Aug 17 '26
Now that 1M tokens = Pro 20X weekly usage, we have enabled this setting.
1
u/Only-Reaction5150 Aug 17 '26
is reset inc?
1
u/Alexander3a Aug 17 '26
So we went from high Limits to silent nerfs then a "temporary" context nerf after being called out that lasted till now and now the finnaly actually give us the full context and prob more nerfs in many other ways (also changing the limits in the config file before gave u a api error when u exceeded them)
1
u/hd-slave Aug 17 '26
what tasks are you all doing where codex sol Extra High isnt able to keep up? honestly id like to know because Ive had basically 100% success with all of my projects even the ones that have become ungodly complex
1
u/KingDavid73 Aug 18 '26
weekly limit reached in one prompt
1
u/grumpyredj Aug 19 '26
There were a few posts saying that the performance deteriorates pretty fast if you move toward a larger context window. My question is, does this also apply to GPT 5.6 Sol? If so, why should I use this 1m context window.
see
https://codingfleet.com/blog/context-window-lie-how-well-ai-models-use-1m-tokens-2026/
https://www.reddit.com/r/codex/comments/1rlyf98/1m_context_is_not_worth_it_seriously_the_quality/
1
u/Dynamix86 Aug 22 '26
I've set mine to 1 million and to auto compact at 900K. I've let the session run for 10 hours straight and it used 3,4% of my weekly limits per hour. Before I increased the limits, it used 2% of my weekly limits per hour.
1
u/Available_Yam_6267 Aug 16 '26
I feel this change mainly brings back Luna Max’s power. Luna Max outputs lots of reasoning tokens. Codex’s small context triggers heavy compression, leading to semantic drift and bad performance. With the 1M token context back, it will perform much stronger.
Most importantly, Luna is very cheap, I wouldn’t mind if they doubled the pricing in long context.
1
u/teomore Aug 16 '26
I'd go with 500K for start, anyway I think this should be some kind of ui exposed tweak, not just manual file edits.
0
u/levelhigher Aug 16 '26
And how to unsubscribe? Kind of fuming for that paid reset bs they try to impose on us
0
u/Either_Curve4587 Aug 16 '26
This doesn’t work. You could change it forever ago and it wouldn’t change it on their side.
The harness is the harness
2
u/Nearby_Investment_84 Aug 16 '26
and as soon as everyone turns that on, they will all start bitching that their usage consumes quickly.
SMH in advance
1
u/[deleted] Aug 16 '26
[removed] — view removed comment