Token Tracker is a free, open-source, local-first dashboard tool for automatically tracking and monitoring token usage and costs across 48 AI coding tools. It supports tools such as Claude Code, OpenAI Codex, AStudio, Cursor, Gemini CLI, LM Studio, and Unsloth Studio, presenting input, output, cache, and cache creation token consumption in a unified interface.
Key capabilities include: a unified usage dashboard that aggregates token data across 48 tools; cost analysis that calculates expenses based on pricing for 2,200+ models (including an offline snapshot); a usage limits view that shows real-time quotas and subscription status for 18 providers, with last-known-good caching for local providers such as Antigravity and Qoder; a service status page that aggregates status and incident information from eight official providers; project attribution to see which repository or workspace consumed which tokens; an activity heatmap and trend charts with a GitHub-style contribution calendar and day/week/month/total/custom-range charts; a skills browser to discover and install agent skills from the open ecosystem; a desktop pet whose pixel companion reacts to real token consumption, streaks, and breaks; four desktop widgets showing usage, the activity heatmap, top models, and limits; an achievement system that unlocks milestones based on local and optionally account-scoped activity; and native desktop apps, including a macOS menu bar app and a Windows system tray app.
Usage: run npx tokentracker-cli to install. On first run, the CLI automatically detects installed AI coding tools and installs the appropriate hooks based on tool type (SessionEnd hooks, TOML notify arrays, plugins, or passive log readers), then launches the local dashboard http://localhost:7680。macOS Users can also install the native menu bar app via brew install --cask xiufengsun/tokentracker/tokentracker. All parsing, aggregation, and dashboard rendering are done locally, with no account required; cloud sync is optional and used only for the public leaderboard.
Use cases: suited to developers, founders, and engineering teams who rely on multiple AI coding assistants, to centrally understand token consumption, compare usage trends across models, projects, and time windows, and answer questions such as "which model consumes the most budget," "does the new workflow increase costs," and "how far is the Pro plan from its rate limit," thereby simplifying budgeting, optimization, and reporting.
Limitations and privacy: the tool records only token counts, model names, timestamps, and project attribution, and never reads or uploads prompts or completions. Data is fully processed locally by default, and cloud sync is optional. Some tool integrations work by passively reading local logs or databases, whose internal formats may change (for example, TRAE Work CN's internal API may change).