Repository navigation
v0.1.0 — first public release
First public release of claudecounter 💸 — a tiny, fast TUI that watches your Claude Code spend in real time.
Highlights
- 📊 Three views (minimal · split · full dashboard with live tail)
- 🧩 Per-project breakdown with main vs subagent (Task tool) split
- 🎯 Token-first cost math (uint64 accumulation, cost computed at snapshot)
- 🌍 Cross-platform: macOS · Linux · Windows
- 🪶 Single ~7 MB binary, zero deps at runtime
- 💯 ccusage-compatible: matches
npx ccusageto within rounding (6¢ on a $5.6k month)
Numbers reproducibility
Aligns with ccusage using the same LiteLLM pricing table, the same messageId:requestId first-seen dedupe, and a recursive scan that includes subagent transcripts.
Install
# macOS Apple Silicon
curl -L https://github.com/jverhoeks/claudecounter/releases/download/v0.1.0/claudecounter-darwin-arm64 -o claudecounter
chmod +x claudecounter
./claudecounterSubstitute the right asset for your OS/arch from the list below.
🪟 Windows testers wanted
Windows binaries are cross-compiled but not yet road-tested. If you run claudecounter on Windows and find anything off (paths, keys, terminal rendering, fsnotify quirks), please open an issue.