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
Tokscale helps developers track and understand their token usage and associated costs across various AI coding agents like OpenCode, Claude Code, and Cursor. It takes your local usage data from these AI tools and provides real-time pricing calculations, daily summaries, and historical statistics. This tool is for individual developers or small teams who use multiple AI coding assistants and want to monitor their 'AI energy' consumption.
1,121 stars. Actively maintained with 79 commits in the last 30 days.
Use this if you are a software developer who uses several AI coding assistants and needs a clear overview of your token consumption and spending.
Not ideal if you primarily use AI tools that are not listed as supported or if you are an enterprise needing centralized billing and usage tracking for large teams.
Stars
1,121
Forks
79
Language
Rust
License
MIT
Category
Last pushed
Mar 13, 2026
Commits (30d)
79
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
shakestzd/htmlgraph
Local-first observability and coordination platform for AI-assisted development
patoles/agent-flow
Real-time visualization of Claude Code agent orchestration — see your agents think, branch, and...
homanp/infinite-monitor
Monitor anything in real time
Postmodum37/ocwatch
Real-time web dashboard for monitoring OpenCode agent activity — built for oh-my-opencode
Yesterday-AI/paperclip-plugin-company-wizard
Bootstrap AI agent companies from modular templates.