Recently I found myself using a bunch of different AI coding tools at the same time (Claude Code, Cursor, and some custom API scripts). By the end of the week, I had absolutely no idea how many tokens I was burning or what my real API costs were unless I logged into three separate billing pages.
I built tokemon to solve this for myself. It finds the log and cache files generated by these tools on your machine, parses them, handles deduplication so requests aren't double-counted, and drops the totals into a terminal dashboard. I wrote it in Rust, so it's extremely fast and performant.
The feature I end up using the most is `tokemon top`. It opens a live TUI dashboard with sparklines for daily and weekly trends. I usually just leave it running in a terminal pane as a persistent monitor since it's nice to look at and keeps my API spend top of mind.
You can grab it via cargo: cargo install tokemon
Repo is here if you want to poke around or add parsers for other tools: https://github.com/mm65x/tokemon
Let me know what you think!