XNews

tokentab: Local Tool Tracks Token Usage & Cost for Claude Code, Codex, Gemini

tokentab: Local Tool Tracks Token Usage & Cost for Claude Code, Codex, Gemini

tokentab is a local tool that reads session logs from Claude Code, Codex, and Gemini CLI to accurately track token usage and cost, broken down by model, project, and day. It separates Claude cache reads/writes to avoid double-counting. Commands show last 7 days, monthly, per project, or per tool, with machine-readable output. A local web dashboard displays billing-style data without internet, requiring no account or API key. All data stays on the machine.

Source posts