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
  • Project
  • Project
  • Project
  • Project