xiufengsun/TokenTracker
Local-first AI token usage & cost tracker for 31 coding tools incl. Claude Code, Codex, Cursor, Gemini & DeepSeek Harness—with native apps. Never reads prompts.
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
5 releases in the last 90 days, the latest today, with 94 contributors on GitHub.
Use Cases & Benefits
- Tracks AI token usage and costs locally for 27+ AI coding tools with a privacy-first dashboard and native desktop apps.
- Provides zero-config, local-first tracking with accurate multi-provider deduplication and no cloud account or API keys required.
- Use for monitoring token consumption and cost trends across multiple AI coding tools in a single unified dashboard.
- Use for developers seeking privacy-focused, offline token tracking without uploading prompts or responses to external servers.
- Use for enhancing productivity with native desktop widgets, a coding activity pet, and achievement badges tied to AI tool usage.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
- Contributing guide: present
- Code of conduct: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
An accurate, local-first token usage and cost dashboard for 27 AI coding tools — plus a desktop pet, 4 native widgets, and 15 achievement tracks. No cloud account, no API keys, no setup.
📊 See the token dashboard in action
🏆 Unlock achievements from the way you actually code.
⭐ If TokenTracker saves you time, please star it on GitHub — it helps other developers find it.
Requirements: Node.js 20+ (CLI runs on macOS / Linux / Windows; native desktop app ships for both macOS (menu bar) and Windows (system tray). Cursor token reading uses the system
sqlite3CLI when available and falls back tonode:sqliteon supported Node releases).That's it. First run installs hooks, syncs your data, and opens the dashboard at
http://localhost:7680.What you get in 30 seconds:
Want a native desktop app?
- macOS — Download
TokenTrackerBar.dmg→ drag to Applications. Menu bar status icon, desktop widgets, and the dashboard in a WKWebView.- Windows — Download
TokenTracker-Setup.exe→ run the per-user installer (no admin needed). System-tray app with the dashboard in WebView2. Portable zip also on the releases page.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
225+98
Open issues
27+20
Compared with peers in CLI
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| vercel-labs/agent-desktop | 17.0K | +13.3K | 33 | today |
| mattpocock/skills | 315.4K | +8.7K | 35 | 7 days ago |
| stablyai/orca | 116.8K | +6.6K | 40 | today |
| obra/superpowers | 313.1K | +4.5K | 53 | 2 days ago |
| Panniantong/Agent-Reach | 109.3K | +3.0K | 60 | 4 days ago |
| xiufengsun/TokenTracker | 2.1K | — | 45 | today |
| Category median | 116.8K | +6.6K | 40 | — |
Discover Repositories
Search across tracked repositories by name or description