<?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: Andre</title>
    <description>The latest articles on DEV Community by Andre (@guruhat).</description>
    <link>https://dev.to/guruhat</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%2F4254776%2F6b588469-b567-483a-ab0a-8340dbad451e.jpg</url>
      <title>DEV Community: Andre</title>
      <link>https://dev.to/guruhat</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/guruhat"/>
    <language>en</language>
    <item>
      <title>How to check your Codex usage limit (and keep it on screen)</title>
      <dc:creator>Andre</dc:creator>
      <pubDate>Fri, 20 Nov 2026 03:26:14 +0000</pubDate>
      <link>https://dev.to/guruhat/how-to-check-your-codex-usage-limit-and-keep-it-on-screen-3fdn</link>
      <guid>https://dev.to/guruhat/how-to-check-your-codex-usage-limit-and-keep-it-on-screen-3fdn</guid>
      <description>&lt;p&gt;I built AI Meter because I got tired of being surprised by usage limits while working with Claude Code and Codex.&lt;/p&gt;

&lt;p&gt;If you use Codex with a ChatGPT plan, your work counts against a short rolling window and a longer weekly window. When you hit one, the only fix is to wait for the reset (or switch to an API key, which bills per token). The trick is knowing before you hit it. Here are the ways to check.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. &lt;code&gt;/status&lt;/code&gt; in the Codex CLI
&lt;/h2&gt;

&lt;p&gt;Type &lt;code&gt;/status&lt;/code&gt; in a Codex CLI session. Along with the model and session details, it shows how much of your usage limits you've used and when each one resets. It's the quickest check mid-session.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. ChatGPT's Codex settings
&lt;/h2&gt;

&lt;p&gt;Signed in to ChatGPT on the web, open Codex and its settings to see your usage. Handy when you're away from your terminal.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Keep it on screen
&lt;/h2&gt;

&lt;p&gt;The first two require you to remember to look. I make a free app, &lt;a href="https://guruhat.com/apps/ai-meter/?ref=devto" rel="noopener noreferrer"&gt;AI Meter&lt;/a&gt;, that keeps the remaining percentage and reset time in the Mac menu bar or on the Windows taskbar, for Codex and Claude Code. (Full disclosure: it's mine, and it's free and MIT-licensed.)&lt;/p&gt;

&lt;p&gt;How it works, so you can judge it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;It reads the sign-in the Codex CLI already saved (&lt;code&gt;~/.codex/auth.json&lt;/code&gt;) and asks the same usage endpoint the CLI uses, every five minutes.&lt;/li&gt;
&lt;li&gt;No account, no analytics, no server of mine in between. Your token only goes to OpenAI.&lt;/li&gt;
&lt;li&gt;That endpoint isn't documented, so a change on OpenAI's side can break it. If that happens it shows "AI –" instead of guessing.&lt;/li&gt;
&lt;li&gt;The Mac build is Apple silicon only and not notarized yet, and the Windows installer isn't code-signed, so expect Gatekeeper or SmartScreen warnings. The Microsoft Store version is signed by the Store.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Install options: &lt;code&gt;brew install --cask getguruhat/tap/ai-meter&lt;/code&gt;, Scoop, or the Microsoft Store. Source: &lt;a href="https://github.com/getguruhat/ai-meter" rel="noopener noreferrer"&gt;github.com/getguruhat/ai-meter&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What about ccusage and similar tools?
&lt;/h2&gt;

&lt;p&gt;Tools like ccusage read the session logs saved on your machine and add up tokens. That's useful for seeing which sessions were big, but they only see sessions on that one computer, and dollar figures are API-price estimates, not your bill. The limit shown by &lt;code&gt;/status&lt;/code&gt;, ChatGPT and AI Meter is the one OpenAI actually enforces.&lt;/p&gt;

&lt;h2&gt;
  
  
  When you hit the limit
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Run &lt;code&gt;/status&lt;/code&gt; to see when the window resets. You can't reset it early.&lt;/li&gt;
&lt;li&gt;Wait for the rolling window, or the weekly reset if that's the one you hit.&lt;/li&gt;
&lt;li&gt;To keep going now, sign in to the Codex CLI with an API key. It bills per token and skips your plan's windows.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;OpenAI changes Codex limits by plan, so its help pages have the current numbers. The &lt;a href="https://guruhat.com/guides/check-codex-usage-limit/?ref=devto" rel="noopener noreferrer"&gt;full guide&lt;/a&gt; is kept up to date.&lt;/p&gt;

&lt;p&gt;Which do you use? Curious whether people check &lt;code&gt;/status&lt;/code&gt; by habit or want it always visible.&lt;/p&gt;

</description>
      <category>codex</category>
      <category>ai</category>
      <category>productivity</category>
      <category>tooling</category>
    </item>
  </channel>
</rss>
