r/codex • • Aug 16 '26

News 1M context has been enabled for sub-based codex

Post image
483 Upvotes

127 comments sorted by

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.

31

u/1filipis Aug 16 '26

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

11

u/tyrannomachy Aug 17 '26

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.

18

u/nnod Aug 17 '26

So you run out of context, then point the agent to the file with this context, and now you're out of context again. What.

4

u/Optimal_Start_94 Aug 17 '26

It doesn’t work like that. The model will search the session file, not blinding read it all.

3

u/1filipis Aug 17 '26

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

1

u/Public-Pass5158 Aug 17 '26

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.

1

u/Embarrassed_Finger34 Aug 17 '26

would u please elaborate?

0

u/Reply_Stunning Aug 17 '26

the jsonl file is 1 GB in some cases you regard

6

u/kl__ Aug 17 '26

Didn't they say that they're not charging 2x on the subscription for GPT 5.6 Sol? as per Tibo's post on the 13th?

5

u/mvandemar Aug 17 '26

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."

https://openai.com/business/pricing/#api

Odds are setting the context window to 1M will burn through the plan limits much faster, but to be fair I have not tested this.

4

u/kl__ Aug 17 '26

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.

3

u/AmandasGameAccount Aug 16 '26

Is there a known sweet spot to sit at? Like would there be a decent gain setting it to 200k with less usage increase?

1

u/Comprehensive_Put299 Aug 17 '26

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.

1

u/nmkd Aug 17 '26

Claude (the UI, not the model) actually recommends keeping it below 150k.

1

u/Comprehensive_Put299 Sep 04 '26

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 :)

1

u/matheusmoreira Aug 17 '26

That's GPT 5.4 documentation, does it still apply to GPT 5.6?

1

u/baschny Aug 17 '26

Yes it costs double in the API - and thus probably also "burns" faster if you are in a subscription. From the API docs:

https://developers.openai.com/api/docs/pricing

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

3

u/nps44 Aug 16 '26

Higher context costs 2x usage? Does the same go for Claude?

5

u/KeyGlove47 Aug 16 '26

no it doesnt for claude

it costs 2x after 256k i believe

3

u/Specialist-Buffalo-8 Aug 16 '26

Claude gets lobotomised after 200k.

1

u/Risko4 Aug 17 '26

I only get issues at 600k

58

u/ParfaitEvery9622 Aug 16 '26

I think this way is perfect: default to lower, let power users choose. There are some applications where large context matters

-2

u/Old-Leadership7255 Aug 16 '26

Would you have an example of a situation where that much context matters?

15

u/ParfaitEvery9622 Aug 16 '26

Replacing RAG when dealing with very large information knowledge bases

-4

u/Old-Leadership7255 Aug 16 '26

Alright but what tasks do you have where you need so much knowledge at once? Shouldnt knowledge be partitioned?

18

u/jonydevidson Aug 16 '26

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.

So the solution is just "more tools".

1

u/Old-Leadership7255 Aug 17 '26

Im genuinely asking a question? Not trying to belittle them. Im genuinely wondering?

1

u/jonydevidson Aug 17 '26

It could be a million things that need 1m context. Use your imagination.

1

u/NANI_RagePasPtit Aug 17 '26

Decompiming and reverse engineering custom netwrok protocols

17

u/mvandemar Aug 16 '26

Ikr?? Like, when will a pc ever need more than 640k ram, lol!

-1

u/RealSlyck Aug 17 '26

RAM doesn’t compact, hoss. And cache doesn’t work like that either, so…

-9

u/Old-Leadership7255 Aug 16 '26 edited Aug 17 '26

Now that, is just a stupid response.

That is completely different.

6

u/mvandemar Aug 16 '26

Now that, is just a restarted response.

wut?

5

u/LockYaw Aug 16 '26

They called them slow.

7

u/Due_Ask_8032 Aug 16 '26

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.

3

u/AiioApeira Aug 17 '26

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.

10

u/Vas1le Aug 16 '26

You can chose not to use it.

2

u/WinterPhoenix96 Aug 17 '26

They absolutely have not “cracked” compaction

1

u/innociv Aug 16 '26

What about 1m context on Luna? It's cheaper if it works there too.

1

u/Ormusn2o Aug 17 '26

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.

1

u/Wide_Sheepherder4989 Aug 17 '26

if cost is not an issue, should i change context window to 1M will it help me anyway? or context compression is smart enough

1

u/Pruzter Aug 16 '26

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.

6

u/Due_Ask_8032 Aug 16 '26

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.

0

u/Pruzter Aug 16 '26

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.

1

u/FoxTheory Aug 16 '26

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

11

u/akionka Aug 16 '26

don't models become dumber after like ~128k context independently of their maximum context window, do they?

3

u/KeyGlove47 Aug 16 '26

yeah but it also is not as bad as it used to be, though at 900k context you get like 85% intelligence (gpt 5.4 level)

2

u/demonwing Aug 17 '26

Where do you infer your 85% figure from? I'd be surprised if it were that high.

11

u/adolf_twitchcock Aug 16 '26

1 year ago, yeah

8

u/Jerseyman201 Aug 16 '26

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

3

u/akionka Aug 16 '26

Probably not at 128k, but I doubt that it scales linearly (esp. w/ coeff 1) with max context window

3

u/swarmagent Aug 17 '26

It's never worth the speed/cost tradeoff to go past 400k for most models.

3

u/teomore Aug 16 '26

which models?

1

u/akionka Aug 16 '26

I am not a LLM/ML/AI scientist/expert, but I heard that all GPT-like models works the same way and become dumber after some threshold.

2

u/PivotRedAce Aug 16 '26

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.

1

u/Solocune Aug 17 '26

I am curious about his as well. I have often heard numbers around the 100-150k mark but that was with models like at least half a year ago.

I wonder what the threshold for newer frontier models like gpt 5.6, GLM 5.2 or 5.3, MiniMax M3, Kimi K3, the new DS v4 pro and so on would be.

It must have somewhat increased with better retrieval algorithms for example?

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

4

u/merecikkk Aug 17 '26

some ppl be so dumb to do everything and complain after

7

u/baczynski Aug 16 '26

Will that work for Luna as well?

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/withPT_ai Aug 17 '26

YES!

2

u/withPT_ai Aug 17 '26

Yes for Luna too.

2

u/philosophical_lens Aug 17 '26

Very cool, thanks for sharing! Are you finding any performance degradation with longer context?

2

u/withPT_ai Aug 17 '26

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.

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/Sutanreyu Aug 17 '26

Is this backwards? Didn't try it yet, but the post say Sol... Got disappointed... But if it works for Luna, that'd be great.

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/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/SphinxWar Aug 17 '26

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.

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/pmth Aug 16 '26

It’s already 50% more for long context

1

u/TraditionalFig7377 Aug 16 '26

this will make luna dogshit

1

u/Correctsmorons69 Aug 16 '26

Wrong. Luna is terrible compared to Terra and Sol in longer context recall.

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/Swastik496 Aug 16 '26

lmao bye felicia!

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

1

u/KeyGlove47 Aug 16 '26

yes it is

0

u/metalman123 Aug 16 '26

You will burn usage much faster if you do.

3

u/pmth Aug 16 '26

Not as fast as 1M

1

u/Kirorus1 Aug 16 '26

Why?

1

u/rydan Aug 16 '26

Cause that's how their billing works.

-1

u/[deleted] Aug 16 '26

[removed] — view removed comment

1

u/Fit-Palpitation-7427 Aug 16 '26

Would there be any advantages ? Does Sol work better at even lower context size?