Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mag123c
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
Show HN: Track your Codex CLI(5.3) token spending (also Claude Code and Gemini)
(github.com)
1 points
by
mag123c
7mo ago
|
0 comments
2.
▲
by
mag123c
8mo ago
Good question! Honestly, the README is a bit misleading - ratatui is just for the terminal UI, not performance. Let me clarify The actual speed comes from 1.simd-json: This is the big one. It uses CPU SIMD instructions to parse multiple JSO
3.
▲
Show HN: Toktrack – 1000x faster AI CLI cost tracker (Rust and SIMD)
(github.com)
4 points
by
mag123c
8mo ago
|
3 comments
4.
▲
by
mag123c
8mo ago
Tip: Claude Code deletes session files after 30 days by default. To keep your data with ~/.claude/settings.json { "cleanupPeriodDays": 9999999999 } toktrack caches cost data independently either way, so past history is p
5.
▲
by
mag123c
8mo ago
Hi HN, I built toktrack because I was spending a lot on Claude Code and had no easy way to track it. My session files were ~3GB (2,000+ files). I first tried a Node.js approach but it took 40+ seconds – sequential JSON.parse, GC overhead, a
6.
▲
Show HN: Toktrack – Track your Claude Code token spending in under a second
(github.com)
2 points
by
mag123c
8mo ago
|
2 comments
7.
▲
Show HN: Toktrack – 40x faster AI token tracker, rewritten from Node.js to Rust
(github.com)
1 points
by
mag123c
8mo ago
|
0 comments
8.
▲
by
mag123c
8mo ago
I built a local CLI tool to track my daily token usage across Claude Code, Codex, and Gemini CLI. Parsing the session logs directly (JSONL/JSON) with simd-json gives me exact numbers without relying on any external API. Knowing my