Claude UsageYour Claude plan limits and token spend, live in the VS Code status bar.
Two gauges, always visible: the 5-hour session window and the 7-day rolling window. Hover for the full breakdown.
What it shows
Where the numbers come fromTwo separate sources, and the distinction matters. Rate limits come from Anthropic's usage endpoint, queried with the OAuth
token Claude Code keeps in That endpoint is not publicly documented and may change without notice. When it
fails, the last valid reading stays on screen with its timestamp, and the panel
falls back to local statistics if there is none. Set
Its quota is shared with Claude Code, which polls the same endpoint for its
own display, so an active session can saturate it alone. The endpoint then
answers Token statistics come from the local transcripts under About the cost figureThe cost is an API equivalent: what the same consumption would cost pay-as-you-go, computed by applying the public rate card to the observed tokens, cache included (read 0.10×, write 5m 1.25×, write 1h 2×). On a Pro or Max plan, that is not what you are billed. The subscription is measured in window percentages, not dollars — which is what the Rate Limits section shows. The figure remains useful as a relative measure: which project is expensive, which day was heavy. Settings
Shortcuts
Refresh behaviourLocal statistics update as soon as a transcript changes, through a file watcher that collapses write bursts into a single pass. A safety rescan runs every minute in case an event is missed. Rate limits are polled every 5 minutes by default, and only while the window has focus. A full pass over ~130 MB of transcripts takes about 500 ms at startup; later passes are incremental and cost a few milliseconds, because each file keeps a cursor on the bytes already read. Building from source
If you use a VS Code profile, that last command is not enough: it installs into the default profile and the extension will never appear in the active window. Name the profile explicitly:
The profile name is in Either way, reload the window afterwards (Developer: Reload Window). Press PrivacyNothing is collected, stored remotely, or sent anywhere. The OAuth token is read
from disk and used for a single request to LicenseMIT |

