Track AI coding-agent token usage with TokenTracker
Use TokenTracker to auto-collect local token, cost, and rate-limit telemetry across Claude Code, Codex, Cursor, Gemini, OpenCode, OpenClaw, and other AI coding tools.
Prerequisites
Node.js 20+, tokentracker-cli or native desktop app, local AI coding tools to monitor, optional sqlite3 for Cursor token reading
Installation
Requirements and caveats from upstream:
- TokenTracker requires Node 20+. Check your version:
- node --version
Basic usage or getting-started notes:
🚀 Zero config — Hooks auto-install on first run. From zero to dashboard in 30 seconds.
📊 Beautiful dashboard — Usage trends, cost breakdowns by model, GitHub-style activity heatmap, project attribution
🎨 4 desktop widgets — Pin Usage / Activity Heatmap / Top Models / Usage Limits to your desktop
Extracted from upstream docs: https://raw.githubusercontent.com/mm7894215/TokenTracker/HEAD/README.md