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
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.
Stars
1,121
Forks
79
Language
Rust
License
MIT
Category
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.
Related agents
Postmodum37/ocwatch
Real-time web dashboard for monitoring OpenCode agent activity — built for oh-my-opencode
patoles/agent-flow
Real-time visualization of Claude Code agent orchestration — see your agents think, branch, and...
shakestzd/htmlgraph
Local-first observability and coordination platform for AI-assisted development
AndrewKochulab/jarvis-dashboard
A modular, fully configurable DataviewJS dashboard for Obsidian — monitor Claude Code sessions...
homanp/infinite-monitor
Monitor anything in real time