A broadcast studio set for token use, with operators and panels for AI coding tools.
v0.0.11 - TUI + desktop app

Track AI coding token usage and costs locally.

Token Use reads Claude Code, Codex, Cursor, GitHub Copilot, and Gemini history already on your machine, stores it in a local archive, and adds local Insights plus optional quota gauges when you choose to sync them.

No API keys Read-only ingestion No telemetry Opt-in syncs only
CURRENT RELEASE
v0.0.11
Homebrew, TUI binaries, and desktop builds
THE DASHBOARD

A local dashboard that answers the only question that matters: where did it go?

The TUI and desktop app share the same archive, filters, refresh logic, Usage view, Insights, and report flow. In the terminal, press 1-5 for time ranges, u for Usage, i for Insights, and e for reports.

SUPPORTED TOOLS

Five local parsers, one archive.

Token Use reads the session files your tools already write to disk. It normalizes local history into one browsable archive, while limits-only quota sync for Copilot, Claude.ai, and ChatGPT (Codex) stays separate and opt-in from Config.

Claude Code
~/.claude/projects/ + Claude Desktop
  • Exact tokens and cache reads
  • Bash commands and tool calls
  • MCP server and tool usage
Codex
~/.codex/sessions/**/rollout-*.jsonl
  • Per-turn token_count events
  • Cached input plus reasoning output
  • Tool call ledger
Cursor
Cursor state.vscdb
  • Exact tokens when present
  • chars / 4 estimate fallback
  • Agent KV rows
GitHub Copilot
~/.copilot/session-state/ + VS Code Chat
  • Legacy output tokens
  • VS Code Chat transcripts
  • Estimated transcript usage
Gemini
~/.gemini/tmp/<project_hash>/chats/
  • Exact usage and cache reads
  • Thought token tracking
  • Tool calls
GET STARTED

Install the current release.

Use Homebrew on macOS, or pull checksummed TUI and desktop builds from GitHub Releases for Linux and Windows.

$ brew install russmckendrick/tap/tokenuse
$ tokenuse

$ brew install --cask russmckendrick/tap/tokenuse-desktop
$ open -a "Token Use"
$ curl -L -o tokenuse https://github.com/russmckendrick/tokenuse/releases/latest/download/tokenuse-linux-amd64
$ chmod +x tokenuse
$ sudo install -m 0755 tokenuse /usr/local/bin/tokenuse
$ tokenuse
PS> Invoke-WebRequest -Uri "https://github.com/russmckendrick/tokenuse/releases/latest/download/tokenuse-windows-amd64.exe" -OutFile "tokenuse.exe"
PS> .\tokenuse.exe
TUI: macOS - Linux - Windows - Desktop: macOS - Linux - Windows - v0.0.11