junhoyeo / tokscale
🛰️ Track token usage across AI coding agents from your terminal. 🏅 Global leaderboard with trillions of tokens tracked.
Why this job: says: coding agents, ai coding; topics: claude-code, codex, cursor, opencode, gemini-cli






What it does
- Interactive TUI Mode. Beautiful terminal UI powered by Ratatui (default mode)
- Multi-platform support. Track usage across OpenCode, Claude Code, Codex CLI, Prime Agent, Copilot CLI, Cursor IDE, Gemini CLI, Amp, Codebuff, Droid, OpenClaw, Hermes Agent, Pi, Kimchi Coding, Reasonix, Kimi CLI, Kimi Work, Qwen CLI, Roo Co
- Real-time pricing. Fetches current pricing from LiteLLM with 1-hour disk cache; automatic OpenRouter fallback and Cursor model pricing for newly released models
- Detailed breakdowns. Input, output, cache read/write, and reasoning token tracking
- Native Rust core. All parsing and aggregation done in Rust for 10x faster processing
Get started
make docker/build
# build and tag the frontend image (tokscale:latest)
make up
# start Postgres and the frontend on http://localhost:3333 You need: Node.js or Bun; (Optional) Rust toolchain for building native module from source
- Maintenance
- Active
- Last commit 3 days ago
- Stars
- 5,817
- +26 this week
- Licence
- MIT
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- v4.21.0
- Released 7 days ago
- Built with
- Rust
- 78% of the code
Is it looked after?
- Contributors
- 32
- Last 90 days
- Issues
- 83% closed
- 72 still open
- Pull requests
- 1,055 merged
- 11 waiting
- Releases
- 106
- 30+ in the last year
- Contributing guide (opens in new tab)
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| epilande / ccmux | 240 | 4 days ago | MIT | Mac, Linux |
More: languages, topics and project record
Languages
- Rust 78%
- TypeScript 20%
- Shell 1%
- Python 1%
Topics
- claude
- claude-code
- codex
- cursor
- cursor-ide
- gemini
- gemini-cli
- gpt
- opencode
- opentui
- ai
- ai-agents
Project record
- JobCoding agents
- StatusListed
- Commits2,414
- Forks478
- Watching33
- Stars in 28 days+178
- CreatedDec 1, 2025
- First seen by usNov 7, 2026
- CheckedNov 9, 2026
