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

62
/ 100
Established

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.

AI-assisted development developer productivity cost management LLM usage tracking software engineering
No Package No Dependents
Maintenance 22 / 25
Adoption 10 / 25
Maturity 13 / 25
Community 17 / 25

How are scores calculated?

Stars

1,121

Forks

79

Language

Rust

License

MIT

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.