# junhoyeo/tokscale

> A CLI tool for tracking token usage from OpenCode, Claude Code, 🦞OpenClaw, Pi, Codex, Gemini, Cursor, AmpCode, Factory Droid

Navigation: [Artificial Intelligence](category/artificial-intelligence.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/junhoyeo/tokscale
- HTML: https://awesomeopensource.dev/project/junhoyeo-tokscale
- Website: https://tokscale.ai
- License: MIT
- Language: Rust
- stars: 5840
- Topics: ai, ai-agents, ampcode, claude, claude-code, clawdbot, codex, cursor, cursor-ide, droid, gemini, gemini-cli, gpt, hermes, moltbot, oh, openclaw, opencode, opentui, token-usage
- Activity score: 5.0/5 (Thriving)
- Last commit (any branch): 2026-11-12
- Last release: v4.22.0 2026-11-11

## Description

Tokscale is a command-line tracker and dashboard for token usage and cost across AI coding agents. It reads local session data from OpenCode, Claude Code, Codex, Cursor, Gemini CLI and dozens of other clients, prices usage with LiteLLM data, and breaks it down by model, session, workspace and machine in an interactive terminal UI or JSON export. A Rust core handles parsing and aggregation, and an optional leaderboard publishes public profiles.

## Maintenance activity

- Recency: 100% (weight 40%) — last commit: 0 days ago
- Commit volume: 100% (weight 25%)
- Releases: 100% (weight 25%) — last release: 0 days ago
- Bug fixes: 100% (weight 10%)
- Commits: 408 / 90d, 2440 / 365d

## Screenshots

- [Screenshot of the tokscale terminal UI showing token usage overview and daily totals](https://awesomeopensource.dev/uploads/27/ff4bedd7c0efa05c.png)
- [Screenshot of the tokscale terminal UI showing per-model token usage and cost breakdown](https://awesomeopensource.dev/uploads/27/113a48090800188b.png)

## Similar projects

- [openclaw/openclaw](openclaw-openclaw.md): Open-source AI assistant that lives on your own hardware and in your chat apps · Activity score 5.0/5 (Thriving)
- [n8n-io/n8n](n8n-io-n8n.md): Fair-code workflow automation with a visual canvas, custom code and 1500+ integrations · Activity score 5.0/5 (Thriving)
- [langgenius/dify](langgenius-dify.md): Visual platform for building LLM apps with RAG pipelines, agents and model integrations · Activity score 5.0/5 (Thriving)
- [open-webui/open-webui](open-webui-open-webui.md): Self-hosted web UI for chatting with Ollama and OpenAI-compatible models offline · Activity score 5.0/5 (Thriving)
- [langchain-ai/langchain](langchain-ai-langchain.md): Python framework for building agents and LLM applications from composable components · Activity score 5.0/5 (Thriving)
- [paperclipai/paperclip](paperclipai-paperclip.md): Manage a team of AI agents with goals, budgets and task tracking · Activity score 5.0/5 (Thriving)
