Copilot Usage

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.

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

Cost Estimator (Overview)
Estimated monthly impact based on your observed usage window, selected plan, and selected model.

Cost Estimator (Model Comparison)
Compare projected monthly cost and AI Credits across available models.

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

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
Enjoy!