soulduse/ai-token-monitor
macOS menu bar app for tracking Claude Code token usage and costs
What it solves
AI Token Monitor tracks the real-time cost of using AI coding tools. It answers the question of how much you are spending on AI by monitoring the local session logs that various coding agents already generate on your computer.
How it works
The app runs in your system tray and watches the local JSONL log files created by your AI coding tools (such as Claude Code, Codex, and Gemini CLI). A Rust-based engine parses these files, applies current per-model pricing, and calculates your total spend. This data is displayed in your menu bar or system tray, with a full dashboard available for detailed analytics.
Who it’s for
It is designed for developers who use AI coding assistants and want to keep a close eye on their usage, manage their budget, and avoid unexpected costs without needing to configure complex proxies or API keys.
Highlights
- Zero setup: Works automatically by reading existing local logs from supported AI tools.
- Privacy-focused: Operates 100% offline by default; no code or conversation content is ever shared.
- Live tracking: Displays current spend directly in your menu bar or system tray.
- Budget alerts: Provides notifications via Discord, Slack, or Telegram when you approach usage limits.
- Comprehensive analytics: Includes charts for daily spend, model breakdowns, cache efficiency, and GitHub-style activity heatmaps.
- Social features: Optional leaderboard and in-app chat for comparing usage with other developers.
Related
- Project
Javis603/token-monitorToken Monitor is a desktop app that tracks live token usage and AI tool limits across 56+ AI coding tools, with real-time sync across devices, historical trends, and breakdowns by tool, model, session, or project. It offers multiple display surfaces and supports local data privacy.
- Project
xiufengsun/TokenTrackerA local-first token usage and cost dashboard that automatically tracks AI coding activity across 47 tools, with no cloud account, no API keys, and zero configuration — plus a desktop pet, widgets, and achievement badges.
- Project
Shlomob/ocmonitor-shareOpenCode Monitor is a CLI tool that reads OpenCode AI coding session data (from SQLite or legacy files) and produces cost, token, and performance analytics, with daily/weekly/monthly reports, a live dashboard, and CSV/JSON/Prometheus exports.
- Project
getagentseal/codeburnCodeBurn is a local monitoring tool that analyzes session files from AI coding agents to provide a detailed breakdown of your AI spending, helping you optimize token usage and manage your budget.
- Project
VasiHemanth/tokentelemetryTokenTelemetry is a free, open-source, 100% local observability dashboard for AI coding agents. It reads the log files agents already write on your machine to show token usage, LLM costs, tool calls, session traces, and reasoning steps across 18+ coding agents (Claude Code, Gemini CLI, Codex, Cursor, Copilot, etc.) plus Hermes Agent for autonomous agents. No signup, no cloud — all data stays local. Features include budgets/alerts, plan-limit tracking, per-project insights, and model efficiency comparisons. Installable via one-line scripts; runs a Python/FastAPI backend with a Next.js dashboard at localhost:13000.