v0.4.0 · Windows

See where every Claude Code token goes.

A local, read-only dashboard for Claude Code usage and estimated API cost.

  • Free & open source
  • Local & read-only
  • English / 中文
Real usage from the developer's machine. Project names replaced.

The problem

Raw logs are hard to read.

Scattered across hundreds of files

Each Claude Code session writes its own log file.

Dominated by cache reads

On the developer's machine, cache reads are 98% of all tokens.

No price on a flat plan

A monthly plan does not show the API price of the same usage.

The logs already contain every number required.

Four views turn session logs into a clear account: Overview, Analysis, Sessions and Cost.

  • 13.9 BTokens in 30 days
  • 41,275Requests
  • 98.4%Cache hit rate
  • 34.8×Plan payback

Real data from the developer's machine · last 30 days · as of 2026-11-30 · costs are estimates

01 Overview

Today, this week and this month on one screen.

Nine stat cards, a token timeline and a 26-week heatmap.

Demo
Select a basis

Total: 13.9 B tokens, including cache reads. Fresh: 279 M tokens, excluding cache reads.

Calendar heatmap

One cell per day for 26 weeks. Each day opens its hourly curve and sessions.

Calendar heatmap of daily usage over 26 weeks
Live

Live refresh

New records appear within 10 seconds.

Overview page in the light theme
Overview page in the dark theme

Light and dark themes

Follows the system setting or switches manually.

Totals show the volume. The breakdown shows where it goes.

02 Analysis

Every token, broken down.

Token types, models, cache and active hours for any project and range.

  1. 1

    Token types

    Cache read, cache write, input and output, with the thinking share of output.

    Analysis page with the token types card
  2. 2

    Model ranking

    Usage and cost per model, by raw name or merged by family.

    Analysis page with the model ranking card
  3. 3

    Cache efficiency

    Hit-rate trend and the write-to-read ratio.

    Analysis page with the cache efficiency card
  4. 4

    Active hours

    Usage by weekday and hour.

    Analysis page with the active hours heatmap

More breakdowns

Tool rankingTool names and call counts only
Projects and sub-agentsShare by project, by agent and by model location
Top 10 sessionsThe largest sessions in the range

Patterns lead back to individual sessions.

03 Sessions

Every session, measured on its own.

Sortable and searchable, with requests, duration, tokens and estimated cost.

Sessions table sorted by total tokens
Session details with tokens per request, context growth, token types and tool use

Open a session

Tokens per request, context growth and tool use.

View details

Search and sort

Search by title, project or ID.

Context growth

Context size by turn, with compactions marked.

Export menu with grouping and format options

Export

CSV, JSON or a full-page JPG. Session titles are never exported.

Every session also carries a price.

04 Cost

Usage, priced in dollars.

API-equivalent cost at official prices, compared with the plan fee.

Plan payback

Demo

Based on the developer's API-equivalent cost for the last 30 days: $3,452.86.

Plan fee, same 30 days
$99.35
Payback multiple
34.8×

Estimates only. Unpriced models are excluded. Calculated from local logs at official API prices. Not a bill.

Two cost bases: API-equivalent and plan-prorated
Two cost bases: API-equivalent and plan-prorated
Daily API-equivalent cost against the daily plan fee
Daily API-equivalent cost against the daily plan fee

Two cost bases

API-equivalent cost, or the plan fee prorated by project and session.

Editable prices

Official prices checked on 2026-11-10, editable in Settings.

Estimates only

Not a bill. Plan quota usage cannot be calculated.

All of it is computed on this machine.

Privacy

Local and read-only.

Session logs stay on this machine. Nothing is uploaded.

~/.claude/projectsSession logs (JSONL)
Token VisualizerRead-only
This screen
InternetNo outbound connections

Read-only

Never writes to ~/.claude. Settings and cache live in a separate folder.

How it is verified

An automated audit hashes every file in the data folder before and after a run. All hashes must match.

No conversation content

Only usage and metadata fields are read. Session titles are never exported.

How it is verified

Automated tests search every API response and export for marker text planted in test conversations.

No network

Listens on 127.0.0.1 only. Fonts and icons are bundled.

How it is verified

The audit records every connection and DNS lookup. Non-local connections must be zero.

Installation takes three steps.

Get started

Ready in three steps.

  1. Download

    Get the installer or the portable build from GitHub Releases.

  2. Run

    If SmartScreen shows "Unknown publisher", select "More info", then "Run anyway".

  3. Choose a language and plan

    Session logs are read from %USERPROFILE%\.claude\projects automatically.

    First-run dialog with language and plan selection

FAQ

Is any data uploaded?

No. The app makes no outbound network requests and listens on 127.0.0.1 only.

Does it modify Claude Code files?

No. It only reads ~/.claude/projects. Its settings and cache are stored in %APPDATA%\TokenVisualizer.

Is the cost a bill?

No. Costs are estimates at official API prices checked on 2026-11-10. Prices can be edited in Settings.

Can it show how much of the plan quota is used?

No. Anthropic does not publish token quotas, and local logs contain no quota data.

Why are the totals so large?

Total includes cache reads, which make up most of the volume. Fresh excludes them.

Why is a model marked "unpriced"?

Built-in prices do not include Haiku 5.5 or Mythos. Add a price rule in Settings.

Is usage from claude.ai or other devices included?

No. Only usage recorded on this machine is counted.

Why does Windows show "Unknown publisher"?

The installers are not code-signed. Release notes list SHA-256 checksums, and the app can be built from source.

Free and open source.

MIT licensed. Tested on Windows 11.

Get it on GitHub