ccusage

ccusage

Analyze Claude Code usage from local logs

Description

After a month of Claude Code, you have no idea how many tokens you burned or what it cost. ccusage reads local logs to report Claude Code usage and cost.

One npx ccusage prints reports by day, month or session, and can live-monitor the current billing window.

Features



Local:Reads logs.

Reports:Day, month, session.

Cost:Estimated spend.

Live:Billing window.