Token Lens for Claude

Token economics, right on your deck.

Token Lens reads local Claude Code transcripts and displays recorded tokens, cache activity and estimated API cost on eight key views and eight dial views.

  • Windows & macOS
  • No API key of its own
  • Stream Deck 6.9+
  • Setup
Sample data

Eight ways to see your session.

Pick the view that fits your workflow. Switch any time from the Property Inspector.

Sample data
  • Cache Status
  • Tokens
  • Burn Rate
  • Output Velocity
  • Web Tools
  • Subagent calls
  • Cache Hit Rate
  • Context Window

Eight views on one scroll wheel.

Rotate to cycle, push to reset session counters, touch to step forward.

Overview

Recorded session title, estimated API cost and call count.

Tokens

Input, output, and cache token breakdown for the session.

Cache

Cache hit rate and read/write token split.

Cost

Accumulated API-cost estimate with input/output breakdown. This is not an invoice or subscription balance.

Activity

API call count and last-call timestamp.

Tools

Web searches, fetches, and total tool operations.

Velocity

Output tokens per second: how fast the model responded.

Context Window

Estimated context usage for the selected project, based on recorded tokens and a built-in model table.

Reads local files. Nothing leaves your machine.

Token Lens watches ~/.claude/projects directly. No API key, no proxy server, no env vars.

Ready in three steps.

Claude Code must produce local transcripts. For the current Stream Deck app, use Windows 11 on Intel/AMD or macOS 13 or later; the plugin requires Stream Deck 6.9+.

  1. Install Token Lens from the Elgato Marketplace.

  2. Drag Token Lens Key or Token Lens Dial onto your deck.

  3. Choose a specific project for Context Window.

Questions about the numbers.

Still have a question? Get in touch

What does Token Lens for Claude do?

It reads local Claude Code transcripts from ~/.claude/projects and shows recorded tokens, cache activity, estimated API costs, velocity and sidechain calls. It needs no API key of its own. Costs and savings use built-in rates, not billing or subscription usage.

Does Token Lens require an API key or internet connection?

No. Token Lens reads local ~/.claude/projects transcript files only. No API key, no proxy, no environment variables, and no data leaves your machine.

Which Stream Deck models does Token Lens support?

The Key action works on any Stream Deck model. The Dial action requires a Stream Deck+ for the encoder hardware. Both run on Windows and macOS.

Get the numbers on your deck.

Available on the Elgato Marketplace for Windows and macOS. Check the listing for current pricing.

Illustration with no connected Claude session. Costs are estimates from built-in API rates, not billing or subscription limits.

Every view in detail

Key views

Cache Status
HIT or MISS on the last recorded call, plus estimated API cost. Green on a hit, amber on a miss.
Tokens
Input vs output token totals for the session, at a glance. Indigo accent.
Burn Rate
Estimated API cost per elapsed minute and accumulated estimated cost, using the plugin’s built-in rates.
Output Velocity
Smoothed output tokens per second across recent calls. A quick read on model responsiveness.
Web Tools
Total web searches and fetches in the session. Useful for tool-heavy workflows.
Subagent calls
Calls marked as sidechain in the transcript, plus their share of recorded calls. This is not token share or a count of distinct agents.
Cache Hit Rate
Session-wide cache hit rate as a percentage. See how consistently your prompts reuse cache.
Context Window
An estimate from the last recorded input-token usage and the plugin’s model-window table. Select a project; this does not predict automatic compaction.

Dial views

Overview
Recorded session title, estimated API cost and call count.
Tokens
Input, output, and cache token breakdown for the session.
Cache
Cache hit rate and read/write token split.
Cost
Accumulated API-cost estimate with input/output breakdown. This is not an invoice or subscription balance.
Activity
API call count and last-call timestamp.
Tools
Web searches, fetches, and total tool operations.
Velocity
Output tokens per second: how fast the model responded.
Context Window
Estimated context usage for the selected project, based on recorded tokens and a built-in model table.