Caveman Stats
Monitors and displays real-time Claude Code token usage and session savings directly from local logs.
Caveman Stats is a performance-tracking utility for Claude Code that provides transparent insights into session costs and token consumption. By reading data directly from the local session log via a dedicated hook, it bypasses AI-based estimation to deliver 100% accurate metrics on command. This tool is essential for developers who need to manage their API usage budgets, track the efficiency of their prompts, and visualize the financial benefits of Claude's context-caching and optimization features without adding overhead to the model itself.
Key Features
01Real-time token usage tracking
02Zero-latency response using a blocking hook
03Accurate session cost and savings estimation
04Direct log reading for high-precision data
05Instant command execution via /caveman-stats
060 GitHub stars
Use Cases
01Auditing token efficiency to optimize prompt engineering strategies
02Monitoring API consumption costs during intensive development sessions
03Tracking financial savings achieved through context caching