Track your GitHub Copilot and Claude usage directly in the VS Code status bar.
◑ 45% Claude Σ 12.40€ ◔ 12.3% Pro
Features
Copilot Usage
Circular progress indicator showing your Copilot quota consumption
Supports Free, Pro, Pro+, Business, and Enterprise plans
Detects unlimited plans
Tooltip with detailed usage breakdown and reset date
Claude Usage
Automatic API sync — usage % and reset time are fetched from the Anthropic /api/oauth/usage endpoint using your Claude Code OAuth credentials. No manual setup, no API key.
Cross-platform credentials — Keychain on macOS, ~/.claude/.credentials.json on Linux / Windows / WSL.
Real-time inference between syncs — local JSONL files fill the gap so the % updates continuously without spamming the API.
5-minute fixed refresh with on-disk cache + lock file shared across windows: no matter how many VS Code windows you open, the API is hit at most once every 5 minutes total.
Rich tooltip : 5h session, 7-day, 7-day Opus / Sonnet / Cowork buckets, extra credits, per-model token + cost breakdown in EUR.
Optional all-time cost bar — second status bar item showing the cumulative cost of every Claude Code session since first usage.
Localization
English and French supported out of the box
Follows your VS Code display language automatically
Getting Started
Copilot
Install the extension
When prompted, click Connect GitHub to authenticate
Binarii Cost: Connect GitHub — authenticate with GitHub
Binarii Cost: Refresh Claude — refresh Claude usage (also triggers an API sync if cache is stale)
Binarii Cost: Refresh Claude All-Time Cost — recompute the cumulative cost across all sessions
How it works
Copilot
Queries GitHub's internal Copilot API (/copilot_internal/user, fallback /copilot_internal/v2/token) to fetch your quota directly from your authenticated session.
Claude — API + local inference
API baseline — every 5 min, the extension calls Anthropic's /api/oauth/usage endpoint (the same one Claude Code itself uses) with your local OAuth token. The response provides the official utilization % and reset timestamp for the current 5h session, plus 7-day buckets per model.
Local inference — between API calls, the extension re-scans Claude Code's local session files (~/.claude/projects/) to count newly consumed tokens. It converts the token delta into a % increase based on the API-anchored ratio, so the status bar moves in real time without hitting the network.
Multi-window safety — all VS Code windows share an on-disk cache (~/.claude/usage-cache.json) and a lock file. With N windows open, the API is called at most once every 5 minutes total.
The cost breakdown in the tooltip is computed entirely locally from the JSONL token counts × Anthropic's published pricing (per model, per token type), converted to EUR.