You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
VS Code Codex Agent burns insane amount of tokens to run two git commands during a single commit (CLI v0.44, gpt-5-codex high, please reset tokens ;_; usage is way higher than usual) #4746
Open a normal Git repo in VS Code (commit touched only a few test files).
Open Codex Agent panel. Settings: model gpt-5-codex, reasoning high.
Ask the agent to commit staged changes (e.g., “commit: consolidate gait resolver and canonical columns tests”).
Agent runs only two trivial commands:
git status -sb
git commit -m ''
Watch the Codex token counter in the status bubble.
Observed run: token meter jumped from 5,495k to 5,661k while only those two git commands executed.
What is the expected behavior?
Token usage for a simple commit (status + commit) should remain in the low thousands at most. Utility/git tasks should not trigger repo-wide context pulls or repeated mega-prompts. It shouldnt be using 150K tokens????? I notice my weekly usage is wayyy higher than it ever has been before and im still doing the same amount of coding with codex.
What do you see instead?
Token usage massively jumps for a commit that only stages/tests and runs git commit.
UI shows 5,495k → 5,661k tokens during two commands. (2020% → 2112%, also insanely high %)
Additional information
pls reset token usage, vs code IDE extension is sky rocketing my weekly usage %, and i just paid another month of PRO LOL.
Reacted by esdrasrenan, Alfredo Sandoval, Hongpeng Jin, Rick Torres Jr. and Nenad Mandic
Activity
github-actions commentedon Oct 4, 2025
Potential duplicates detected:
Powered by Codex Action
Alfredo-Sandoval commentedon Oct 4, 2025
Same - I wonder how many token leaks there are. Seems like codex is burning through usage now. Bad timing with the recent claude release
meAloex commentedon Oct 4, 2025
This is the same visual bug (#4743). It’s not actual token spend, just formatting/clamping error
ccy-oai commentedon Oct 5, 2025
Thanks for the report, we’ve identified the cause and landed a fix internally.
It’ll be included in an upcoming VS Code release soon.
dylan-hurd-oai commentedon Oct 5, 2025
Thanks for the report - closing as duplicate to keep things clean.