Monitor real-time token usage and prevent budget overruns
ccusage offers live monitoring dashboard with 5-hour billing window tracking, allowing users to see active token consumption and projected costs in real-time to stay within budget

Claude code usage analysis tool
Learn how to analyze your Claude Code token usage and costs with ccusage CLI tool. Fast, informative tutorials and examples.
ccusage offers live monitoring dashboard with 5-hour billing window tracking, allowing users to see active token consumption and projected costs in real-time to stay within budget
ccusage processes all data 100% locally with zero data uploads, maintaining complete privacy while providing offline analysis capabilities with cached pricing data
ccusage uses bunx for instant startup with no installation required, providing ultra-small package size and immediate access to analysis features
ccusage provides daily, monthly, and session-based reports showing token consumption and costs by model, enabling developers to understand spending patterns and identify optimization opportunities
ccusage supports JSON export functionality enabling seamless integration with custom analytics tools and automated workflows for further analysis