Tokenholic reads your local usage logs and prices every token at what the API would have charged. Subtract your monthly subscription and the difference sits live in your menubar, updating as you code.
Same data ccusage reads, same price table, same per-model math. The pipeline runs locally and reconciles to the cent.
Tails ~/.claude/projects and ~/.codex/sessions with byte-offset incremental reads. New tools drop in behind one protocol.
Drops synthetic records and de-duplicates on message and request IDs, so nothing is double counted.
Looks up every model in the live LiteLLM table. The 5m and 1h prompt-cache tiers are priced separately, matching Anthropic's billing.
API-equivalent value minus your plan price, per tool and blended, across your billing cycle, with a daily series.
No dashboards to log into, no telemetry to opt out of. It lives in the menubar and updates the moment a session writes to disk.
Tokenholic isn't an estimate. It uses the same LiteLLM price table as ccusage, keyed by exact model id, fetched live and cached for 24 hours with an embedded offline fallback. Run --dump to print a full per-model breakdown and cross-check any number yourself.
# per-model breakdown (cross-check vs ccusage) claude-sonnet-4 in 1.42M $ 4.26 claude-sonnet-4 out 318K $ 4.77 cache-write-5m 2.1M $ 7.88 cache-read 9.8M $ 2.94 gpt-5-codex out 402K $ 6.03 ───────────────────────────── cycle value $391.40 subscription $ 20.00 net earnings +$371.40
FSEvents triggers an incremental rescan the instant a session writes; a 60-second timer refreshes the time-based windows. Click for per-tool cards, a daily sparkline, and your last 5 hours of value.
Written in Swift 6 as a menubar agent with no Dock icon. Universal binary for Intel and Apple Silicon, ad-hoc or Developer-ID signed and notarized.
Build it from source or grab the signed DMG. macOS 14+, universal, free under GPL-3.0.