Caveman Token Stats

0•

Monitors real-time token consumption and cost savings directly from Claude Code session logs.

Caveman Stats provides precise, non-estimated visibility into your Claude Code session's token usage. By reading directly from the session log via a specialized hook, it bypasses AI estimation to deliver accurate data on prompt tokens, completion tokens, and total cost savings. This is particularly useful for developers managing API budgets or optimizing context window usage during intensive coding sessions without relying on the model to hallucinate its own usage metrics.

Key Features

01Accurate cost savings estimation
02Instant reporting via /caveman-stats command
030 GitHub stars
04Session-specific metrics reporting
05Real-time token usage tracking
06Direct log reading for non-estimated data

Use Cases

01Monitoring API consumption costs during long development sessions
02Verifying context window usage to prevent model performance degradation
03Optimizing prompt efficiency by tracking token counts