mag123c / toktrack
Ultra-fast token & cost tracker for LLM Token Usage (e.g. Claude Code)
Why this job: works in the areas we cover, but does not say which job it does

What it does
- Data Preservation. Persistent cache keeps your cost history even after a CLI deletes its own session files
- Multi-CLI Support. Claude Code, GitHub Copilot CLI, Codex CLI, Gemini CLI, Qwen Code, OpenCode, PI Agent, Antigravity, Grok CLI in one place
- TUI Dashboard. 5 tabs (Overview, Stats, Models, Projects, Audit) with daily/weekly/monthly views
- Per-Project Breakdown. the Projects tab shows token & cost usage per project (the session working directory), for CLIs that record one. Drill into any project for its day-by-day, per-model breakdown. Usage from CLIs that don't record a pro
- CLI Commands. daily, weekly, monthly, stats with JSON output support
Get started
brew tap mag123c/toktrack
brew install toktrack - Maintenance
- Active
- Last commit 6 days ago
- Stars
- 196
- On GitHub
- Licence
- MIT
- Allows business use
- Downloads for
- 3 systems
- Mac, Windows, Linux
- Latest version
- v2.17.5
- Released 19 days ago
- Built with
- Rust
- 99% of the code
Is it looked after?
- Contributors
- 8
- Last 90 days
- Issues
- 100% closed
- 0 still open
- Pull requests
- 255 merged
- 5 waiting
- Releases
- 98
- 30+ in the last year
- Contributing guide (opens in new tab)
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| Javis603 / token-monitor | 3,596 | today | MIT | Mac, Windows, Linux |
| Han-1413141 / dsh-cost-meter | 655 | today | MIT | No downloads |
| VasiHemanth / tokentelemetry | 385 | 2 days ago | MIT | No downloads |
More: download files, languages, topics and project record
Download files, v2.17.5
- Mac4 files, 38 downloads
- Windows1 file, 13 downloads
- Linux6 files, 39 downloads
Languages
- Rust 99%
- Shell <1%
- JavaScript <1%
- Tape <1%
Topics
- ai-billing
- ai-coding
- ai-cost
- ai-tools
- anthropic
- claude-code
- cli
- codex-cli
- cost-monitor
- cost-tracking
- developer-tools
- gemini-cli
Project record
- JobOther AI tools
- StatusNew to our list
- Commits431
- Forks22
- Watching0
- CreatedJan 26, 2026
- First seen by usNov 7, 2026
- CheckedNov 9, 2026
