Dev.to
7/11/2026
The original title is: "tokscale: a CLI tool for tracking token usage and costs across AI coding agents"
Original: I finally counted my tokens before they hatched
Short summary
tokscale is a Rust-based CLI tool that aggregates token usage and costs across AI coding agents like Claude Code, Cursor, Codex, and Copilot by reading local log files. It requires no API keys or accounts—just run npx tokscale@latest to see an interactive dashboard with per-model breakdowns and a GitHub-style heatmap of daily usage. The author discovered most of their spend came from late-night prompting habits on a single premium model.
- •tokscale reads local logs from Claude Code, Cursor, Codex, Gemini, Copilot and prices usage against live rates
- •Run with npx tokscale@latest for an interactive TUI dashboard with per-model cost breakdowns
- •Helps developers identify which models and habits drive the most token spend
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



