Quick facts
- Best for
- tokentab - Local Cost Reports for AI Coding Sessions
- Pricing
- Free
- Editor rating
- 4.5 / 5
- Community saves
- 0
About tokentab
tokentab is an MIT-licensed Python CLI for local AI coding cost analysis. Its README says it reads Claude Code, Codex, Cursor, and Gemini CLI session logs on disk, breaks down token usage and cost by model, project, day, and activity, provides JSON output, and includes a local web dashboard served from localhost without uploading data.
Pros
- Local parsing for Claude Code, Codex, Gemini CLI, and an unfinished Cursor slot
- Cost reports by model, project, day, and activity type
- JSON output for piping into other tools
- A localhost web dashboard with charts and itemized monthly statements
- No account, API key, or upload required for the core workflow
- Cache-aware pricing logic for tools that report cached token usage
- Provider modules that can be extended with additional log collectors
Cons
Pricing
Open source
$0
- • Source code available on GitHub
- • No listed SaaS subscription required
- • Users pay only for their own compute, API, or hosting costs
