ccusage is a local command-line tool for analyzing token usage and estimated costs across coding-agent CLIs. It reads supported tools' local logs, accounts for cache tokens, provides terminal tables, and exports structured JSON without uploading usage data.
In the CLI tools & terminal space, ccusage takes a focused approach. It focuses on tracking token consumption and estimated spending across coding-agent command-line tools. ccusage is an open-source project aimed at developers using coding-agent CLIs. The project is open source (Open Source). ccusage is available on the command line, and it can be self-hosted.
ccusage first shipped in 2025. Development happens publicly on GitHub with 18.4k stars and 435 commits in the last 90 days. Among its 10 catalogued features are Multi-CLI Support, Token Tracking, and Cost Estimates.
Summary written by a language model from the project’s public pages.
What PulseGate has recorded for this listing
Closest matches by what these projects do