TOKENMAXING

Every token your coding agents burn, maxxed in your menu bar.

TOKENMAXING is a tiny Mac app that adds up the tokens your AI coding agents use, from the usage files they already keep on your Mac. Claude Code and OpenAI Codex CLI work out of the box; anything else can be piped in. Then it throws confetti at every milestone.

$2.99 one-time · macOS 15+ on Apple silicon · read-only · no account, no network · unofficial

TOKENMAXING main window in dark mode: an all-time total of about 4.1 billion tokens, today and this week, a 30-day chart, the token mix and tokens per agent (demo data).

Screenshots use made-up demo data.

What it counts (and what it can't)

Counted automatically

  • Claude Code: the CLI, the desktop app's Code tab, subagents and scheduled tasks, from ~/.claude/projects.
  • OpenAI Codex CLI: sessions in ~/.codex/sessions and archived_sessions (or $CODEX_HOME).
  • Anything else: drop a JSONL or CSV file in the Imports folder and it shows up as its own agent. Format below.
  • Input, output, reasoning/thinking, cache writes and cache reads, per day, per agent, per model and per project folder. Repeated records are counted once.

Not counted

  • Web and desktop chat apps (claude.ai, ChatGPT): they don't keep usage on your Mac, so there is nothing to read.
  • Usage on other computers, or before an agent's own files were cleaned up (Claude Code deletes old transcripts after about 30 days; TOKENMAXING keeps its totals once it has seen them).
  • Gemini CLI, Aider, Cursor coming soon: their local formats are changing or don't include token counts yet. Aider and others can use the import today.
  • Your bill. Totals are estimates from local files, not invoices.
Agent squad card showing tokens per tool (Claude Code and Codex CLI), model rotation, top projects and the efficiency section (demo data).

Why it's fun

Menu-bar total

"⚡ 4.1B" next to your clock, plus today, this week and how far to the next milestone.

Milestones

1M, 10M, 100M, 1B and every billion after: full-window confetti, a notification and a quip that doesn't repeat.

525 achievements

Streaks, night-owl sessions, cache hoarding, model hopping and secrets. With rarity and progress bars.

Calendar and charts

Heat-shaded month and year views, a line chart with a 7-day average, and every day's totals by agent, model and project.

Efficiency check

Cache hit share, tokens per request, subagent share and real wall-clock hours. No dollar guesses.

Light on your Mac

The first scan reads slowly in the background and pauses when your Mac is busy. After that it reads only new bytes once a minute.

Calendar page: a heat-shaded month grid and the best day's totals by type, model and project (demo data).

Privacy: nothing leaves your Mac

  • Read-only. It never writes to ~/.claude or ~/.codex.
  • Numbers only. It keeps token counts, timestamps, model names, tool names and project folder names. Never your prompts, replies, code or commands.
  • Local totals. Saved in ~/Library/Application Support/TokenMaxing. Delete the folder and it's gone.
  • No network code. No analytics, no account, no licence server, no update pings. It works offline forever.
  • Says so up front. The first-run screen explains exactly what it reads before the first scan.
The first-run screen: what it reads, what it keeps, what it sends (nothing) and what it can't see.

Install (2 minutes)

  1. Buy and download tokenmaxing-1.0.0.zip, then unzip it.
  2. Drag TOKENMAXING.app into Applications.
  3. First open only: the app isn't signed with a paid Apple Developer ID, so macOS asks you to confirm. Either:
    • Control-click (or right-click) the app, choose Open, then Open again; or
    • double-click it, click Done, then go to System Settings → Privacy & Security, scroll to Security, click Open Anyway and confirm with your password or Touch ID.
  4. The ⚡ appears in your menu bar and the first scan starts. Optional: Settings → General → Open at login.

Check the download: shasum -a 256 tokenmaxing-1.0.0.zip should print
0d51fa8c5cf4d287ac8388919e4ad38795bce3405ccac04b8675ee7ef77e30b1

Requirements

  • macOS 15 Sequoia or later
  • Apple silicon Mac (M1 or newer). No Intel build.
  • Claude Code or Codex CLI used on that Mac, or your own import files

Uninstall

Quit it, delete the app and ~/Library/Application Support/TokenMaxing.

Bring any agent: the import format

Append one line per request to a .jsonl (or .csv) file in ~/Library/Application Support/TokenMaxing/Imports/. Only timestamp is required; every tool gets its own row.

{"timestamp":"2026-12-05T14:03:00Z","tool":"my-agent","model":"local-qwen","input_tokens":1200,"output_tokens":340,"id":"req-001"}

Fields: timestamp, tool, model, input_tokens, output_tokens, cache_read_tokens, cache_write_tokens, reasoning_tokens, project, session, id. Full spec in IMPORT.md in the download.

FAQ

Is this made by Anthropic or OpenAI?

No. TOKENMAXING is an unofficial, independent app by one developer. It is not affiliated with, endorsed by or sponsored by Anthropic, OpenAI or any other AI company. It only reads the files their tools already leave on your Mac.

Does it see my code or conversations?

No. It reads the usage numbers in those files and skips the text. Only totals are saved, and the app has no network code, so nothing can be sent anywhere.

Why doesn't it count my claude.ai or ChatGPT chats?

Those run in the cloud and don't write usage files on your Mac. TOKENMAXING only counts what's on disk.

Will the numbers match my bill or plan limits?

Not exactly. They're the token counts your agents logged locally, deduplicated. They're great for trends and bragging rights, not for accounting.

Why does macOS warn me on first open?

The app is ad-hoc signed, not notarized with a paid Apple Developer ID. That keeps the price at $2.99. You confirm it once (steps above); the checksum lets you verify the download.

What about Gemini CLI, Aider or Cursor?

Coming in a free 1.x update once their local formats can be read reliably. Gemini CLI is switching its chat log format right now, Aider writes rounded numbers to a Markdown history, and Cursor doesn't store token counts locally. Until then, Aider and any other tool can feed the import file.

There are free tools like ccusage. Why pay?

If you live in the terminal, ccusage is excellent and free. TOKENMAXING is for people who want a native menu-bar app with history that outlives the 30-day transcript cleanup, calendars, charts and a confetti problem.

Is there a licence key or DRM?

No DRM. Your Payhip receipt includes a key you can paste into Settings → About as a record of purchase; it's checked offline for its shape only, and every feature works without it. One licence covers one person on their own Macs.

Refunds?

Within 14 days of purchase, for any reason: message the seller through the Payhip product page with your order details. See the Terms.

Price

$2.99

One-time. Personal licence for one person on the Macs they own. Free 1.x updates. Taxes are calculated at checkout by Payhip.

14-day refund, no questions asked.