<?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: XCR</title>
    <description>The latest articles on DEV Community by XCR (@xcrai).</description>
    <link>https://dev.to/xcrai</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%2F4191922%2Fe8fa883e-2ab8-4edd-800a-f61612ecfc03.png</url>
      <title>DEV Community: XCR</title>
      <link>https://dev.to/xcrai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xcrai"/>
    <language>en</language>
    <item>
      <title>Where your Codex usage actually goes (and how to make the window last longer)</title>
      <dc:creator>XCR</dc:creator>
      <pubDate>Sun, 25 Oct 2026 03:12:27 +0000</pubDate>
      <link>https://dev.to/xcrai/where-your-codex-usage-actually-goes-and-how-to-make-the-window-last-longer-314o</link>
      <guid>https://dev.to/xcrai/where-your-codex-usage-actually-goes-and-how-to-make-the-window-last-longer-314o</guid>
      <description>&lt;p&gt;If you use Codex every day, you know the moment. The plan is clear, half the feature is written, the tests are almost green, and the usage window closes. You didn't do anything unusual. You just did a normal afternoon of AI coding.&lt;/p&gt;

&lt;p&gt;The frustrating part is that most of us don't really know &lt;em&gt;which&lt;/em&gt; part of the work used the allowance. So let's break that down, look at how to check where you stand, and then talk about a workflow change that made the biggest difference for us.&lt;/p&gt;

&lt;p&gt;Quick disclosure before we start: I work on XCR, the plugin I mention later in this post. The habits in the first half work with or without it.&lt;/p&gt;

&lt;h2&gt;
  
  
  How the Codex usage limit works, briefly
&lt;/h2&gt;

&lt;p&gt;Codex comes with ChatGPT plans, and each plan has usage limits. OpenAI's &lt;a href="https://help.openai.com/en/articles/11369540-using-codex-with-your-chatgpt-plan/" rel="noopener noreferrer"&gt;Codex help article&lt;/a&gt; lists what drives usage: the model, where the task runs, task complexity, context size, reasoning effort, speed and tools. A long-running agentic task can use a lot more than a short request.&lt;/p&gt;

&lt;p&gt;Two details trip people up:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Usage is tracked in &lt;strong&gt;two windows&lt;/strong&gt;: a five-hour window and a weekly window.&lt;/li&gt;
&lt;li&gt;On plans with shared allowances, Codex draws from the &lt;strong&gt;same pool&lt;/strong&gt; as other agent features in ChatGPT.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The exact numbers change by plan and over time, so check the current &lt;a href="https://chatgpt.com/pricing" rel="noopener noreferrer"&gt;ChatGPT plans page&lt;/a&gt; for yours rather than trusting a screenshot from a forum thread.&lt;/p&gt;

&lt;h2&gt;
  
  
  What actually burns through it
&lt;/h2&gt;

&lt;p&gt;When you look at a session after the fact, the expensive parts are pretty predictable.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Implementation loops.&lt;/strong&gt; Write code, run tests, read the failure, patch, run again. Every round re-reads the context. A feature with three or four rounds of test fixes is where most of the window goes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Long threads.&lt;/strong&gt; Everything Codex has read and written in the thread rides along with each new turn. A thread that started as "add an endpoint" and wandered into "also refactor auth" is carrying a lot of baggage.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Repository exploration.&lt;/strong&gt; Opening file after file to understand a codebase before writing the first line. Useful, but heavy.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Heavy reasoning on routine work.&lt;/strong&gt; The strongest models with high reasoning effort use the allowance fastest. Using them to rename a prop is overkill.&lt;/p&gt;

&lt;p&gt;Compare that to planning a change or reviewing a diff. Those are light. Codex reads your request, thinks about the approach, or reads a diff and comments on it. It's the &lt;em&gt;build&lt;/em&gt; (multi-file edits plus the test-fix loop) that's heavy.&lt;/p&gt;

&lt;p&gt;Keep that split in mind, because the rest of this post depends on it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check where you stand before a big session
&lt;/h2&gt;

&lt;p&gt;Don't guess. Before starting something large:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Open &lt;strong&gt;Settings&lt;/strong&gt; or the usage dashboard in ChatGPT or the Codex app to see which allowance you've used and when it resets.&lt;/li&gt;
&lt;li&gt;In an active Codex CLI session, run:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/status
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And one myth to kill: &lt;strong&gt;starting a new chat does not reset your limits.&lt;/strong&gt; A fresh thread makes each turn lighter because old context stops riding along, but the windows reset on their own schedule.&lt;/p&gt;

&lt;h2&gt;
  
  
  Habits that stretch the window
&lt;/h2&gt;

&lt;p&gt;Before any tooling, these habits do help:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;One task per thread.&lt;/strong&gt; Switch threads when you switch topics.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Front-load the requirement.&lt;/strong&gt; Goal, constraints and how to verify it, all in the first message. Drip-fed requirements mean rework.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Name the files.&lt;/strong&gt; "Look at &lt;code&gt;orders/service.ts&lt;/code&gt; and &lt;code&gt;orders/export.test.ts&lt;/code&gt;" is far cheaper than "find where orders are handled."&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep &lt;code&gt;AGENTS.md&lt;/code&gt; lean.&lt;/strong&gt; Codex reads it on every task, so every extra paragraph costs you on every task.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Match model and effort to the task.&lt;/strong&gt; Lighter settings for routine edits; save the heavy settings for design questions and nasty bugs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These all help. But they're still optimizing the heavy part, not moving it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Split the work: Codex plans and reviews, something else builds
&lt;/h2&gt;

&lt;p&gt;Here's the idea that changed the math for us. If planning and review are cheap and the build is expensive, then the build is what you want &lt;em&gt;off&lt;/em&gt; your Codex window. Codex is great at understanding what you want, choosing an approach and catching problems in a diff. That's the part that needs Codex.&lt;/p&gt;

&lt;p&gt;My team built a plugin for exactly this split. It's called &lt;strong&gt;XCR&lt;/strong&gt;, and it works with Codex, Claude Code, Cursor and Grok Build.&lt;/p&gt;

&lt;p&gt;The flow looks like this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Codex hands the task over.&lt;/strong&gt; Anything bigger than a small edit (multi-file changes, features, tests, refactors) gets passed to XCR. Quick questions and one-line fixes stay in Codex, same as before.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;XCR builds it.&lt;/strong&gt; It hands the heavy steps off to other models, writes the change on a copy of your project, runs your project's own checks (type check, lint, tests) and repairs failures within the task's budget.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Codex reviews.&lt;/strong&gt; It gets a short report back: requirements done, files changed, check results. Then it checks the change against what you asked for.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;So your Codex quota goes to the thinking and the reviewing, and the heavy build doesn't run on your Codex window. That's how the quota lasts longer.&lt;/p&gt;

&lt;p&gt;On privacy, here's the short version: checks run on your machine. Code is sent to the model only for the task, and XCR doesn't store it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setting it up (short version)
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Open the install page on xcr.ai and sign in with the link that gets emailed to you. No password, no card needed.&lt;/li&gt;
&lt;li&gt;In the console, open &lt;strong&gt;Install on a computer&lt;/strong&gt; and pick the &lt;strong&gt;Codex&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Read "What XCR will change on your computer", tick the box, click &lt;strong&gt;Copy install instruction&lt;/strong&gt;, paste it into Codex and allow the command.&lt;/li&gt;
&lt;li&gt;Restart Codex.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Under the hood, XCR registers itself as an MCP server in &lt;code&gt;~/.codex/config.toml&lt;/code&gt; and adds one short rule to &lt;code&gt;~/.codex/AGENTS.md&lt;/code&gt; so Codex knows when to hand work over. Your original files are backed up first.&lt;/p&gt;

&lt;p&gt;Then just work normally. Try something like:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Add CSV export to the orders page, with filters by date and status.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;When the checks pass, the change lands in your working tree without a commit, so you review it in your usual diff.&lt;/p&gt;

&lt;p&gt;A few things that matter if you're cautious (you should be):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Undo:&lt;/strong&gt; ask Codex to undo the XCR change.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Spending caps:&lt;/strong&gt; set a daily cap per computer, and every task has its own spending cap.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pause:&lt;/strong&gt; pause with one click in the console.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Uninstall:&lt;/strong&gt; tell Codex "Uninstall XCR from this computer" and it removes exactly what XCR added and restores your files.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Wrapping up
&lt;/h2&gt;

&lt;p&gt;The Codex usage limit stings most when you don't know where the usage went. Most of it goes to the build-and-fix loop, not to the thinking. Tighten your habits, check &lt;code&gt;/status&lt;/code&gt; before big sessions, and think about moving the heavy builds somewhere other than your Codex window.&lt;/p&gt;

&lt;p&gt;AI coding quota always running short? Hand the heavy work to XCR and make your quota last longer.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Original article: &lt;a href="https://xcr.ai/en/guides/codex-usage-limit-last-longer" rel="noopener noreferrer"&gt;Codex usage limit: make your Codex quota last longer&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Setup walkthrough: &lt;a href="https://xcr.ai/en/guides/xcr-quick-start" rel="noopener noreferrer"&gt;XCR quick start&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Disclosure, again: I work on XCR, so weigh my take accordingly.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>chatgpt</category>
      <category>coding</category>
      <category>openai</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
