Track what your AI coding would cost at API prices

On a flat subscription, the number that matters is how much you use, not a bill. SupaMeter turns the token counts in your local logs into a dollar estimate at public API prices, for the last 30 days, per tool, per model and per day. The sums are done on your Mac.

macOS 14 or later · Signed and notarized by Apple · Free, no account

How to do it with SupaMeter

  1. Install and launch SupaMeter. It reads your existing history in ~/.claude/projects and ~/.codex/sessions, and the Stats tab shows indexing progress until the first pass finishes.
  2. Click the menu bar icon and open Stats. The headline is the 30-day total, with a row per tool (sessions, share of cost, tokens) and a daily chart.
  3. Use the $ / Tokens switch to see processed tokens instead. The totals grid splits cached input, uncached input and output, and shows cache savings.
  4. Open Models and switch between Model and Day to see the breakdown. The large widget puts today's and 30-day spend on your desktop.

What Claude Code and Codex show on their own

Neither tool keeps a spend history. The Session block at the top of Claude Code's /usage has a total cost worked out from token counts at list price. Anthropic's docs say it is meant for API users and isn't relevant to billing on Pro, Max or Ultra, and the totals reset when you run /clear. Codex's /status lists token usage, and its reference documents no dollar figure.

So each tool answers for one session at a time, and neither adds up a month or lines the two up side by side. Billing pages show what you were charged, which on a subscription is a flat fee, not what your usage is worth.

SupaMeter's figure is labeled API estimate in the app, and it is an estimate. Models without a public price show a dash and are left out of the total, and the app says so under the headline. Use it for scale.

Questions and answers

Does it track Grok and Cursor too?

Grok usage is read locally from ~/.grok/sessions, with values marked approximate where they are proxied. Cursor is only detected in 1.0 and shows no usage.

Why does a model show a dash?

It has no public API price in SupaMeter's price table, so there is nothing to multiply the tokens by. Its tokens still count in the token view.

Does the spend estimate leave my Mac?

No. The token counts come from local files and the prices are built into the app. Only the limit requests and the update check use the network.

Is SupaMeter free?
Yes. SupaMeter is free, with no account, no trial and no license key.

Related