Skip to main content

Token Spend Report

Panopticon tracks every API call, token, and dollar spent across its AI coding pipeline. This interactive report visualizes that data — from model breakdowns to monthly trajectories to the actual codebase evolution video.

What’s Inside

This published report is a point-in-time snapshot. For live spend while agents and conversations are running, the dashboard’s Cost Tracking page tracks the same SQLite + JSONL event streams in real time — total cost, event count, budget warnings, a 30-day trend chart, and a per-issue breakdown. The report pulls from two data sources:
  • SQLite (~/.panopticon/panopticon.db) — February 2025 through March 2026
  • JSONL (~/.panopticon/costs/events.jsonl) — Canonical from March 31, 2026 onward (includes OpenAI GPT-5.5/5.4)

Key Sections

SectionWhat It Shows
Hero StatsTotal spend, calls, tokens, and commits
Model BreakdownTop 10 models by cost (Claude, GPT, Kimi, MiniMax)
Provider SplitCost distribution across Anthropic, OpenAI, Kimi, MiniMax
Pipeline StagesCost by session type: work, plan, review, test, merge
Monthly TrajectoryBar chart of spend over time (with Jan 2026 incomplete-data warning)
Top Issues by SpendWhich issues consumed the most tokens
Subscription ComparisonWhat pay-per-use would cost vs. actual subscription spend
Cache SavingsTokens and dollars saved from prompt caching
Cost-Reduction FeaturesRTK, Caveman, TLDR — what’s working and what’s not
Codebase TimelapseGource visualization of the entire git history

Beyond Cost: Runtime Metrics

Cost is only half the picture. The dashboard’s Metrics page pairs the spend data above with runtime comparison and performance analytics — useful when deciding which model to route a given role to, since the cheapest model per call isn’t always the cheapest per completed task.

Regenerating the Report

The report is generated by the /token-spend-report skill. To update it:
  1. Run the skill: /token-spend-report
  2. The skill extracts fresh data from SQLite + JSONL
  3. Updates the HTML at docs/token-spend-report/index.html
  4. Optionally regenerates the Gource video
  5. Commits and pushes to GitHub Pages
The skill lives at ~/.claude/skills/token-spend-report/SKILL.md and is synced via pan sync.

GitHub Pages

The report is hosted directly from the repo’s docs/ folder via GitHub Pages:
https://eltmon.github.io/panopticon-cli/token-spend-report/
This is a zero-cost static site that updates automatically on every push to main.

Data Freshness

  • Last updated: 2026-05-25
  • Data through: 2026-05-25
  • Git history through: 2026-05-25 (6,463 commits)
  • Total tracked calls: 734,117
  • Total spend: $54,116