WhereMyTokens
Windows app monitors Claude Code token usage and costs in real-time from your system tray.
github.com
TL;DR
- What it does: Windows app monitors Claude Code token usage and costs in real-time from your system tray.
- Best for: Track daily Claude Code API spending.
- Pricing: Open Source — see latest tiers.
What is WhereMyTokens?
WhereMyTokens is an open-source Windows application designed to provide real-time insights into your Claude Code usage directly from your system tray. It focuses on tracking key metrics related to your interactions with Claude Code, offering a clear view of your consumption patterns. The tool parses local JSONL session files and utilizes Claude Code's statusLine hook to gather data, ensuring you have up-to-date information without manual intervention.
The application displays essential usage statistics, including tokens consumed per session, estimated costs, and the current context window size. It also monitors rate limits, specifically the 5-hour and 1-week limits imposed by Claude Code, helping you stay within operational boundaries. This granular tracking is particularly useful for developers and users who frequently interact with Claude Code and need to manage their API usage efficiently and understand their spending.
Ideal for individuals concerned about API costs or those working within specific usage constraints, WhereMyTokens offers a transparent approach to monitoring LLM interactions. By providing immediate feedback on token usage and adherence to rate limits, it aids in optimizing workflows and preventing unexpected charges. Its open-source nature allows for community contributions and transparency in its operation.
Key features
- Real-time token tracking
- Cost estimation
- Context window display
- Rate limit monitoring
- JSONL session file parsing
- StatusLine hook integration
- Windows tray application
- Open-source
Use cases
- Track daily Claude Code API spending.
- Monitor token consumption for active projects.
- Ensure adherence to Claude Code rate limits.
- Visualize session token usage.
- Manage Claude Code costs for development.
Pros & cons
Pros
- Real-time Claude Code usage monitoring.
- Tracks tokens, cost, and context window.
- Monitors 5h/1w rate limits.
- Open-source and free to use.
- Simple system tray interface.
Cons
- Windows only.
- Requires local session file access.
- Relies on Claude Code's statusLine hook.
- No advanced analytics or reporting.
- Limited to Claude Code.
FAQ
What is WhereMyTokens?
WhereMyTokens is an open-source Windows application that monitors Claude Code token usage, costs, and rate limits in real-time from the system tray.
How much does WhereMyTokens cost?
WhereMyTokens is open-source software, so it is free to download and use.
Who is WhereMyTokens for?
It is for Windows users who frequently use Claude Code and want to monitor their token consumption, costs, and rate limits.
Are there alternatives to WhereMyTokens?
Alternatives may include custom scripts, other LLM monitoring tools, or manual tracking, depending on the specific LLM and operating system.
What are the technical limitations?
It is Windows-specific and relies on parsing local JSONL files and integrating with Claude Code's statusLine hook.
WhereMyTokens alternatives
Other tools in LLM Ops · See full alternatives breakdown →
Embedding Similarity Calculator
Compute cosine, dot, Euclidean, Manhattan, and Hamming similarity between two vectors, with ANN algorithm…
Credyt
Real-time monetization infrastructure for AI-native products. Credyt combines cost and profitability observabilty…
Keywords AI
The enterprise-grade software to build, monitor, and improve your AI application. Keywords AI is a full-stack LLM…
Gestell
Gestell takes your messy, unstructured data and turns it into organized, searchable databases so your AI can find…
Price Per Token
Compare LLM API pricing across 300+ models from all major providers with token counters, cost calculators, and…