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

推荐订阅源

量子位
博客园_首页
罗磊的独立博客
云风的 BLOG
云风的 BLOG
J
Java Code Geeks
Last Week in AI
Last Week in AI
D
DataBreaches.Net
Jina AI
Jina AI
博客园 - Franky
大猫的无限游戏
大猫的无限游戏
Apple Machine Learning Research
Apple Machine Learning Research
V
V2EX
D
Docker
MongoDB | Blog
MongoDB | Blog
B
Blog RSS Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
人人都是产品经理
人人都是产品经理
H
Help Net Security
T
The Blog of Author Tim Ferriss

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - amiinwani/whoburnedmore.com: See how many tokens...
arhaam · 2026-06-16 · via Hacker News: 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