# Tokscale

A CLI tool and visualization dashboard that tracks token usage and cost across many AI coding agents from the terminal, with an optional public leaderboard.

Tokscale reads local session data from tools such as OpenCode, Claude Code, OpenClaw, Codex CLI, Prime Agent, GitHub Copilot CLI, Hermes Agent, Gemini CLI, Cursor IDE, Amp (AmpCode), Codebuff and others, to compute usage and cost per client and model.

It presents a daily summary and stats, a 3D contributions-graph frontend, and a yearly 'Wrapped' summary. Running `bunx tokscale@latest submit` uploads a user's usage data to a public leaderboard and creates a public profile.

It is written in Rust and licensed under MIT.

Website: https://tokscale.ai
