← all repositories
junhoyeo/tokscale

The Kardashev scale for your AI coding agent addiction

It aggregates token usage and costs from two dozen AI coding agents into a single Rust TUI and leaderboard.

tokscale
Velocity · 7d
+8.9
★ / day
Trend
cooling
star history

What it does

Tokscale is a Rust-based CLI tool that reads local data files from a sprawling list of AI coding assistants—Claude Code, Cursor, Gemini CLI, Codex, and roughly twenty others—to tally your token consumption and estimated costs. It presents the results in a native TUI with daily summaries, per-model breakdowns, and stats, and can upload your totals to a global leaderboard at tokscale.ai. Pricing is calculated using LiteLLM’s live data, including tiered rates and cache discounts.

The interesting bit

The project frames token burn as a Kardashev-scale civilization metric, which is either delightfully nerdy or a red flag about your API bill. The real work isn’t the math; it’s the forensic archaeology of parsing two dozen different local databases, JSON logs, and proprietary session formats without official APIs. A Wrapped 2025 feature turns your annual usage into shareable infographics, because of course it does.

Key highlights

  • Supports ~25 clients, from mainstream (Cursor, Claude Code, Copilot) to niche (OpenClaw, Pi, Kiro, Crush).
  • Native Rust TUI with overview, model breakdowns, daily summaries, and stats views.
  • Real-time cost estimates via LiteLLM pricing, including cache discounts and tiered models.
  • Optional social leaderboard and 3D contributions graph at tokscale.ai.
  • Wrapped 2025 generates a personal annual report of your agent usage.

Caveats

  • Several clients—Cursor, Trae, Antigravity, and Warp/Oz—require explicit sync steps or API exports rather than reading native local databases directly.
  • Zed Agent tracking is limited to hosted models only; external ACP agents are excluded.
  • Warp/Oz integration provides aggregate spend and requests, but not per-token transcripts.

Verdict

Grab this if you bill clients by the token, suffer from AI tool FOMO, or want proof that yes, you really did burn through a galaxy’s worth of energy last Tuesday. Skip it if you only use one agent and already know your bill by heart.

Frequently asked

What is junhoyeo/tokscale?
It aggregates token usage and costs from two dozen AI coding agents into a single Rust TUI and leaderboard.
Is tokscale open source?
Yes — junhoyeo/tokscale is open source, released under the MIT license.
What language is tokscale written in?
junhoyeo/tokscale is primarily written in Rust.
How popular is tokscale?
junhoyeo/tokscale has 4.5k stars on GitHub and is currently cooling off.
Where can I find tokscale?
junhoyeo/tokscale is on GitHub at https://github.com/junhoyeo/tokscale.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.