TokenTracker is an open-source, local-first application for monitoring AI token consumption, usage patterns, and associated costs across coding assistants. It supports dozens of tools, including Claude Code, Codex, Cursor, Gemini CLI, and GitHub Copilot. The dashboard visualizes token activity, model usage, project attribution, and estimated spending. Automatic tool detection and hooks simplify setup without requiring API keys or cloud accounts. Its pricing engine calculates costs using model-specific rates and locally cached pricing information. Desktop applications provide convenient access through system menus, widgets, and activity indicators. Additional features include usage limit monitoring, achievement tracking, and an animated desktop companion. Optional cloud synchronization and leaderboards extend functionality while keeping local tracking independent.
Features
- Automatic token usage collection across dozens of supported AI coding tools
- Detailed dashboard with spending analysis, model comparisons, and project attribution
- Model-specific cost estimation with cached pricing and offline calculation support
- Real-time usage limit monitoring with desktop widgets and system tray integration
- Animated desktop companion with coding activity reactions and achievement tracking
- Privacy-focused local processing with optional cross-device synchronization and leaderboards