tokscale

🛰️ Track token usage across AI coding agents from your terminal. 🏅 Global leaderboard with trillions of tokens tracked.

What is tokscale?

🛰️ Track token usage across AI coding agents from your terminal. 🏅 Global leaderboard with trillions of tokens tracked.

Overview of tokscale

What it is

Tokscale is a high-performance CLI tool and visualization dashboard for tracking token usage and costs across multiple AI coding agents. It is open-source under the MIT license.

Key features

  • Tracks token consumption from over 30 AI coding agents, including OpenCode, Claude Code, Codex CLI, GitHub Copilot CLI, Gemini CLI, Cursor IDE, and many others.
  • Provides a global leaderboard that tracks trillions of tokens.
  • Offers a terminal-based interface for monitoring and analyzing usage data.
  • Includes a visualization dashboard with daily summaries, session details, hourly stats, and a 3D contributions graph.
  • Supports submitting usage data to a public leaderboard to create a public profile.
  • Reads data from local storage locations specific to each agent, such as SQLite databases, JSONL files, and cache directories.

Use cases

  • Developers using multiple AI coding agents who want to monitor their total token consumption and costs.
  • Teams or individuals who want to compare their token usage against a global leaderboard.
  • Users who need to analyze token usage patterns over time, including daily, hourly, and per-session breakdowns.
  • Anyone interested in tracking the efficiency and cost of AI-assisted coding workflows.

Getting started

bunx tokscale@latest submitTo submit usage data to the leaderboard and create a public profile, run the command above. For detailed installation and usage instructions, see the repository README.

License and pricing

Tokscale is licensed under the MIT License. It is open-source and free to use.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/junhoyeotokscale.svg)](https://yunodb.com/tools/junhoyeotokscale?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/junhoyeotokscale?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/junhoyeotokscale.svg" alt="Featured on YunoDB" height="20"></a>