Skip to content
The Daily Repo

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 4 days ago
Stars
5,819
+26 this week
Licence
MIT
Allows business use
Downloads for
None listed
No release files
Latest version
v4.21.0
Released 8 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

Similar repos

Repos similar to this one
RepoStarsLast commitLicenceDownloads for
epilande / ccmux2405 days agoMITMac, Linux
AIAgentAndy / DeepAA10918 days agoMITNo downloads
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+175
  • CreatedDec 1, 2025
  • First seen by usNov 7, 2026
  • CheckedNov 10, 2026

Type to search.

Try