WhereMyTokens is a local-first desktop app that runs in the Windows system tray for monitoring usage of AI coding tools. The developer is a Korean developer who uses Claude Code daily, and the app was built to solve their own needs.
Purpose
The app is aimed at developers who use AI coding tools such as Claude Code, Codex, and Antigravity, helping them view quota windows, total tokens, API-equivalent cost estimates, cache efficiency, sessions, model usage, activity patterns, and Git output.
Main capabilities
- Supports Claude Code, Codex, Antigravity, or any combination of providers, enabled via checkboxes.
- Provides dynamic quota cards that preserve provider scope, reset times, known or unknown durations, and explicit unlimited states. Antigravity 2.x uses the provider-reported shared grouping of Gemini Models and Claude and GPT models, and provides a legacy per-model local RPC fallback. Missing limits are not synthesized and displayed as Unlimited.
- Claude account limits prioritize the 5h/7d fields from the official Claude Code statusLine. When there are no new statusLine updates, a read-only compatible fallback can be used to query the same account windows via the existing Claude Code access token.
- When Claude Code login is expired or rejected, displays a Windows notification and an in-app action to open the official claude auth login flow; the app monitors credential changes and automatically retries, without refreshing tokens itself or writing credentials.
- Optional draggable mini display in the Windows taskbar, using two physical rows to show normalized 5h/7d entries.
- Built-in English, Japanese, and Simplified Chinese interfaces, selectable in Settings → General → Language.
- Codex reset credit availability can be displayed as a separate Plan Usage target, with Rich, Simple, or hidden modes available in settings.
- Tracks activity and recent sessions from local provider data.
- Provides today's and all-time summaries of tokens, cost, cache, models, and calls.
- Provides activity heatmaps, pace charts, model usage, and tool breakdowns.
- For continuously tracked repositoriesProvides Git output metrics, independent of recent session membership, with project exclusion reversible.
- Persistent totals are stored in usage-index.sqlite with source attribution. Request details are retained for 8 days, hourly precision for 35 days, daily precision for 180 days, and monthly totals indefinitely. The first index remains responsive and is marked as incomplete coverage; resetting the index discards indexed history and rebuilds only from currently available provider logs.
- Local-first storage, no cloud sync or telemetry.
How to Use
Install using WhereMyTokens-Setup.exe, or extract the portable ZIP and run WhereMyTokens.exe. Open the dashboard from the Windows tray, enable the desired providers, and enable Claude Code Integration to register the official statusLine bridge when live Claude quota data is needed.
Settings → Currency supports USD, KRW, and CNY, with manually set exchange rates (CNY defaults to 7.2 per 1 USD), not real-time market quotes, affecting display only.
Use Cases
Suitable for Windows users who need a centralized view of usage, cost, quotas, and activity patterns across multiple AI coding tools.
Limitations
WhereMyTokens reads local provider files, only calls enabled providers that require live usage, does not upload session logs, does not do cloud sync, and does not require pasting API keys. The Claude-compatible fallback only sends the access token to the fixed HTTPS host api.anthropic.com for quota requests, ignores refresh token attributes, and never refreshes credentials or writes credential files. Codex live usage and reset credit checks only use ~/.codex/auth.json for direct OpenAI/ChatGPT requests when Codex is enabled. Antigravity only uses local RPC, and does not use Google OAuth, refresh tokens, Google cloud usage endpoints, or offline database fallback.
The macOS menu bar version is located in a separate WhereMyTokens for macOS repository, with an independent mac-vX.Y.Z release track and DMG/ZIP downloads.
The Japanese interface is built into the Windows app, defaults to following the system language of Japanese Windows, and can be overridden in Settings → General → Language. SimplifiedChinese interface can be selected in Settings → General → Language, Simplified Chinese Windows is automatically detected, and Traditional Chinese regions retain the English fallback.