Javis603/token-monitor
Real-time token, cost, and AI limits widget with multi-device sync for Claude Code, Codex, OpenCode, Hermes, OpenClaw, Cursor, Antigravity and more. | 为 AI Tools 打造的即时Token、成本与限额监控桌面组件,支持多设备同步
What it solves
AI coding tools like Cursor, GitHub Copilot, and Claude Code consume tokens and have varying account limits, usage quotas, and costs. It is difficult to track these metrics across different machines and tools simultaneously.
How it works
The application acts as a desktop widget that monitors local log files and databases from over 28 AI coding tools. It aggregates token counts, costs, and session details, providing a unified view of usage. It uses Server-Sent Events to sync data across multiple devices via a local hub, a self-hosted Node process, or a Cloudflare Worker.
Who it’s for
Developers who use multiple AI coding assistants and want a centralized, real-time view of their token consumption, spending, and remaining account limits across different operating systems and devices.
Highlights
- Real-time multi-device sync via local or cloud-based hubs
- Supports 28+ AI tools including Claude Code, Cursor, and GitHub Copilot
- Detailed session breakdowns showing tokens per prompt and cache hit/miss statistics
- Multi-account management with one-click switching for certain providers
- Data persistence with an optional archive to preserve usage history even after source logs are pruned
- Cross-platform support for macOS, Windows, and Linux