Show HN: Toktrack – 1000x faster AI CLI cost tracker (Rust and SIMD) (github.com)
Did you know Claude Code deletes your session data after 30 days? I found out the hard way when I tried to check my spending history.
My session files hit 3GB (2000+ files) and existing tools took 40+ seconds. Rewrote it in Rust with simd-json + rayon.
- First run: ~1s (vs 40s+) - Daily use: ~0.04s (1000x faster, cached) - TUI dashboard with daily/weekly/monthly breakdown - Supports Claude Code, Codex CLI, Gemini CLI - Persistent cache — history survives even after CLI deletes files
GitHub: https://github.com/mag123c/toktrack
Feedback welcome!
1 comment
[ 2.7 ms ] story [ 15.0 ms ] thread