Tracker

Track your AI usage from the terminal.

Tokscale reads the session logs your coding agents already keep and shows tokens, models, and estimated cost on your machine. Submit when you want a public profile.

bunx tokscale@latest
The Tokscale terminal UI, Overview view: tokens per day by model, and every model ranked by estimated cost.
  • 2,457 people on the leaderboard
  • 130.7T tokens, all time
  • 62 agents supported

How It Works

From your logs to your profile.

Tokscale runs on your machine. Only counts cross to tokscale.ai, and only when you submit.

Your Machine

Your agents' logs

The session logs your coding agents already keep on your disk: Claude Code, Codex CLI, Cursor and 59 more.

Tokscale, locally

Opens a terminal dashboard of your usage across agents, models, days, and sessions. Your usage data stays on your machine.

bunx tokscale@latest

tokscale submitsends counts, never content

tokscale.ai · Public

Your public profile

Sign in with GitHub once, then submit, or let your scheduler submit every 24 hours. Add --dry-run to preview the payload first. Your profile lives at tokscale.ai/u/your-username.

tokscale logintokscale submittokscale autosubmit enable

Terminal UI

Your usage, in your terminal.

Six of its views. In the app, switch views with the arrow keys or Tab.

Tokens per day by model, and every model ranked by estimated cost.

Tokscale terminal UI, Overview view. Tokens per day by model, and every model ranked by estimated cost.

Supported Agents

Works with the agents you already use.

Tokscale reads local logs from 62 coding agents and AI clients.

  • Claude Code
  • Codex CLI
  • Cursor
  • Gemini CLI
  • OpenCode
  • Copilot
  • Amp
  • Droid
  • Cline
  • Roo Code
  • Kilo
  • Zed Agent
  • Goose
  • Kimi
  • Qwen
  • Warp
  • 9Router
  • Antigravity
  • Antigravity CLI
  • Antigravity IDE Extension
  • Aside
  • Augment Code
  • BB
  • Cherry Studio
  • CodeBuddy
  • Codebuff
  • Command Code
  • Crush
  • DeepSeek Harness
  • Devin CLI
  • Devin Desktop
  • Freebuff
  • Fx
  • Gajae Code
  • Grok Build
  • Hermes Agent
  • Hindsight
  • Jcode
  • Junie
  • Kimchi
  • Kiro
  • LM Studio
  • MiMo Code
  • MiniMax Code
  • Mistral Vibe
  • Muse Code
  • Mux
  • Oh My Pi
  • OpenClaw
  • OpenCodeReview
  • Pi
  • Prime Agent
  • Proma
  • Qoder
  • Reasonix
  • Senpi (OmO Native)
  • Synthetic
  • Trae
  • Unsloth
  • WorkBuddy
  • Xiaomi MiMo AI
  • ZCode

Your Data

Counts leave your machine. Content does not.

What tokscale submit sends

  • Daily token counts per client and model: input, output, cache, and reasoning
  • Estimated cost, from public list prices
  • Message counts and session timing, never message content
  • The names of MCP servers configured in your clients
  • Your CLI version and a device label

What it never sends

  • Prompts, responses, or any conversation content
  • Source code, file contents, or file names
  • API keys or provider credentials

Your controls

  • Inspect an export in your browser with the local viewer. Nothing is uploaded.
  • Delete submitted data or your whole account in Settings.
  • The CLI is MIT licensed and the web app is AGPL-3.0. Read the source or self-host with Docker Compose.

Full details are in the privacy policy.

FAQ

Questions

Do I need an account to use Tokscale?

No. The terminal UI runs on your machine and reads local files. You only sign in with GitHub when you want to submit usage to a public profile.

Does Tokscale read my prompts or code?

It reads your agents' local session files to count tokens, but it never sends prompts, responses, code, file names, or API keys. Run tokscale submit --dry-run to see exactly what a submission contains.

How is cost estimated?

Tokscale multiplies token counts by public list prices from LiteLLM, with OpenRouter as a fallback. It is an estimate. Subscriptions, discounts, and free tiers are not reflected.

Can I keep my profile up to date automatically?

Yes. tokscale autosubmit enable schedules the normal submit with your operating system scheduler, every 24 hours by default. Pass --interval to change it, and tokscale autosubmit disable to remove it.

How do I remove my data?

Open Settings on tokscale.ai. You can delete your submitted data and keep the account, or delete the account and everything linked to it. Both take effect immediately.

Start with one command.

No account needed to look at your own usage.

bunx tokscale@latest
See who else is building