Skip to content

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

Closed as duplicate

Description

@sandovaljoseph

What version of Codex is running?

0.44

Which model were you using?

gpt-5-codex (high)

What platform is your computer?

Linux 6.14.0-32-generic x86_64 x86_64

What steps can reproduce the bug?

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.

Activity

  1. added
    bug
    on Oct 4, 2025
  2. added
    extension
    on Oct 4, 2025
  3. Alfredo-Sandoval commented on Oct 4, 2025

    @Alfredo-Sandoval

    Same - I wonder how many token leaks there are. Seems like codex is burning through usage now. Bad timing with the recent claude release

  4. meAloex commented on Oct 4, 2025

    @meAloex

    This is the same visual bug (#4743). It’s not actual token spend, just formatting/clamping error

  5. self-assigned this
    on Oct 5, 2025
  6. ccy-oai commented on Oct 5, 2025

    @ccy-oai
    Contributor

    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.

  7. dylan-hurd-oai commented on Oct 5, 2025

    @dylan-hurd-oai
    Contributor

    Thanks for the report - closing as duplicate to keep things clean.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugextension

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions