In the status line
Under the Claude Code prompt: how full the context is, what the session has used and cost, and both limits with the time left until they reset. It works wherever Claude Code runs.
TokenmeterVersion 1.1.0
A status line under your prompt and a glass widget on your desktop show the 5-hour and weekly limits, when they reset, and what every session has cost.
Windows 10/11 · macOS 13 or later · one zip, both installers

Under the Claude Code prompt: how full the context is, what the session has used and cost, and both limits with the time left until they reset. It works wherever Claude Code runs.
A small floating card shows both limits in green, orange or red, with a marker for how far into the window you are. If you are on pace to run out before the reset, it tells you when. Use Codex too? A switch on the card shows its limits.
It opens from its tray or menu-bar icon and closes when you click elsewhere. Or switch it to a floating window in the menu: drag it anywhere and keep it on top.
It starts with your first Claude Code or Codex session, or at sign-in if you prefer.
The tray or menu-bar icon fills and changes colour with your 5-hour usage.
12 languages, picked up from the system or chosen from the menu.
Launch options, language, view, sync and linked devices: all in one place, behind the gear on the card.
The widget keeps a ledger from its first run and a copy on the server, so a reinstall or a new computer gets your history back. Link your devices by ID and password to see them together, and untick any you want left out.
On a Mac with a notch, Tokenmeter sits beside it: the 5-hour limit on one side, the time to its reset on the other. Hover it and it unfolds with both limits, today’s spend and a Claude / Codex switch. On a Mac without a notch it waits at the top of the screen.

Open the stats view for the full picture: what your Claude Code and Codex sessions would cost at API prices by day, week and month, and how that splits between models.



Screenshots: the macOS widget, with demo data. The Windows widget has the same features.
Each Claude Code and Codex session on its own line: title, project, time, tokens and cost, newest first. The expensive ones stand out at a glance.

One zip holds both installers. Run the one for your system.
powershell -ExecutionPolicy Bypass -File install.ps1bash install.shWant just the status line? Install it without the widget. Already installed? Turn the status line off from the widget’s menu, or stop the widget from starting with Claude Code: the other part keeps working.
powershell -ExecutionPolicy Bypass -File install.ps1 -NoWidgetbash install.sh --no-widgetClick the icon to open the card, right-click it for the menu. If the widget is not running, start Tokenmeter from the Start menu (Windows) or Applications (macOS).
Once a day the widget asks this site whether a newer version exists. When there is one, a dot appears on its refresh button and the menu offers the update. The request carries only the version and the system, and you can switch it off in the menu.
Removes the mod, the widget and its shortcuts.
powershell -ExecutionPolicy Bypass -File install.ps1 -Uninstallbash install.sh --uninstallAdd -KeepHistory (Windows) or --keep-history (macOS) to keep your history.
Spend and token counts by day, model and session sync to tokenmeter.nextwell.top, so your history survives a reinstall and linked devices see each other’s totals. Session titles, project names and prompts never leave your computer; the country is taken from your IP address on upload, and the address itself is not stored. Tick “Don’t sync with the server” in the settings to keep it all local; “Delete history” erases it here and on the server. The limits are asked from Anthropic with your own Claude Code sign-in, which is never refreshed or sent anywhere else.
Free, open source and quiet: it sits in a corner until you look.
Windows 10/11 · macOS 13 or later · one zip, both installers