tokscale
tokscale is a high-performance command-line tool and visualization dashboard for tracking token usage and costs across multiple AI coding agents. It supports collecting usage from numerous platforms such as OpenCode, Claude Code, Codex CLI, Copilot CLI, Cursor IDE, Gemini CLI, and more, and provides an interactive TUI in the terminal (with overview, usage, models, daily, hourly, and other views), as well as JSON output for external visualization. Pricing is calculated in real time based on LiteLLM data, with support for tiered pricing and cached token discounts. It also offers features such as web visualization, task attribution reports, social leaderboards, and public profiles.