Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copilot UsageNew to Visual Studio Code? Get it now.
Copilot Usage

Copilot Usage

emagin8

|
326 installs
| (0) | Free
A **local-first** analytics dashboard that parses your VS Code Copilot chat session data and visualises token usage, premium request estimates, and model distribution — all without sending any data externally.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copilot Usage

GitHub Repo stars

Local-first analytics for your GitHub Copilot Chat token usage in VS Code. All processing happens on your machine — no data is sent externally.

Features

  • Workspace Analysis — Token usage, model distribution, and daily trends for the current workspace
  • Global Dashboard — Aggregated stats across all workspaces: KPIs, daily chart, model breakdown, and workspace comparison
  • Cost Estimator (Preview) — Estimate monthly Copilot AI Credits usage and compare model costs
  • Status Bar — Live token count for the current workspace; click to open analysis
  • Tool Call Rounds — Track how many agentic tool-call rounds Copilot uses per session
  • Auto-refresh Timer — Set a 30s / 1m / 2m / 5m interval to keep dashboards up to date

Screenshots

Global Dashboard

KPIs, daily token usage chart, model distribution, and per-workspace breakdown across all your projects.

Global Dashboard

Workspace View

Focused analysis for the current workspace — token usage, daily trends, and model stats.

Workspace View

Cost Estimator (Overview)

Estimated monthly impact based on your observed usage window, selected plan, and selected model.

Cost Estimator Overview

Cost Estimator (Model Comparison)

Compare projected monthly cost and AI Credits across available models.

Cost Estimator Model Comparison

Status Bar

Always-visible token count in the status bar. Click to open the workspace analysis panel.

Status Bar

Commands

Command Description
Copilot Usage: Workspace Analysis Open workspace-scoped token analysis panel
Copilot Usage: Global Dashboard Open cross-workspace dashboard
Copilot Usage: Cost Estimator (Preview) Open monthly AI Credits cost estimator
Copilot Usage: Refresh Data Manually refresh status bar data

How It Works

Parses JSONL and legacy JSON chat session files from VS Code's workspace storage directory (workspaceStorage/{hash}/chatSessions/). Extracts prompt tokens, output tokens, model identifiers, tool-call rounds, and timestamps — then aggregates everything into interactive dashboards.

Links

  • GitHub Repository
  • Report an Issue

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft