How to track Claude Code & Codex token usage on macOS
Tama watches all your local AI coding agents — Claude Code, Codex, Gemini CLI, and Antigravity — from the menu bar, with the two token numbers that actually matter. Here's how to read it, end to end.
-
Install Tama
Download
Tama.dmg, drag Tama into Applications, then open it once via System Settings → Privacy & Security → Open Anyway (it's not notarized yet — steps below the button). A pixel cat appears at the right of your menu bar. -
Read the menu-bar count
The number next to the cat is how many AI coding-agent sessions are running right now — across Claude Code, Codex, Gemini CLI, and Antigravity. When nothing is running it drops to
0and the cat naps. -
Open the dropdown
Click the cat for the full picture, grouped provider → project folder → session, newest first. Each session shows its live context gauge.
-
Check your token usage
Claude Code and Codex sessions show
ctx(live context window) and feed theTODAYtotal — every session's tokens for the day, cache re-reads included. Gemini CLI and Antigravity show folder and recent activity only. -
Pin it to keep it on screen
Click the pin icon to pop Tama out of the menu into a floating window that stays on top while you work — with full session names, per-session message counts, and each provider's daily total. Close it to drop back to the menu-bar dropdown.
Confused by the two token numbers? See context window vs daily tokens.
macOS blocked it? How to open
- Open it once anyway. Double-click Tama — in the “can’t be opened” dialog, click Done (not Move to Trash).
- System Settings → Privacy & Security. Scroll down to the “Tama was blocked” message and click Open Anyway.
- Confirm. Authenticate with Touch ID or your password, then click Open. After this, Tama launches normally.
Tama isn’t notarized yet, so Gatekeeper holds it on first launch — one time only.