<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Junhua Tan</title>
    <description>The latest articles on DEV Community by Junhua Tan (@juliantanx).</description>
    <link>https://dev.to/juliantanx</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3953607%2Ff7b706ec-6638-405c-9ed3-e1898d08e7ab.png</url>
      <title>DEV Community: Junhua Tan</title>
      <link>https://dev.to/juliantanx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/juliantanx"/>
    <language>en</language>
    <item>
      <title>I Built an Open-Source Tool to Track AI Coding Costs Across Claude Code, Codex &amp; Cursor</title>
      <dc:creator>Junhua Tan</dc:creator>
      <pubDate>Tue, 09 Jun 2026 16:00:00 +0000</pubDate>
      <link>https://dev.to/juliantanx/i-built-an-open-source-tool-to-track-ai-coding-costs-across-claude-code-codex-cursor-4d7j</link>
      <guid>https://dev.to/juliantanx/i-built-an-open-source-tool-to-track-ai-coding-costs-across-claude-code-codex-cursor-4d7j</guid>
      <description>&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;I was using Claude Code, Codex, and Cursor daily but had no idea how much I was spending on tokens. Bills kept surprising me.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Solution
&lt;/h2&gt;

&lt;p&gt;I built &lt;a href="https://aiusage.jtanx.com" rel="noopener noreferrer"&gt;AIUsage&lt;/a&gt; — a local-first, open-source CLI that tracks everything.&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Token usage tracking with daily breakdowns&lt;/li&gt;
&lt;li&gt;Cost estimation with configurable pricing&lt;/li&gt;
&lt;li&gt;Model usage ranking&lt;/li&gt;
&lt;li&gt;Multi-device sync via GitHub or S3&lt;/li&gt;
&lt;li&gt;Desktop widget&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How It Works
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
bash
npm install -g @juliantanx/aiusage
aiusage parse
aiusage serve

Why Local-First?

Your data never leaves your machine. No accounts, no API keys, no cloud servers.

Try It

[aiusage.jtanx.com](https://aiusage.jtanx.com)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>productivity</category>
      <category>cli</category>
    </item>
  </channel>
</rss>
