#25 · Primary category: AI Usage & Cost Monitoring
tokentab
A CLI that reads Claude Code, Codex, and Gemini CLI session logs and works out how much they cost, by model, project, and day.
Project last updated:08/27/26
GitHub Stars
537
Forks
100
Contributors
1
License
MIT
Why we included this project
Claude Code, Codex, and Gemini CLI each keep their own session logs on your machine, and tokentab reads those files to total token usage and cost by model, project, day, and the kind of work a session was doing. It runs fully offline, no account or API key, and it pulls cached tokens back out before pricing so the same context doesn't get billed twice. Output can be a terminal table, machine-readable JSON, or a localhost-only web dashboard with charts, and adding another provider is just one module that returns a shared record shape. If your AI coding spend only surfaces as a monthly invoice you can't trace back to a project, this is a quick, private way to see which codebase or model is actually driving the bill.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
CodexBar
Show usage stats for OpenAI Codex and Claude Code, without having to login.
codeburn
Free, local tool to track AI coding token usage and cost across 37 tools and agents (Claude Code, Cursor, Codex, Gemini and more), by model, project, and task. npx codeburn
Claude-Code-Usage-Monitor
Real-time Claude Code usage monitor with predictions and warnings
helicone
🧊 Open source LLM observability platform. One line of code to monitor, evaluate, and experiment. YC W23 🍓
agentsview
Local-first session search, analytics, insights, and token use statistics for coding agents, supporting Claude Code, Codex, and more than 20 other agents.