Skip to content

Reports and Visuals

TokenPilot provides built-in reporting and a visual inspector so you can see exactly what it's doing.

The Report Command

The report command shows a summary of token usage, cache efficiency, and cost savings for the current session:

bash
# Standalone CLI
lightmem2 report

# Per-host
lightmem2 openclaw report
lightmem2 codex report
lightmem2 claude-code report

# Inside OpenClaw
/lightmem2 report

What Each Metric Means

MetricDescription
Input tokensTotal tokens sent to the model (lower is better)
Cache readTokens served from the model API cache (higher is better)
Cache missTokens that had to be recomputed (lower is better)
Output tokensTokens generated by the model
CostEstimated API cost in USD
Cache hit ratePercentage of input tokens served from cache

Visual Inspector

The visual inspector is a browser-based dashboard showing real-time TokenPilot behavior:

bash
lightmem2 visual

This opens your default browser with three views: stabilizer, reduction, and eviction.

Next

Released under the MIT License.