See what your Claude Code consumes and spends.
A menu-bar dashboard tracking token usage and cost by model — daily, weekly, monthly — plus MCP and Skill call counts. Read-only, zero intrusion.
Daily, weekly, monthly token usage breakdowns.
Stats by model share, plus MCP and Skill call counts. Spot which models burn the most and which tools you actually use.
Cost by model
Tools you actually use
~/.claude/skills/ directory.Token usage heatmap
Cache changes everything
Read-only by design — no telemetry, no API key.
Tokenscope reads the JSONL request logs your Claude Code already writes to disk. No uploads. No API keys. No calls to Anthropic. Nothing leaves your computer. No security or privacy concerns, and no usage data is ever tracked or analyzed.
Read
Scans ~/.claude/projects/**/*.jsonl for every assistant message, its usage, model, and tool calls.
Dedupe
Collapses streaming retries by message.id and merges multi-line messages, so each turn is counted exactly once.
Price
Matches models.dev first, then LiteLLM, then a built-in snapshot. Cached for 24 hours with an offline fallback.
Show
Renders today's usage in the menu bar and the full dashboard a click away, auto-refreshed every 30s in the background, with right-click to refresh on demand.
How your Claude Code token cost is calculated.
Each JSONL request logs token usage. Tokenscope rolls it up per session, multiplies each type by its own rate, and sums the four to get the request's total cost.
// claude-sonnet-4-6 · one coding session tokens: { input_tokens : 88,000 cache_creation_input_tokens: 1,120,000 cache_read_input_tokens : 2,400,000 output_tokens : 320,000 }
Notice that 2.4M cache-read tokens cost just $0.72. while 0.32M output tokens cost $4.80, over six times more on far fewer tokens. Cost is summed from each model's per-type input/output rates — for reference only; your actual bill is authoritative.
Install on macOS or Windows.
On macOS, one line of Homebrew clears the quarantine flag for you, so it's ready to use right away. On Windows, download the installer and run it. Either way, it starts in your menu bar on every boot.
Unsigned build — on first launch click More info → Run anyway to clear SmartScreen.
Prefer a direct download on macOS? Grab the universal .dmg from GitHub Releases. It is an unsigned build, so on first launch right-click and choose Open, or run xattr -cr /Applications/Tokenscope.app once in the terminal.
Frequently asked.
The questions that come up before someone chooses Tokenscope.
~/.claude/projects/, prices them against a locally cached snapshot of models.dev / LiteLLM, and renders the statistics in your dashboard. No telemetry, no account, no API key..dmg download, right-click → Open the first time, or run xattr -cr /Applications/Tokenscope.app and then open it. On Windows, the .exe installer is unsigned, so on first launch click More info → Run anyway to clear SmartScreen.npx ccusage and you get a one-shot summary in the shell. Tokenscope reads the same logs and uses the same models.dev / LiteLLM rate tables, but as a menu-bar GUI: today's token cost is always visible, the panel adds bar charts, a donut chart, and a heatmap. Reach for ccusage when you want a scriptable terminal command; reach for Tokenscope when you want to visualize usage anytime.mtime moved. Idle CPU is essentially zero; memory holds steady around 40MB. Refreshing the panel is just a single pass over the new JSONL bytes since the last read. Performance is excellent.Reviews from developers tracking their Claude Code cost.
A few notes from developers who installed Tokenscope and kept it.
Genuinely fun to use - every time your usage ticks past another 100M tokens, Tokenscope sets off this little fireworks animation 🎉. Weirdly satisfying, and it actually makes you feel like you've accomplished something.
alifeiliuFull-stack (Frontend) EngineerThe token count is spot-on. I ran Tokenscope against GLM-5.2 for a while and cross-checked with the Coding-Plan dashboard - the two lined right up. The dollar figure is an estimate, of course.
alifeiliuFull-stack (Frontend) EngineerOne thing Tokenscope is great for: seeing how many tokens you actually get out of the various Coding-Plan and subscription tiers within a refresh window. Zhipu Lite's 5h Coding-Plan comes to about 20M; ByteDance Volcano Ark's Pro 5h plan, roughly 70M.
alifeiliuFull-stack (Frontend) EngineerTokenscope's Tokens/Cost by Model view makes it dead easy to compare how pricey different models are. Same token usage, GLM-5.2 runs about a seventh of what Claude-Opus-4-8 costs.
alifeiliuFull-stack (Frontend) EngineerTokenscope gives you daily, weekly, and monthly breakdowns - the weekly and monthly views even reveal your own AI-usage habits and patterns, which is pretty cool. Plus there's a GitHub-style commit heatmap that shows the full picture of how much you've poured into AI.
alifeiliuFull-stack (Frontend) EngineerTokenscope's screenshot feature is really handy too - easy to share straight to your socials, so everyone can compare notes and show off their 'report cards'.
alifeiliuFull-stack (Frontend) EngineerGenuinely fun to use - every time your usage ticks past another 100M tokens, Tokenscope sets off this little fireworks animation 🎉. Weirdly satisfying, and it actually makes you feel like you've accomplished something.
alifeiliuFull-stack (Frontend) EngineerThe token count is spot-on. I ran Tokenscope against GLM-5.2 for a while and cross-checked with the Coding-Plan dashboard - the two lined right up. The dollar figure is an estimate, of course.
alifeiliuFull-stack (Frontend) EngineerOne thing Tokenscope is great for: seeing how many tokens you actually get out of the various Coding-Plan and subscription tiers within a refresh window. Zhipu Lite's 5h Coding-Plan comes to about 20M; ByteDance Volcano Ark's Pro 5h plan, roughly 70M.
alifeiliuFull-stack (Frontend) EngineerTokenscope's Tokens/Cost by Model view makes it dead easy to compare how pricey different models are. Same token usage, GLM-5.2 runs about a seventh of what Claude-Opus-4-8 costs.
alifeiliuFull-stack (Frontend) EngineerTokenscope gives you daily, weekly, and monthly breakdowns - the weekly and monthly views even reveal your own AI-usage habits and patterns, which is pretty cool. Plus there's a GitHub-style commit heatmap that shows the full picture of how much you've poured into AI.
alifeiliuFull-stack (Frontend) EngineerTokenscope's screenshot feature is really handy too - easy to share straight to your socials, so everyone can compare notes and show off their 'report cards'.
alifeiliuFull-stack (Frontend) Engineer