SuperAPIAI Directory

tokenbill vs Claude Code

Metrics & specs comparison

tokenbill

tokenbill is a local command-line tool for analyzing the cost of Claude Code sessions. It reads session logs already on disk, breaks down the context composition by category (the conversation itself, command and tool output, file reads, replies, context compaction, etc.), and counts the number of tokens sent and written. The tool runs fully offline, requires no configuration or account, and makes no network requests. For API users, the --cost flag converts tokens into API-equivalent US dollars; subscription users can view token usage and the real plan usage reported by Claude Code. It also offers features such as status bar integration, a budget guard, a GitHub Action, Markdown/HTML reports, and shareable card images.

DimensiontokenbillClaude Code
CategoryOther AI toolsOther AI tools
Monthly visits—
1.25B
MoM—+23.8%
Global rank—#31
Avg. visit—6m 31s
AI referrals—2.3%
Pricing开源项目(可免费自部署)—
Platforms—Web
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools