What it does
Tokscale is a command-line tool and dashboard that adds up your token use (the units AI services charge by) and costs across many AI coding assistants. These include Claude Code, Codex, OpenCode, Gemini CLI and GitHub Copilot.
It reads the usage records these tools keep on your computer and shows daily, hourly and per-model summaries.
There is also an optional public leaderboard; you can choose to submit your usage data to it.
Who it's for
People who use several AI coding tools and want to watch their usage and spending.
Can I use it without coding?
With some setup. You run it from the terminal. New to this? Start here.
Can I run it?
- Cost
- FreeNothing to pay or sign up for.
- Computer
- An ordinary computer is fine
- Privacy
- Your choice: run it on your device or use an online service
- API key
- Not needed
Try it
- Open a terminal on the computer where you use your AI coding tools.
- Run Tokscale to see your usage summaries.
- Only submit to the public leaderboard if you want your usage shared.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page. Copies with similar names exist for many popular projects.
- License (MIT): Very permissive: free to use, change and share, including for business.
- More on staying safe