ccusage

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Engineers using Claude Code can now get daily usage and cost breakdowns for free from logs they already have, instead of guessing their API spend.

Read this as

Claude Code, Anthropic's AI coding assistant, secretly keeps detailed logs on your computer about how much you use it. A free Node.js tool called ccusage reads those logs and turns them into a simple daily report, including an estimated cost in dollars. That matters to anyone paying for AI-assisted programming who wants to see where their money goes. The article is a short link post and gives no further detail.

Teams running Claude Code can get a readable daily summary of usage and estimated dollar costs using ccusage, a free Node.js tool that reads the logs already stored in the ~/.claude/ directory. It is a trivially cheap way to audit AI coding spend. Willison's post is a brief link post from 14th July 2025 with no benchmarks or screenshots.

ccusage is a Node.js CLI that parses the usage logs Claude Code writes to ~/.claude/ and outputs a per-day summary of usage patterns with estimated USD cost. It is read-only local analysis; the article does not describe a dashboard, export formats, token-level breakdowns, or how cost estimation is calculated. Willison posted it as a short link post on 14th July 2025.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

ccusage Claude Code Simon Willison WorkOS Ladybird Datasette Pyodide

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading