junhoyeo

    junhoyeo/tokscale

    ๐Ÿ›ฐ๏ธ Track token usage across AI coding agents from your terminal. ๐Ÿ… Global leaderboard with trillions of tokens tracked.

    ai
    ai-agents
    ampcode
    claude
    claude-code
    clawdbot
    codex
    Rust
    MIT
    5.8K stars
    478 forks
    5.8K GitHub watchers
    Updated Nov 4, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 2 days ago, with 179 contributors on GitHub.

    The biggest single-day gain in the last year, +121 stars on Jul 10, coincided with release v4.4.1.

    Use Cases & Benefits

    • Tracks and visualizes token usage and costs across multiple AI coding agents via a high-performance CLI and dashboard.
    • Provides real-time pricing and multi-platform aggregation with a native Rust core for fast processing and detailed token breakdowns.
    • Use for monitoring token consumption and cost optimization across AI coding tools like OpenCode, Claude, Codex, and Cursor IDE.
    • Use for generating yearly usage summaries and social leaderboards to compare AI token usage with other developers.
    • Use for integrating token tracking into CI/CD pipelines by capturing headless Codex CLI outputs for automated reporting.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    A high-performance CLI tool and visualization dashboard for tracking token usage and costs across multiple AI coding agents.

    Run bunx tokscale@latest submit to submit your usage data to the leaderboard and create your public profile!

    Tokscale helps you monitor and analyze your token consumption from:

    Get real-time pricing calculations using ๐Ÿš… LiteLLM's pricing data, with support for tiered pricing models and cache token discounts.

    This project is inspired by the Kardashev scale, a method proposed by astrophysicist Nikolai Kardashev to measure a civilization's level of technological advancement based on its energy consumption. A Type I civilization harnesses all energy available on its planet, Type II captures the entire output of its star, and Type III commands the energy of an entire galaxy.

    In the age of AI-assisted development, tokens are the new energy. They power our reasoning, fuel our productivity, and drive our creative output. Just as the Kardashev scale tracks energy consumption at cosmic scales, Tokscale measures your token consumption as you scale the ranks of AI-augmented development. Whether you're a casual user or burning through millions of tokens daily, Tokscale helps you visualize your journey up the scaleโ€”from planetary developer to galactic code architect.

    Excerpt from the junhoyeo/tokscale README on GitHub (MIT license). ยฉ its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    478+76

    Open issues

    73+10

    Compared with peers in AI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    junhoyeo/tokscale compared with AI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    thedotmack/claude-mem113.6K+8.8K35today
    D4Vinci/Scrapling98.1K+6.9K651 day ago
    Leonxlnx/taste-skill110.7K+5.2K551 day ago
    calesthio/OpenMontage77.2K+4.2K40โ€”
    heygen-com/hyperframes79.6K+4.1K45today
    junhoyeo/tokscale5.8Kโ€”602 days ago
    Category median98.1K+5.2K45โ€”

    Discover Repositories

    Search across tracked repositories by name or description