[Copilot] Display info about tokens spent on the concrete tasks and on the whole session

Open
#321,557 1 comment 3 reactions 1 assignee View on GitHub

@justschen is already working on this.

Since Jun 16, 2026.

Assessment

This issue has not been assessed yet.

Description

As VS Code switched from the per-request billing to the token-based month limits, it's crucial to see how much tokens does each task spend.

For now, I see only the number of credits that spend on a concrete task in the session, like this: GPT-5 mini • 1.3 credits and that's it!

But it's not enough! To optimize the expenses we need to know how many input, output and cached tokens was spend on the task, to have the understanding on what exactly tokens were spend.

And also, please display the summary for the whole session as a sum of all tasks, executed in this session.

So, could you please expose the token usage information and display for the users?

Dominant language
TypeScript
Stars
193k
Forks
42.9k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/vscode

All issues in microsoft/vscode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.