ccusage vs Repomix: which is better?

ccusage and Repomix compared on pricing, API, open source, language support and features. Facts last verified Nov 28, 2026.

Verdict

  • If you need to integrate it into your product, pick Repomix: it has an API.
  • ccusage is best for: Claude Code and coding-agent users who want visibility into their token usage and cost.
  • Repomix is best for: Developers who want a reliable, configurable way to pack a repo for an LLM.
ccusage logo ccusageRepomix logo Repomix
OverviewOpen-source CLI that analyzes token usage and costs of Claude Code and other coding-agent CLIs.Packs a whole codebase into AI-friendly files with strong ignore and token controls.
PricingOpen sourceOpen source
Starting price$0$0
Public APINoYes
Open sourceYesYes
Chinese languageNoNo
Accessible from mainland ChinaUnknownUnknown
PlatformsWebUnknown
CountryUnknownUnknown
Last verifiedNov 29, 2026Nov 28, 2026
Key features
  • Daily, monthly and per-session usage reports
  • Estimated costs by model
  • Live monitoring and 5-hour billing-block view
  • Runs locally via npx with JSON output
  • Packs a repository into AI-friendly output formats
  • Fine-grained ignore rules and token-oriented size controls
  • CLI-first workflow that fits local and CI use
  • Open source and actively used in agent preprocessing
Visit websiteVisit website