SuperAPIAI Directory

tokenbill vs Grok

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.

DimensiontokenbillGrok
CategoryOther AI toolsAI assistants
Monthly visits—
38.9M
MoM—+13.5%
Global rank—#1,364
Avg. visit—2m 02s
AI referrals—51.0%
Pricing开源项目(可免费自部署)付费订阅 $8/月起
Platforms—Web · iOS · Android · API
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools