惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
爱范儿
爱范儿
J
Java Code Geeks
L
LangChain Blog
V
V2EX
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
博客园 - Franky
Microsoft Azure Blog
Microsoft Azure Blog
Jina AI
Jina AI
Blog — PlanetScale
Blog — PlanetScale
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
博客园 - 司徒正美
B
Blog
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
罗磊的独立博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Apple Machine Learning Research
Apple Machine Learning Research
Engineering at Meta
Engineering at Meta
MyScale Blog
MyScale Blog
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog

Show HN

Show HN: AI agents for UK GDAD PCF roles and their skills The Two Pillars: Mixer Mode and Meta-Software in the Reorganization of Software Work After AI GitHub - JaiCode08/teleport-env What 1,000+ Harness Experiments Taught Me About Self-Improving Agents Show HN: Liiists, a Markdown-first, iOS and CLI list app SwiperTab – Get this Extension for 🦊 Firefox (en-US) GitHub - kouhxp/fftext: Summarize, explain, fact-check, or translate any text, URL, or file. No GPU. No cloud. One command GitHub - sweetpad-dev/sweetpad: Develop Swift/iOS projects using VSCode GitHub - dogmaticdev/IRON: IRON a.k.a. Intermediate Representation Object Notation is a Interpreter/Database that is used to create Programming Languages. GitHub - sjhalani7/vaen: Package your AI coding harness into a portable .agent file, and share it across repos, teams, & the community without ever having to copy-paste instructions, skills, MCP config, or secrets. Show HN: Gandalf the Grader Show HN: Citadeld – replay any CI failure locally from a single file GitHub - tdortman/cuSBF: High-Performance GPU Super Bloom Filter coral-ai/claude-code-token-xray at main · Coral-Bricks-AI/coral-ai GitHub - ulyssestenn/funes: Funes is a Git-based framework for LLM-managed knowledge work: an AI Librarian ingests raw sources, builds an interlinked Markdown knowledge base, and uses it to produce cited reports, analyses, and other outputs. GitHub - ThatXliner/gah: Git Add Hunk, built for agents to use GitHub - harmont-dev/harmont-cli: Command-line client for the Harmont CI platform GitHub - brooksmcmillin/mcp-authflow: OAuth 2.0 Authorization Server framework for MCP servers GitHub - javaid-codes/audit-supply-chain-agents GitHub - amorey/gochan: A small library of common channel architectures for Go, inspired by Rust GitHub - arifozgun/OpenGem: Free, Open-Source AI API Gateway with Gemini, OpenAI & Anthropic Compatibility in 1 file GitHub - Pranesh950/BioPetals: 🌸 Run BIOxAI models at home, BitTorrent-style. Fine-tuning and inference up to 10x faster than offloading GitHub - cnguyen14/bounty-doctor: Diagnose a GitHub bounty issue before you waste hours: detects honeypot scam repos, AI-bot attempt swarms, and stale contests. Show HN: CoreMCP – MCP Server for On-Prem DBs Show HN: KittyHTML – Render HTML/CSS as an inline image in your terminal GitHub - bingud/filemat: Web-based file manager Show HN: TruthLens – Free multi-signal deepfake image detector GitHub - apexlocal-jz/claude-usage-tray: Windows system-tray app showing your Claude Code rate-limit usage at a glance. Zero deps, ~300 lines of PowerShell. Cross-IDE (works regardless of VS Code, Cursor, plain terminal). Release v0.1.2.1 · kouhxp/yapsnap GitHub - noopolis/moltnet: Self-hostable chat network for AI agents. Pre-built bridges for Claude Code, Codex, and the Claws. Rooms, DMs, history. No Slack bots, no Matrix, no glue code.
GitHub - amiinwani/whoburnedmore.com: See how many tokens...
arhaam · 2026-06-16 · via Show HN

See how many tokens your AI coding agents really burned.

A fast, 100% local command-line tool that reads your Claude Code session history and shows you exactly how many tokens — and how many dollars — you've spent. No account, no sign-up, no upload. Nothing ever leaves your machine.

CI License: MIT Node Data: 100% local

whoburnedmore.com  ·  the hosted leaderboard


  🔥 whoburnedmore — your local AI token burn report
  ────────────────────────────────────────────────

  1.82B tokens burned   $3,410.00 est.
  12,704 assistant messages · 18 active days · 2026-05-29 → 2026-06-15

  By model
    ████████░░░░░░░░░░ claude-opus-4-8               1.10B    $2,512.40
    █████░░░░░░░░░░░░░ claude-sonnet-4-6           512.00M      $640.10
    ██░░░░░░░░░░░░░░░░ claude-haiku-4-5            210.00M       $36.20

  By project
    ███████░░░░░░░░░░░ api                          903.00M    $1,640.00
    ████░░░░░░░░░░░░░░ web-app                      540.00M      $980.00
    ██░░░░░░░░░░░░░░░░ infra                        377.00M      $790.00

  Prompt cache   97.4% read-hit rate (1.71B cached reads)

  ────────────────────────────────────────────────
  100% local · nothing left your machine.
  Compare on the public board → https://whoburnedmore.com

✨ Features

  • 🔒 Completely local. Reads the transcripts already on your disk. Makes zero network requests — no telemetry, no account, no API keys.
  • 💸 Real cost estimates. Turns raw token counts into dollar figures using a transparent, editable pricing table.
  • 🧩 Breakdowns that matter. See your burn split by model and by project, so you know exactly where the tokens went.
  • ⚡ Prompt-cache insight. Surfaces your cache read-hit rate — the single biggest lever on what you actually pay.
  • 🖼️ Beautiful HTML dashboard. --html writes a self-contained, offline dashboard you can open in any browser or share.
  • 🪶 Tiny & dependency-free at runtime. A ~15 KB bundle with no runtime dependencies. Nothing to trust but the code you can read here.

🚀 Quick start

You'll need Node.js 20+ and some Claude Code usage on this machine.

Run it instantly with npx

npx github:amiinwani/whoburnedmore.com

Or clone and run

git clone https://github.com/amiinwani/whoburnedmore.com.git
cd whoburnedmore.com
npm install        # also builds the CLI
npm start          # == node dist/cli.js

📖 Usage

whoburnedmore                  # print your burn report
whoburnedmore --html           # also write ./whoburnedmore.html
whoburnedmore --html out.html  # ...to a custom path
whoburnedmore --since 30       # only count the last 30 days
whoburnedmore --dir <path>     # read transcripts from a custom directory
whoburnedmore --json           # raw aggregated JSON (pipe it anywhere)
whoburnedmore --version
whoburnedmore --help
Flag What it does
--html [file] Write a self-contained HTML dashboard (default ./whoburnedmore.html).
--since <days> Only include usage from the last N days.
--dir <path> Point at a custom transcripts directory instead of ~/.claude/projects.
--json Print the aggregated data as JSON instead of the report.
--version / --help Print the version / help.

🔍 How it works

Claude Code stores one JSON Lines transcript per session under:

~/.claude/projects/<project>/<session-id>.jsonl

Every assistant turn in those files carries a usage block — input tokens, output tokens, and the prompt-cache read/write counts — plus the model name and a timestamp. whoburnedmore streams through those files line by line, adds the counts up by model, by project, and by day, multiplies by a public pricing table for a dollar estimate, and draws the report. That's the whole trick. The code is small on purpose — start with src/scan.ts.

🛡️ Privacy

This tool is read-only and offline by design.

  • It only reads files; it never writes to your transcripts or deletes anything.
  • It makes no network requests of any kind — no analytics, no "phone home," no auto-update.
  • The optional HTML dashboard is fully self-contained: no external fonts, scripts, or trackers.
  • Your prompts and code are never parsed for content — only the numeric usage counters and the model name are read.

Want to verify? It's ~400 lines. Read src/, or run with --json and inspect exactly what it computes.

🌐 The hosted version

This CLI is the open-source, local-only sibling of whoburnedmore.com — a public leaderboard where developers compare how much they've burned across Claude Code, Codex, Cursor and more. The website is a separate, hosted product; this repository contains only the local tool and none of its backend.

🤝 Contributing

Issues and PRs welcome — see CONTRIBUTING.md. Good first contributions: add models to the pricing table, support more agents' transcript formats, or improve the dashboard.

npm install        # install + build
npm test           # run the unit tests
npm run typecheck  # strict type check
npm run build      # bundle to dist/cli.js

📄 License

MIT © 2026 whoburnedmore