Long running goal sessions consume usage even though token usage appears to be low
What issue are you seeing?
I noticed that my usage on the Pro 20x plan is getting consumed way faster when I use the /goal.
The small context window of the model forces for many compactions over long sessions and the initial instructions are not followed as expected. The model looks like its getting obsessed over something that is not crucial to the goal.
Also the goal tracker itself is mentioning that the total goal tokens were 8,388,753 my usage is down to 5% remaining. I do not believe that other tasks / sessions would consume 95% of the usage from the 20x Pro plan, even though they might use more tokens, the only difference is that I did not use goal for them.
Also token reset feels wrong. It is randomized and we have to follow updates on X, which is unprofessional. It should be an official announcement not a tweet. We are organizing our work around the resets and having to reset in 7 days while we were to reset on Monday is totally messing with our workflow and productivity...
So the issue is that setting goal consuming hidden tokens that we can not track why and how they are used since the goal tracker total is 8 million tokens that is not equivalent to 95% of usage for the 20x Pro plan.
<img width="1462" height="295" alt="Image" src="https://github.com/user-attachments/assets/8029ee02-893f-4e86-acc2-03da91856cfd" />
<img width="312" height="114" alt="Image" src="https://github.com/user-attachments/assets/a20d9092-20c0-4656-8b55-c3976be51053" />
What steps can reproduce the bug?
Set a goal for a big feature over a huge codebase let the long session run unattended and see the usage consumption vs the actual token usage of the session.
What is the expected behavior?
The usage of the 20x Pro plan should not be consumed that fast on a task that used 8 million tokens.
Additional information
I would like to be able to see the usage of the task in more details and the explanation on why my subscription usage got consumed that fast while the tokens used were so little.
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
The gap between the goal tracker's 8.4M and your plan consumption is explainable from what the tracker actually measures.
tokens_usedis just the goal thread's owntotal_token_usage.total_tokens, mirrored from itsTokenCountevents (https://github.com/openai/codex/blob/1f41cc5d92/codex-rs/state/src/extract.rs#L101-L107). Several real costs never enter that number:core/src/guardian/review.rs#L675-L695). Long unattended sessions can rack up many of these.Fix suggestions: aggregate guardian/subagent/compaction usage into the goal tally (or show "tracked vs total account usage"), and surface cached-vs-uncached breakdown so users can see why identical token totals consume very different amounts of plan.