← All projects
Add-ons for AI coding tools

Tokscale

Tracks how many tokens and how much money you spend across AI coding assistants, with charts.

New this week

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

  1. Open a terminal on the computer where you use your AI coding tools.
  2. Run Tokscale to see your usage summaries.
  3. 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