ccusage/ccusage
npx ccusage observed · 2026-10-18
Health v2 · maintenance only
83/100
- Activity 100
- Release rhythm 88
- Longevity 36
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 0.0
- age_days: 509
- days_rel: 3
- days_push: 3
- n_releases_24m: 147
Adoption not part of the score
19046 stars · 882 forks observed · 2026-10-18
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.97
ccusage is a fast local CLI that reads usage logs from various coding agents (Claude, Codex, GitHub Copilot, etc.) and reports token counts and estimated costs. It provides responsive terminal tables, focused views, and JSON output for programmatic analysis.
Use cases
- track daily token usage of my coding assistants
- estimate USD spend for different LLM models used in development
- generate JSON reports of LLM usage for budgeting
- compare usage across multiple coding agents in one view
- analyze cache token consumption for Claude Code
- run cost analysis offline without network connectivity
When to choose
- You need a lightweight, local solution to monitor LLM token usage across multiple coding CLIs.
- You prefer not to upload usage data to external services and want offline cost estimation.
- You want quick, tabular or JSON reports that can be integrated into scripts or CI pipelines.
When to avoid
- You require a full-featured web dashboard or remote storage of usage data.
- You need real-time streaming analytics or integration with cloud monitoring platforms.
- Your workflow relies on agents not supported by ccusage.
Facets
cli-tool · maturity active
cli analytics data-visualization developer-tools cross-platform cli llm-token-tracking coding-agent-usage offline-mode json-export cost-estimation cost-analysis ai-agents devops nodejs
5 sources
- readme: https://github.com/ccusage/ccusage · fetched 2026-10-18 · 44565c25ed84
- homepage: https://ccusage.com/ · fetched 2026-10-05 · c76542b2a588
- site_page: https://ccusage.com/guide/getting-started · fetched 2026-10-05 · e1c09a7438c0
- site_page: https://ccusage.com/guide/cost-modes · fetched 2026-10-05 · 51ba17dda547
- site_page: https://ccusage.com/guide/claude · fetched 2026-10-05 · ca045e570f7b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ccusage/ccusage | main | 83 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem