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

推荐订阅源

博客园 - 叶小钗
Last Week in AI
Last Week in AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
雷峰网
雷峰网
GbyAI
GbyAI
Hugging Face - Blog
Hugging Face - Blog
N
Netflix TechBlog - Medium
博客园 - 聂微东
Y
Y Combinator Blog
罗磊的独立博客
博客园_首页
小众软件
小众软件
有赞技术团队
有赞技术团队
爱范儿
爱范儿
F
Fortinet All Blogs
C
Check Point Blog
Google DeepMind News
Google DeepMind News
云风的 BLOG
云风的 BLOG
Apple Machine Learning Research
Apple Machine Learning Research
M
MIT News - Artificial intelligence
月光博客
月光博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 司徒正美
aimingoo的专栏
aimingoo的专栏

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - amiinwani/whoburnedmore.com: See how many tokens...
arhaam · 2026-06-16 · via Hacker News - Newest: "AI"

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