Vibe Coding
tokentab reads the session logs three harnesses already write and turns them into a cost statement
Created 2026-09-07 and at 481 stars, tokentab parses `~/.claude/projects/**/*.jsonl`, `~/.codex/sessions/**/rollout-*.jsonl` and `~/.gemini/tmp/**/session-*.json`, with Cursor partially implemented. Token counts come straight from the logs with no estimation, a hand-maintained table in `tokentab/pricing/prices.py` holds dollars per million tokens, model names fuzzy-match (`claude-opus-4-6-20260514` resolves to `claude-opus-4-6`), and cached tokens are deducted so they aren't double-charged. Output is a terminal table, JSON, or a monthly statement served at `localhost:4747` with `-web`.
Source
↳ Follow the thread