Reports from the logs you already have
ccusage is an open-source project by ryoppippi on GitHub,
MIT licensed, with more than 19,000 stars. It reads the
usage data coding agents already write to disk, such as
Claude Code’s files under ~/.claude and
~/.config/claude/projects, and turns it into
daily, weekly, monthly and session reports with tokens,
cache tokens, models and cost in US dollars (README).
It covers 20 agents, from Claude Code and Codex to OpenCode,
Amp, Gemini CLI and Copilot CLI.
ccusage blocks groups Claude Code usage into
5-hour windows and shows the active window’s burn rate and
projected total (docs).