junhoyeo/tokscale

🛰️ A CLI tool for tracking token usage from OpenCode, Claude Code, 🦞OpenClaw (Clawdbot/Moltbot), Pi, Codex, Gemini, Cursor, AmpCode, Factory Droid, Kimi, and more! • 🏅Global Leaderboard + 2D/3D Contributions Graph

61
/ 100
Established

Aggregates token usage data from 14+ AI coding agents by parsing local filesystem storage (SQLite databases, JSON files, and API caches) and calculates real-time costs using LiteLLM's pricing tables with support for tiered rates and cache token discounts. Built with native Rust for the TUI and cross-platform CLI, it syncs anonymized usage metrics to a backend leaderboard while maintaining local data privacy through opt-in submission. The dashboard provides real-time visualization of consumption patterns, model breakdowns, and historical trends across all integrated agents.

1,121 stars. Actively maintained with 132 commits in the last 30 days.

No Package No Dependents
Maintenance 25 / 25
Adoption 10 / 25
Maturity 9 / 25
Community 17 / 25

How are scores calculated?

Stars

1,121

Forks

79

Language

Rust

License

MIT

Last pushed

Mar 13, 2026

Commits (30d)

132

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/junhoyeo/tokscale"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.