r/codex • u/Inevitable_Butthole • 4d ago
Instruction Ways to make your usage last longer
As we all know they've cut our usage. I wanted to share some of the ways ive managed to stretch what we have. Feel free to try some or all of them out.
Codex settings:
Medium reasoning
Context window 275k
Output detail low
Reasoning summary concise
Agents.md:
Compact your instructions
Keep verbose logs out of chat
Pass only needed context to subagents
2
u/software-boulder 4d ago
good list. I'd add starting fresh sessions more often instead of dragging one giant thread along, all that old context costs you every turn. also it's way easier to notice what's eating your limit when you can actually see it move, I keep mine in the menubar with a little app I made (UsageBar) but even checking /usage before and after a big task helps
1
u/beacon74f 4d ago
totally agree. keeps the logic clean. i usually just refresh when the responses start getting sluggish.
1
1
u/gouldopfl 4d ago
Use some free products like Open Brain to build a repository to store intermediate testing results, governing documents, decisions, future work, questions that ChatGPT may need approval for, session results of work completed. I had ChatGPT write both a desktop windows and android phone app based on my specifications. I had it add a soft delete for intermediate results that are deleted after 30 days so I can review and classify if needed. After 60 days it permanently deletes intermediate notes. That and the dashboard app it wrote makes PM work very simple.
1
u/Saver411 4d ago
Dropping the context window cap even lower saves way more than low output detail. If you let it creep anywhere near 275k, every single turn burns a fortune just re-reading history. Forcing it to read and output git diffs instead of rewriting full files cuts that churn immediately. What kind of project are you building with this setup rn?
1
u/yusing1009 3d ago
Ask it to batch tools with Promise.allSettled.
Tune it based on the pattern it used, it saved me ~25% input tokens (verified with eval on same tasks).
1
u/yusing1009 3d ago
Also enforce exec_command yield_time_ms and wait/wait_agent timeout_ms to have a minimum of 3 minutes.
1
1
0
u/KaliguIah 3d ago
you forgot cancel codex and get a better provider. anyone would be better, any
0
4
u/awesomebirder 4d ago
good list. two more that helped me: dont edit AGENTS.md or swap mcp servers in the middle of a session, since that changes the start of every request and the cached prefix has to be rebuilt at full price. and start a new session per task instead of one long thread, because every turn resends the whole history. if you want to know which of these settings actually moved anything, the token_count events in ~/.codex/sessions show input, cached input and output per turn, so you can run the same small task before and after a change and compare