ccusage
Analyze your Claude Code token usage and costs from local JSONL files — incredibly fast and informative!
Installation
Quick Start (Recommended)
Thanks to ccusage's incredibly small bundle size ( ), you can run it directly without installation:
# Using bunx (recommended for speed) bunx ccusage # Using npx npx ccusage@latest # Using deno (with security flags) deno run -E -R= $HOME /.claude/projects/ -S=homedir -N= ' raw.githubusercontent.com:443 ' npm:ccusage@latest
💡 Tip: We recommend using bunx instead of npx for a massive speed improvement!
Local Installation (Optional)
Since ccusage has such a small bundle size, installation is entirely optional:
npm install -g ccusage
... continue reading