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.
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
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.