Tokentap
FreeIntercept LLM API traffic and visualize token usage in a real-time terminal dashboard. Track costs, debug prompts, and monitor context window usage across your AI development sessions.
About Tokentap
Tokentap (formerly Sherlock) is a token tracker for LLM CLI tools that provides a live terminal dashboard showing real-time token usage, context window consumption, and request details. It intercepts LLM API traffic automatically with zero configuration, supports multiple providers (Anthropic, OpenAI, Gemini, MiniMax), and saves every prompt as markdown and JSON for debugging. The color-coded fuel gauge visualizes context usage against the user-defined limit, and a session summary shows total token usage upon exit. The tool is installed via pip and requires Python 3.10+.
Key Features
Pros & Cons
- Real-time visibility into token and context usage with a visual dashboard
- Automatic prompt archiving in human-readable markdown and raw JSON
- Zero configuration – just install and use, no certificates or setup required
- Supports multiple popular LLM providers out of the box
- Session summary provides total usage metrics for cost tracking
- Requires Python 3.10 or higher
- Limited to CLI-based tools and supported providers (Anthropic, OpenAI, Gemini, MiniMax)
- Terminal-only interface; no web or mobile dashboard
- May need manual configuration for non-listed LLM tools using 'tokentap run'