In VSCode using codex my limit per 5 hours went really fast
What issue are you seeing?
My tokens went from 100% to 0% in like 1 minute on a single request: Session/Chat: 01a1e08d-fb09-7683-815a-97b6bcdc72ee Context: 74% left (65,940 used / 258K) 5h limit: 0% left (resets 00:38) 7d limit: 67% left (resets 22 nov)
What steps can reproduce the bug?
I asked to do a stage in my app. It has 5 steps but previous even bigge stages did only take maybe 20%.
What is the expected behavior?
To drop like 20%, not 100% and not so fast.
Additional information
No response
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #61471
- #61493
- #61336
Powered by Codex Action
While someone looks at the session ID, a few things that make a single "do this stage" request much less likely to empty the 5-hour window:
- Ask for a plan first, with no edits: "list the 5 steps and the files each one touches". Approve it, then run one step per prompt. One prompt for a whole stage lets the agent explore, retry and re-read inside a single long turn.
- Name the files or folders for each step so it does not scan the whole project.
- Check the model and reasoning level before a big stage. Use a lighter setting for routine steps and keep the heavy one for the step that really needs it.
- Check usage between steps (
/statusin the CLI, or the usage view in your client). If one step costs far more than earlier stages did, stop and continue in a fresh session with a short note of where you are, instead of pushing the same thread.
Your 7-day bar still had 67% left, so the 5-hour window is the one to pace here: smaller steps spread across the window.
If you are on Windows, a local monitor that shows the 5-hour and weekly meters live, with reset times, makes a jump visible while the step is running. Disclosure, I build one: CodexFuse, https://iaplabs.itch.io/codexfuse