Supported agent
Your Claude Code usage, as a file in your repo.
tokenchit reads the Claude Code logs already on your machine and renders one embeddable card straight into your repository. The card is a file you commit, not a URL you depend on — nothing to rate-limit, nothing to go down.
$ npx -y @tokenchit/cli@latest generateFree and MIT. No account is needed to read your own numbers — publishing to the board is a separate, opt-in command.
What it reads
Claude Code writes a JSONL transcript per session. Every profile directory is read, not just the default one, so a machine with more than one config still reports a single total.
~/.claude*/projects/**/*.jsonlNothing else is read, and nothing is sent. tokenchit sync and tokenchit recap make no network request at all; five tests in the repo fail on every push if that stops being true.
What it cannot tell you
Your total will be lower than the Stats panel's
Claude Code rewrites an assistant message in the transcript as it streams, and each rewrite leaves a usage record carrying the same growing figures — so one API call can appear several times. The Stats panel sums them as written; tokenchit collapses them to one row per call. On the machines measured the panel ran between 1.15x and 2.18x higher, and the factor moved day to day, so there is no constant to divide out. sync prints both figures and the gap rather than picking one for you.
Equivalent cost is not what you paid either. It is what these tokens would cost at list API rates, and most agent usage runs under a subscription where no per-token charge ever happens.
On the board, by claude code
Developers who chose to publish, ranked by claude code tokens over the last year. Figures are self-reported and bounded for plausibility, not audited.
| Rank | Developer | claude code tokens | Equiv. cost |
|---|---|---|---|
| 1 | @bucharitesh | 337B | $653,816 |
| 2 | @VinayakRai5 | 21.3B | $14,767 |
| 3 | @iyashjayesh | 15.9B | $10,864 |
| 4 | @pabssen1 | 14.8B | $11,162 |
| 5 | @crazyparadox | 12.1B | $9,113 |
| 6 | @aarsh-nanonets | 8.27B | $5,647 |
| 7 | @NVJKKartik | 7.58B | $5,728 |
| 8 | @Parth080 | 5.54B | $4,488 |
| 9 | @Vivaansharma2003 | 5.42B | $4,015 |
| 10 | @Rupam-M | 4.94B | $4,706 |
The other agents
One command covers all of them at once, and the card shows the mix.
- Codex
~/.codex/sessions/**/rollout-*.jsonl - OpenCode
~/.local/share/opencode/opencode.db - Gemini CLI
~/.gemini/tmp/*/chats/*.jsonl
Detected and deliberately unsupported: Copilot CLI records only a live context gauge, so there is no per-call token count to read.
Read your own numbers
One command. It finds your agents, shows your stats and writes the card. Publishing is a separate step you have to ask for.
$ npx -y @tokenchit/cli@latest generateOr tokenchit sync on its own to see the figures without writing anything. Source at github.com/iyashjayesh/tokenchit.