Skip to content

Token usage shows 1365% without any API links #4766

Closed as duplicate
Closed as duplicate

Description

@lrazanskas321

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

Activity

  1. adsqx commented on Oct 5, 2025

    @adsqx

    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.

  2. iamjackharper commented on Oct 5, 2025

    @iamjackharper

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

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

    @ccy-oai
    Contributor

    Fix is out in 0.4.18

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingextensionIssues related to the VS Code extension

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions