<?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: Sergey Petrov</title>
    <description>The latest articles on DEV Community by Sergey Petrov (@sergey_petrov_00e94bf63d8).</description>
    <link>https://dev.to/sergey_petrov_00e94bf63d8</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2010660%2F4b7bb44c-8d6b-4895-a70f-6dd82525a9f6.jpg</url>
      <title>DEV Community: Sergey Petrov</title>
      <link>https://dev.to/sergey_petrov_00e94bf63d8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sergey_petrov_00e94bf63d8"/>
    <language>en</language>
    <item>
      <title>I built ai-usage to see what's left of shared Claude Code, Codex and Grok subscriptions</title>
      <dc:creator>Sergey Petrov</dc:creator>
      <pubDate>Sun, 18 Oct 2026 19:38:43 +0000</pubDate>
      <link>https://dev.to/sergey_petrov_00e94bf63d8/i-built-ai-usage-to-see-whats-left-of-shared-claude-code-codex-and-grok-subscriptions-5b98</link>
      <guid>https://dev.to/sergey_petrov_00e94bf63d8/i-built-ai-usage-to-see-whats-left-of-shared-claude-code-codex-and-grok-subscriptions-5b98</guid>
      <description>&lt;p&gt;I made ai-usage, a small open-source tool for teams where people, servers and bots share a few Claude Code, Codex and Grok subscriptions.&lt;/p&gt;

&lt;p&gt;The trouble with a shared subscription is that each machine sees only its own part. A limit runs out in the middle of a task, and nobody knows which machine used it or when it comes back.&lt;/p&gt;

&lt;p&gt;ai-usage gathers usage from every machine into one report. You see what is left in each 5-hour and weekly window, when it resets, and how much each machine used. It also estimates, from your own pace, whether a subscription will last until the reset. When something is wrong, an ATTENTION block shows up at the top: a limit that is out, one that will run out early, a machine that went silent.&lt;/p&gt;

&lt;p&gt;Under the hood it is one small binary. The system scheduler runs it every 15 minutes. It reads what the tools already write on disk, asks the installed tools for their quota, and exits. No daemon, no account, no config file. It doesn't call the providers' APIs, so it spends none of your quota. Prompts and code are never sent, and names, emails and project paths are sealed with your team key before they reach the relay.&lt;/p&gt;

&lt;p&gt;There is a menu bar app for macOS 14+, Linux works from the terminal, and &lt;code&gt;ai-usage --json&lt;/code&gt; is there for scripts and agents. To try it on macOS or Linux:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://raw.githubusercontent.com/neoromantic/ai-usage/main/install.sh | sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It's free and MIT licensed. Docs and more: &lt;a href="https://au.sergeybaus.com/?utm_source=devto&amp;amp;utm_medium=social&amp;amp;utm_campaign=au-launch-2026-10&amp;amp;utm_content=devto-showdev-sharedquota-v1" rel="noopener noreferrer"&gt;https://au.sergeybaus.com/?utm_source=devto&amp;amp;utm_medium=social&amp;amp;utm_campaign=au-launch-2026-10&amp;amp;utm_content=devto-showdev-sharedquota-v1&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The screenshot shows a made-up team with demo numbers. Forecasts are estimates, not promises.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;I wrote this post with help from an AI assistant. The tool is mine, and I checked every fact.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>claude</category>
      <category>ai</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
