junhoyeo/tokscale
🛰️ Track token usage across AI coding agents from your terminal. 🏅 Global leaderboard with trillions of tokens tracked.
What it solves
Tokscale provides a centralized way to monitor and analyze token consumption and costs across a wide variety of AI coding agents and IDEs. It eliminates the need to manually track spending across different tools like Claude Code, Cursor, GitHub Copilot CLI, and others, by aggregating usage data from local logs and databases.
How it works
Tokscale scans local data locations (such as SQLite databases, JSONL files, and cached CSVs) used by various AI coding clients to extract token usage. It integrates with LiteLLM's pricing data to calculate real-time costs, including support for tiered pricing and cache token discounts.
Who it’s for
Developers who use multiple AI coding assistants and want a high-performance CLI tool and visualization dashboard to track their total AI spend and token usage.
Highlights
- Broad Client Support: Supports a massive list of AI agents including Claude Code, Cursor, GitHub Copilot CLI, Zed Agent, and many others.
- Real-time Pricing: Uses LiteLLM's pricing data for accurate cost calculations.
- TUI Dashboard: Includes a terminal user interface for viewing daily summaries, model stats, and usage reports.
- Visualization Frontend: Offers a 3D contributions graph and a social platform for submitting usage data to a leaderboard.
- Sync Commands: Specialized commands to sync data from tools like Trae, Warp, and Antigravity.
Related
- Project
- Project
- Project
- Project
- Project