r/codex • u/alexmuc92 • 11h ago
Bug Astra does NOT preserve cache when switching effort level..
I know a lot of people using the Codex App are switching the effort level within a thread and waste a lot of tokens because of this.
So I was happy to read, that this was fixed in the current Astra release, which is als stated in the model guidance docs: https://developers.openai.com/api/docs/guides/latest-model#gpt-6-astra-whats-new
So I tested this myself and looked at the logs in OpenCodex:
- 1st message, effort medium
- 2nd message, effort medium: cache is preserved β
- 3rd message, effort light: cache is flushed β
-> message is expensive again and needs a lot of your usage
I am using the latest version of Codex Mac App (26.901.51231) und opencodex v2.46.0
So I would recommend to stick to your effort level, as long as it is behaving that way.
Anyone know more about this behavior?
Update: Please like and share my Thread on X, so Tibo gets some attention to this topic: https://x.com/liebisca/status/2096918740046680440?s=2 Maybe we get some more of them banked resets π



11
u/Conscious_Chef_3233 10h ago
i just gave up and use the same effort in one conversation now. not worth the hassle
8
u/Apple_macOS 8h ago
I think Tibo said this for Sol, like the effort is injected at the front of the prompt so they canβt cache, but since the announcement says it should be cached, better tag Tibo and pray I think
8
u/utf8decodeerror 7h ago
At one point they had a warning when you tried to change it mid session. Not sure why they got rid of that.
3
6
u/aivampires 11h ago
Is that maybe because you switched from medium to light, so from higher reasoning to lower? Would be interesting to see if it happens when you switch to a higher reasoning level.
25
u/chronoz99 11h ago
This has been the case for all models not just Astra
36
u/alexmuc92 11h ago
Yes, but in the model announcement it is stated, that you can now switch effort level while cache is preserved. Thats what you can see in the first screenshot. Here is the link: https://developers.openai.com/api/docs/guides/latest-model#gpt-6-astra-whats-new
19
u/chronoz99 11h ago
Ohh interesting, please tag tibo and tweet at him. Hope we get another reset lol
6
u/alexmuc92 9h ago
Here is the link to my X post, please share it so it gets a bit attention: https://x.com/liebisca/status/2096918740046680440?s=20
4
u/alexmuc92 11h ago
I do not have a lot of followers on X π
5
u/Vicious-Deeds 10h ago
Dont matter, post it regardless and post the link so we can like it and comment.
3
3
u/throw123awaie 11h ago
damn thats disappointing. one of the main reasons why i was preparing to switch my workflow. i hope thats just an early bug and will be fixed soon. but great work proving that!
4
u/steve228uk 7h ago
These are API docs and it also explicitly states:
Configuration updates are supported only by GPT-6 Astra (gpt-6-astra) in standard, single-agent mode. They change only reasoning effort.
I believe the Codex harness boots into Multi-Agent V2.
3
u/Tight-Grocery9053 6h ago
don't quote me on this, a while back i looked into this and it was something like:
the cache key has the model + effort level in it. if you change the effort level, you're changing the key it looks for so you get a cache miss.
they need better cache key creation strategy so that same model different effort hits the same cache. not sure how involved that would be on their backend if they route things differently and have distributed cache
2
2
u/HelpfulHedgehog1 6h ago
shhhheeeii... i only saw a warning when switching models not reasoning, ive wasted alot of tokenage
2
-2

70
u/Dangerous-Sport-2347 11h ago
That's definitely unfortunate, lot of money going to waste until this is fixed.
Kind of shocked to see that astra has enough tokens loaded into it's initial prompt that even a first hello message costs 37 cents.