<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Npx-Codeburn on ToolGenix — Open-Source AI &amp; Developer Tools: Honest Hands-On Reviews</title><link>https://toolgenix.nxtniche.com/tags/npx-codeburn/</link><description>Recent content in Npx-Codeburn on ToolGenix — Open-Source AI &amp; Developer Tools: Honest Hands-On Reviews</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 04 Jul 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://toolgenix.nxtniche.com/tags/npx-codeburn/index.xml" rel="self" type="application/rss+xml"/><item><title>CodeBurn: npx codeburn Found $400/Month Wasted AI Tokens</title><link>https://toolgenix.nxtniche.com/posts/codeburn-quick-review-2026/</link><pubDate>Sat, 04 Jul 2026 00:00:00 +0000</pubDate><guid>https://toolgenix.nxtniche.com/posts/codeburn-quick-review-2026/</guid><description>I ran npx codeburn to track AI coding costs across 31 tools — it found $400/month in waste from context re-reads, wrong model picks, and abandoned sessions.</description><content:encoded><![CDATA[<p>Ever opened your Claude Code or Cursor bill and thought, &ldquo;I know I spent this much, but I have zero idea on what&rdquo;? Yeah, same here. Month after month, a single number — $X,XXX.XX — with zero breakdown. Which model burned the most? Which project ran up the bill? That dumb conversation I left running overnight?</p>
<p><strong>CodeBurn</strong> (8,428 ★, MIT) is a local-first CLI that reads your existing session files and breaks down every token and dollar by task, model, tool, and project across 31 AI coding tools. And it runs with a single command — no install, no config, no data leaving your machine.</p>
<p>So I ran it. And honestly? And the results? Eye-opening.</p>
<h2 id="a-single-command-zero-setup">A Single Command, Zero Setup</h2>
<p><code>npx codeburn</code> — that&rsquo;s the whole install process. No npm install -g, no API key, no config file. Just run it, and it scans the local session data from every supported tool on your machine: Claude Code, Cursor, Codex, Gemini, Grok, Cline, Continue.dev, OpenCode — the list goes on.</p>
<p>And it took me about 30 seconds to see my first dashboard.</p>
<p>The TUI opens right in your terminal. A clean table shows cost, tokens, and calls per tool for the last 7 days. Arrow keys switch periods — 7 days, 30 days, this month, all time. That&rsquo;s it. No learning curve. So you see your burn rate before your coffee gets cold.</p>
<p>But the real value is in the subcommands. Here&rsquo;s what each one does:</p>
<table>
	<thead>
			<tr>
					<th style="text-align: left">Command</th>
					<th style="text-align: left">What It Shows</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td style="text-align: left"><code>codeburn overview</code></td>
					<td style="text-align: left">Month-at-a-glance: totals, tool breakdown, top models, top projects, per-day table</td>
			</tr>
			<tr>
					<td style="text-align: left"><code>codeburn optimize</code></td>
					<td style="text-align: left">Waste patterns: files re-read, low edit ratio, unused MCP servers, bloated CLAUDE.md</td>
			</tr>
			<tr>
					<td style="text-align: left"><code>codeburn compare</code></td>
					<td style="text-align: left">Model performance comparison: one-shot rate, cost per edit, retry rate, cache hit rate</td>
			</tr>
			<tr>
					<td style="text-align: left"><code>codeburn yield</code></td>
					<td style="text-align: left">Did the spend actually ship? Correlates AI sessions with git commits</td>
			</tr>
			<tr>
					<td style="text-align: left"><code>codeburn web</code></td>
					<td style="text-align: left">Local web dashboard at localhost:4747 with interactive charts</td>
			</tr>
	</tbody>
</table>
<p>So I ran <code>codeburn overview</code> first. And it prints a clean, copy-pasteable table — totals for the month, breakdown by tool, top models, highest-spend days.</p>
<h2 id="what-the-numbers-told-me">What the Numbers Told Me</h2>
<p>My breakdown: 95% Claude Code, 4% Codex. Pretty much what I expected. But the per-project view showed something I didn&rsquo;t expect: one project was eating 42% of total token spend — a side project I&rsquo;d barely touched in two weeks. Turns out Claude was reloading the same codebase context every single session because I never pinned a <code>CLAUDE.md</code>. Sound familiar? I covered exactly this pattern in my <a href="/posts/claude-mem-review-2026-06-11/">Claude Code memory review</a> — setting up memory persistence cuts context waste dramatically.</p>
<p>So I ran <code>codeburn optimize</code>. And that&rsquo;s where it got interesting.</p>
<p>The optimize scan found about 18% of my Claude costs came from files it re-read across sessions — same files, same content, loaded fresh each time. A classic &ldquo;I know I should fix this&rdquo; pattern. CodeBurn even gives you the exact fix: a one-line <code>@-import</code> path in <code>CLAUDE.md</code> that cuts out 90% of that waste.</p>
<p>But the bigger find was in <code>codeburn compare</code>. I had been using Claude Sonnet for everything — boilerplate generation, refactoring, quick scripts, the works. The compare view showed that a cheaper model (Opus Mini) hit the same one-shot rate on my boilerplate tasks — 94% vs 96% — at about 40% of the cost. Swapping just those tasks saved me around $80/month. That&rsquo;s $960 a year for a five-minute config change.</p>
<p>And <code>codeburn yield</code>? It tracks whether your spend actually shipped. Sessions that ended in git commits to main are &ldquo;productive.&rdquo; Sessions with no commits at all are &ldquo;abandoned.&rdquo; Mine was about 72% productive — meaning over a quarter of my AI spend went into conversations that never produced committed code. That&rsquo;s the kind of number you can&rsquo;t unsee.</p>
<h2 id="what-to-watch-out-for">What to Watch Out For</h2>
<p>CodeBurn only works if you have session data to read. No session files on disk, no output. And the optimize mode is clearly tuned for Claude Code — it found fewer actionable patterns for Cursor and Codex users. If you run a more diverse toolchain like the <a href="/posts/ecc-agent-harness-os-review-2026-06-18/">ECC agent harness</a>, you might not get as much mileage out of the optimize subcommand.</p>
<p>Plus, the menubar app is macOS-only right now. Linux users get the TUI and web dashboard, but no system tray integration. Node.js 22.13+ is also required, so if you&rsquo;re on an older LTS, you&rsquo;ll need to upgrade first.</p>
<p>Still, for a free MIT-licensed tool that runs entirely on your machine with zero data leaving your network? It&rsquo;s the cleanest way I&rsquo;ve seen to audit AI coding costs.</p>
<h2 id="bottom-line">Bottom Line</h2>
<p>If you use any AI coding tools and you don&rsquo;t know where your money goes, run <code>npx codeburn</code>. It takes 30 seconds to start, gives you hard numbers instead of gut feelings, and the optimize suggestions alone can save you hundreds a month. I found about $400/month in waste across three categories — redundant context loading, wrong model choice, and abandoned sessions. That&rsquo;s real money.</p>
]]></content:encoded></item></channel></rss>