Token usage shows 1365% without any API links

Resolved 💬 4 comments Opened Oct 5, 2025 by lrazanskas321 Closed Oct 6, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of the VS Code extension are you using?

_No response_

Which IDE are you using?

_No response_

What platform is your computer?

_No response_

What steps can reproduce the bug?

Hi all, I recently upgraded to the Pro plan to use Codex in VS Code. Under the chat box, I frequently see the token usage showing >1,000% (~2M tokens). It’s high enough that I’m surprised I’m not hitting a cooldown. From other threads here, it sounds like I’m using Codex more than people who do hit cooldowns quickly, which is confusing.

Could someone clarify, whether I'm missing something from here. Does VS Code measure token usage differently and is there a way to check approximate remaining token capacity until cooldown? I believe I burned out around 100M tokens during my Pro plan if not more.

For context, I’m not using my own API keys for these Codex sessions (I log in to VS Code Codex via my personal account and not API). My OpenAI platform usage shows $0, and I’ve set a $10 monthly cap to prevent accidental API spend.

Thanks in advance for any pointers!

What is the expected behavior?

_No response_

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 10 months ago

Potential duplicates detected:

  • #4764
  • #4746
  • #4743
  • #4345
  • #3630

Powered by Codex Action

adsqx · 10 months ago

That’s actually the number of new tokens you’ve used, not the current context size.
“Context” here really means “context left.”
It’s a bit confusing, to be honest.

iamjackharper · 10 months ago

I also see >2000%, I'm just ignoring it for now assuming it's a bug

ccy-oai contributor · 10 months ago

Fix is out in 0.4.18