Local CLI and desktop app that breaks down your AI coding token spend and cost by tool, model, project and task.
Javis603/token-monitor
Desktop widget that tracks token usage, costs, limits and sessions across 46+ AI coding tools, with optional multi-device sync.
- Stars
- 3,264
- Forks
- 309
- Open issues
- 135
- Last commit
- 4 hours ago
What is it?
Token Monitor is a desktop widget for Windows, macOS and Linux that shows live token usage and AI tool limits across more than 46 AI coding tools, including Claude Code, Codex, Cursor, GitHub Copilot, OpenCode, and Cherry Studio. It reads usage from the local logs and databases each tool writes, so a single dashboard can show cost, token counts, and remaining quota for many tools in one place.
It works in local mode with no server setup. For people who use AI tools on several machines, an optional sync layer lets each device send summary stats to a hub, which can be a built-in host in the widget, a Node CLI process, or a Cloudflare Worker. A headless agent can report usage from servers, SSH hosts and WSL, and iCloud Drive sync is available on macOS.
The app offers breakdowns by tool, device, model, session and project, historical trends and heatmaps, data export as CSV and JSON, and macOS menu bar, Windows tray and macOS native widgets. Prompts, responses and file contents stay on the local machine.
Key features
- 01Tracks token usage and cost for 46+ AI coding tools from local logs
- 02Shows AI tool limits and quota windows for supported providers
- 03Real-time multi-device sync through a self-hosted hub or Cloudflare Worker
- 04Headless agent reports usage from servers, SSH hosts and WSL
- 05Breakdowns by tool, device, model, session and project
- 06Exports usage as CSV and JSON
Use cases
- Developers who use several AI coding tools and want one view of spending
- Engineers working across a laptop, a desktop and remote servers who want combined usage
- Teams tracking how much each model or project costs over time
Quick start
- 1
Download the app from the releases page
Things to know
- Some limit checks need a pasted cookie or API key, and Notion AI support is only validated with fixtures.
- Command Code token counts are estimated from transcript text rather than read exactly.
Topics
FAQ
- What is token-monitor?
- Desktop widget that tracks token usage, costs, limits and sessions across 46+ AI coding tools, with optional multi-device sync. Token Monitor is a desktop widget for Windows, macOS and Linux that shows live token usage and AI tool limits across more than 46 AI coding tools, including Claude Code, Codex, Cursor, GitHub Copilot, OpenCode, and Cherry Studio. It reads usage from the local logs and databases each tool writes, so a single dashboard can show cost, token counts, and remaining quota for many tools in one place.
- Is token-monitor free to use? What license does it have?
- token-monitor is open source under the MIT license. Check the license terms before using it in commercial products.
- Is token-monitor still maintained?
- Actively maintained. The last commit to token-monitor was on Oct 22, 2026.
- What can I use token-monitor for?
- Developers who use several AI coding tools and want one view of spending Engineers working across a laptop, a desktop and remote servers who want combined usage Teams tracking how much each model or project costs over time
- How do I install token-monitor?
- Download the app from the releases page
- Where can I get token-monitor?
- The source code and installation instructions are on GitHub: https://github.com/Javis603/token-monitor
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Local-first tool to browse, search, and track token costs across AI coding agents such as Claude Code and Codex.
Local-first shared project memory layer that lets coding agents like Claude Code, Codex, and Cursor read and write the same memory via MCP.
A CLI that analyzes token usage and estimated costs for coding agent tools like Claude Code and Codex from their local data.
A Rust CLI and TUI that tracks token usage and estimated costs across many AI coding agents, with an optional public leaderboard.
A macOS menu bar app that turns your AI coding token usage into a Pokémon companion, while tracking daily spend and official Claude, Codex and Antigravity limits.