Launching today

Tokimeter
Local usage analytics for Claude, Codex, Cursor, Grok & More
15 followers
Local usage analytics for Claude, Codex, Cursor, Grok & More
15 followers
Tokimeter pulls the usage records your AI coding tools already write into one report. Costs and exact token counts by project, session, day, tool and model. 5-hour and weekly limit windows, with budget warnings in your status line. Covers Claude and Codex in both the CLI and the desktop apps, plus Cursor, Grok Build, Hermes, opencode, Cline and Copilot CLI. No account, no telemetry, nothing leaves your machine. Report: npx tokimeter report Install: Check Below Open source & MIT licensed.


I use Claude Code, Codex, Cursor, Hermes, Grok Build and a few
more on the regular. Each one only knows about itself. I wanted
to see token usage per session, where I stood against limits, and
what each project was actually costing me.
Basically, I wanted analytics for my token usage.
Tokimeter reads the files these tools already keep on your
machine and puts it in one place.
Desktop is covered, not just the CLI. Claude Code and Codex both
write their desktop sessions locally, and Cursor's desktop agent
too. That was the piece I most wanted for myself.
You can slice it by project, day, tool or model, and
tokimeter trace walks through a single session, what it
cost and which models it used. If you bill clients, report --md
gives you a per-project file to attach to an invoice.
Token counts come from your own files so they're exact, anything
estimated is marked with ~. The README has a table showing how
well each integration is verified, including the two I haven't
confirmed against a live request yet.
The CLI is MIT and does all of the above. No account, no
telemetry, completely free, and open source. Pro is $4/mo for the things a local tool can't do,
history that survives log pruning and sync across machines.
Ignore it and nothing changes.
Try it without installing:
npx tokimeter report
Install:
npm install -g tokimeter && "$(npm prefix -g)/bin/tokimeter" setup --auto
Github:
https://github.com/toshipepe/tokimeter
Would love to hear what you think, and which tools I should add
next.
@toshipepe - having all your AI Ganet usage available in one place is genius. Thanks for building this and hope today's launch goes well!
@codeandsea thanks, let me know if you have any questions!
@toshipepe - Will do thanks.
@toshipepe - installed and looks amazing, I like the pro version especially, but how about an annual subscription at $40, I'm not a fan of subscriptions that require monthly commitment, and annual ones feel better for budgeting, and especially if there is a small discount applied. Would you consider offering one?
@codeandsea For pro the annual prices is $4/month( $48 per year one time) or $5/month paid monthly.
Paid annually, its 20% cheaper.