See how much of your Claude Code 5h/7d limit THIS device used (free VS Code extension)
I just published a free extension for VS Code and every VS Code-based editor (Cursor, Windsurf, VSCodium, Trae...). It came from a daily annoyance I could not find a fix for. The problem If you use Claude Cod
I just published a free extension for VS Code and every VS Code-based editor (Cursor, Windsurf, VSCodium, Trae...). It came from a daily annoyance I could not find a fix for.
The problem
If you use Claude Code with one Claude account on several machines (a laptop and a desktop, or shared with a teammate), the usage meter only shows the account total. When you hit the 5-hour limit, you cannot tell which device used it.
This extension shows this device's share of the 5-hour and 7-day limits, right in the status bar:
5h 12% ยท 7d 31%
What you get
- A status bar meter with your share of each limit. Hover for details, click to refresh.
- A sidebar panel per limit: this device, others on the account, the account total and the exact reset time.
- A token breakdown for the window: input, output, cache write and cache read.
- Windows follow your own account's reset times, not a fixed day or hour.
How it works
- It reads your local Claude Code logs and adds up the tokens used on this device, weighted by model price.
- It reads the account usage percent when you open the panel or click Refresh.
- Comparing the two over time, it learns how many percent one unit of your use costs (calibration).
- Your share = your use ร that rate. Until it is calibrated it shows
โinstead of a wrong number.
Privacy: your logs are read on your computer only and never uploaded. The only network call is to the account usage endpoint, using the login Claude Code already stored, and it never changes your login.
Honest caveats: the account usage endpoint is unofficial and could change. API-key logins have no 5h/7d limit, so there is nothing to show for them. This is a community tool, not made by or affiliated with Anthropic.
Install
- VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=giridharans1729.claude-per-device-usage
- Open VSX (Cursor, Windsurf, VSCodium and other VS Code-based editors): https://open-vsx.org/extension/giridharans1729/claude-per-device-usage
- Details: https://giridharans.vercel.app/projects/extensions/claude-per-device-usage
It is free and MIT licensed. I would love feedback, bug reports or feature ideas in the comments.
I also built Workspace Folder Toggle, checkboxes for folders in a multi-root workspace: https://giridharans.vercel.app/projects/extensions/workspace-folder-toggle
More of what I build: https://giridharans.vercel.app (all my extensions: https://giridharans.vercel.app/projects/extensions)
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes โ full credit and traffic to the original publisher.