Peng.ly Portfolio

Token Usage Dashboard

See where your Claude Code, Codex and OpenCode tokens went, read from the transcripts on your machine

  • TypeScript
  • MIT licence
  • Updated 19 November 2026

What it does

Ever wondered where all your tokens are going, or what your AI habit would cost at API prices? This reads your local Claude Code, Codex and OpenCode transcripts and turns them into a dashboard of your whole usage history. It all stays on your machine, and the stats go into a local SQLite database, so you keep the history even after the tools prune their old transcripts.

Get it running

npx token-usage-dashboard
  • A calendar heatmap of the past year, and daily totals stacked by tool or model
  • The split between fresh input, output, cache reads and cache writes
  • Which projects, providers and models your tokens went to
  • Your Anthropic and OpenAI 5-hour and 7-day plan windows
  • Recent sessions with a full token breakdown, and cost estimates at API rates
  • One command to run it, and your transcripts never leave the machine

More other