Open source: context compression for coding agents, 63% less tool output ⭐ optscale-kompressor on GitHub →
AI Cost Optimization

ChatGPT and Codex Now Share One Usage Limit. Here’s What Actually Burns It

November 30, 2026

~ 8 min

By Nick Smirnoff
On this page
    Know what every agent token buys
    Book a Demo

    OpenAI has made GPT-6.2 count more against paid plans, and from December, ChatGPT and Codex will draw from a single token pool. Here is where a coding agent’s tokens really go, why “40% faster” doesn’t mean “40% less”, and which levers actually change the number.

    40% fasterGPT-6.2 Astra limits are reached after OpenAI’s billing fix
    1 poolfor ChatGPT and Codex on Plus, Pro and Business from December
    ~50%of a coding agent’s prompt is tool output
    −22.7%API bill with cache-safe compression (Codex CLI, GPT-5.5)

    If your Codex allowance has been running out faster this week, you’re not imagining it. OpenAI has corrected a launch-week billing error on GPT-6.2, and in December it will merge ChatGPT and Codex into a single token-based allowance on Plus, Pro and Business plans. In a Hacker News thread about the change, one subscriber described ending the evening with about 90% of their allowance left and finding it gone the next morning, with no agent left running.

    Both changes lead to the same question: what actually consumes tokens when an AI agent writes code? Mostly not your prompts. This guide covers what changed, what it means in practice, and where the real savings are. It draws on our own measurements of coding-agent traffic, priced on real provider bills.

    TL;DR

    • After a billing fix, GPT-6.2 Astra uses up plan limits 40% faster than in its first week, and Sol 25% faster. In work terms, the same allowance now covers about 71% and 80% of what it did. Other models weren’t affected.
    • From December 2026, Plus, Pro and Business plans share one allowance across ChatGPT and Codex, measured in tokens. Instant chat doesn’t draw from it. API usage is billed separately and doesn’t change.
    • A coding agent re-sends its whole history on every turn, and about half of that history is tool output: build logs, compiler messages, test runs, progress bars.
    • Prompt caching makes repeated history cheap, but only while it stays byte-identical. Anything that rewrites history unpredictably can cost more than it saves.
    • What moves the number: the right model and reasoning level for each task, Standard instead of Fast mode, shorter sessions, quieter tools and deterministic compression of tool output. For teams, the metric that matters is cost per completed task, not cost per token.

    Run OptScale Kompressor with CodexOpen source. Compresses your agent’s tool output without breaking the prompt cache.
    ⭐ Get it on GitHub →

    What changed in OpenAI’s usage limits

    Two separate changes landed within weeks of each other. One is already in effect; the other starts in December.

    The GPT-6.2 billing correction

    OpenAI released GPT-6.2 Astra and Sol on November 17. In late November, Thibault Sottiaux, who works on ChatGPT and Codex at OpenAI, posted on X that a billing mistake at launch had discounted Astra and Sol usage for most users. Now that it’s fixed, the same work uses more of a plan’s allowance: compared with the week before, users reach their limits 40% faster on Astra and 25% faster on Sol.

    OpenAI says other models weren’t affected and it won’t charge for the difference retroactively. As an apology, Go, Plus, Pro and Business subscribers got one banked reset: a saved refill of the allowance that you apply when you choose. OpenAI also says both models should still go further than GPT-6 Astra and GPT-6.1 Sol did.

    One shared allowance from December

    Today, Codex and ChatGPT’s Work mode already share an allowance, while regular ChatGPT conversations have their own limits. According to OpenAI’s Help Center, starting in December, Plus, Pro and Business plans will have one allowance across ChatGPT and Codex, measured in tokens. Instant chat stays outside it, and combined usage and reset times will appear under Settings → Usage.

    OpenAI hasn’t announced an exact date or published the pool size, and a small group of users is getting the change early. In practice, a long Codex session will leave less room for a deep research question in ChatGPT, and vice versa. 

    ‍

    Table 1. What changed, at a glance

    Change Who it affects When What it means for you
    GPT-6.2 Astra counted at its intended rate Paid plans using GPT-6.2 in Work and Codex Late November 2026 Limits reached 40% faster than in launch week
    GPT-6.2 Sol counted at its intended rate Paid plans using GPT-6.2 in Work and Codex Late November 2026 Limits reached 25% faster than in launch week
    ChatGPT and Codex share one allowance Plus, Pro, Business December 2026 (no exact date yet) Chat with advanced models draws from the pool Codex uses; Instant chat doesn’t
    Usage measured in tokens Plus, Pro, Business December 2026 Longer context and more steps use more allowance
    API usage API customers No change Billed separately at API rates

    Sources: OpenAI Help Center; Thibault Sottiaux on X. As of November 29, 2026

    ‍

    Why “40% faster” doesn’t mean “40% less”

    The two numbers are easy to misread. Reaching your limit 40% faster means the meter runs 1.4 times as fast for the same work. A fixed allowance then covers 1 ÷ 1.4 ≈ 71% of what it covered the week before. You lose about 29% of capacity, not 40%. For Sol, 1 ÷ 1.25 = 80%, so the loss is 20%.

    The baseline matters as well. The comparison is with GPT-6.2’s first week, when usage was undercounted. Against the previous generation, OpenAI says GPT-6.2 still goes further. For most people, what changed is an expectation set by one unusually generous week.

    Where a coding agent’s tokens actually go

    A chat message is one request. A coding agent works in a loop: it runs a command, reads the output, thinks, and runs the next command. On every turn it sends the whole conversation back to the model, including your instructions, its earlier steps and the output of every command so far.

    Your prompt might be a few hundred tokens. The history that travels with it grows with every step. In our traces, about half of it is tool output: package installs, compiler warnings, test runs, progress bars that redraw over and over. Almost all of the rest is the model’s encrypted reasoning, which can’t be compressed. On a long task, the model re-reads the same build log dozens of times.

    That’s why OpenAI says model choice, context, reasoning, tool use, retrieval and caching all affect how much allowance a task uses. Its own estimates show how wide the range is: on Plus, a five-hour window covers roughly 6–50 local messages in Work and Codex with GPT-6.2 Astra, 17–180 with GPT-6.2 Sol and 350–3,000 with GPT-6 Luna.

    Prompt caching: why repeats are cheap, and when they stop being cheap

    Providers soften this with prompt caching. If the start of a request matches one they’ve recently seen, byte for byte, they bill that part at a steep discount. In our Codex runs on GPT-5.5, about 93% of input tokens were cache reads, priced at a tenth of the normal input rate.

    The catch is “byte for byte”. Change one character early in the history and everything after it is billed at full price again. So any tool that edits history, whether it summarises, trims or compresses, has to produce exactly the same output for the same input on every turn. If it doesn’t, it can break the cache and cost more than it saves.

    Claude Code has its own version of the problem. Its default cache entries expire after five minutes, so a long build or training run forces the whole history to be written to the cache again, and on Opus 5.5 a cache write costs 25 times as much as a cache read. We measured that case in Part 2 of our Kompressor series.

    Cheaper per token isn’t cheaper per task

    The price of a token, or of a percent of your quota, is only half of the cost. The other half is how many tokens a task takes, including failed attempts.

    In the same Hacker News thread, some Codex users report that GPT-6.2 at lower reasoning settings needs more attempts, so they burn through their allowance faster even though each step costs less. OpenAI’s own guidance points the same way: higher effort doesn’t always produce a better result, and Astra at low effort can outperform Sol at high effort. The cheapest-looking setting isn’t always the cheapest way to finish.

    Agent paths also vary more than most people expect. In our Claude Code benchmark, three tasks took 45–72 steps in one configuration and 19–26 in the other, and just four tasks, including those three, accounted for the entire net cost difference between the two. Watching the price per token misses the variable that moves the bill most.

    The useful unit is cost per completed task. For an individual, that means noticing how much allowance a typical task uses. For a team, it means cost per merged pull request or resolved ticket.

    How to make your allowance go further

    Most of these levers cost nothing. Table 2 shows how common settings and habits affect your allowance; the details follow.

    ‍

    Table 2. What uses up your allowance, and when it’s worth it

    What you do Effect on your allowance When it’s worth it
    Standard mode 1× (baseline) Default for most work
    Fast mode 2× the Standard rate on GPT-6.2 (2.5× on older models) You’re blocked waiting on the answer
    Ultrafast (Pro $200 with GPT-6.2 Sol, Pro $500, eligible Enterprise and Edu) 6× the Standard rate on GPT-6.2 (8× on older models) Latency is critical
    Higher reasoning effort Uses more; doesn’t always give a better result Hard problems where a lower setting fails
    Long sessions and large inputs More tokens re-sent on every turn Rarely; start fresh for a new task
    Cloud tasks May use more than local messages When you need remote execution
    Instant chat (from December) Doesn’t draw from the shared allowance Quick questions, rewording, syntax checks
    Switching models Doesn’t restore any allowance Never as a way around a limit

    Sources: OpenAI Help Center and ChatGPT Learn (Codex pricing and speed pages), as of November 30, 2026.

    ‍

    1. Match the model and reasoning level to the task

    Use a lighter model for routine edits, searches and boilerplate, and keep the most capable model for hard debugging and unfamiliar code. Treat reasoning level as a separate dial, and don’t lower it blindly: if a cheaper setting needs extra attempts, the task ends up costing more. Run a few typical tasks at two settings and compare the allowance used per finished task.

    2. Use Fast mode only when you’re waiting on the result

    On GPT-6.2 Astra and Sol, Fast mode uses your included allowance at twice the Standard rate, and Ultrafast at six times. On older models such as GPT-6 Astra and GPT-6.1 Sol, the rates are 2.5 and 8 times. Ultrafast is available on Pro $500 with both GPT-6.2 models, on Pro $200 with GPT-6.2 Sol, and on eligible Enterprise and Edu plans. That’s a fair trade when you’re blocked on an answer. For background work, Standard gets you more done per allowance.

    3. Send quick questions to Instant

    From December, Instant chat doesn’t draw from the shared allowance. Syntax checks, short explanations and rewording don’t need a Thinking model or a Codex session, so keep them out of the pool your agent depends on.

    4. Start a fresh session for each new task

    Every turn carries the full history, so a session that has wandered through three tasks makes the fourth more expensive. A fresh session drops that baggage, and the first turns of a new task get cheaper again.

    5. Make your tools quieter

    Much tool output is written for a person watching a terminal, and agents don’t need progress bars. Quiet flags such as pip install -q, npm install --silent, apt-get -qq, make -s and pytest -q remove much of the noise at the source. For long builds, redirecting the log to a file and letting the agent search it is often better still. Put these conventions in your AGENTS.md so the agent follows them by default.

    6. Compress tool output without breaking the cache

    Quiet flags only go so far. Logs still repeat, test runners still print near-identical lines, and the agent re-sends all of it on every turn. That is the gap we built OptScale Kompressor to close.

    Kompressor is an open-source (MIT) proxy that runs locally between the agent and the model provider, with no changes to the agent. It compresses only machine-generated tool output, using deterministic rules: the same input always produces the same output, so the provider’s cache keeps working. Removed text becomes a labeled marker that the model can retrieve for an hour. Output is never larger than input, and on any error the request passes through unchanged.

    On Terminal-Bench 2.1, an 89-task coding benchmark, Codex CLI on GPT-5.5 cost 22.7% less with Kompressor on the real provider bill, cache discount included: $83.40 per full run instead of $107.89. Input tokens fell 25%, and the share of solved tasks didn’t change significantly (81.1% vs 82.2%). That is about twice the savings of Headroom (version 0.40), an established open-source compressor, on the same benchmark. Requests over 200K tokens became about 15 times rarer, which also keeps the agent further from the edge of its context window.

    Two caveats. We measured on GPT-5.5, before GPT-6.2 shipped, and haven’t published GPT-6.2 numbers yet. And Kompressor works with either an OpenAI API key or a ChatGPT plan, but our measurements are on API bills, where every token has a published price. We haven’t measured how it affects plan allowances.

    Setup is one command: kompressor wrap codex. The full methodology and per-task results are in Part 1 of the series.

    Measure the savings on your own traffic

    Turn on Kompressor in the OptScale AI gateway and every agent behind it saves from the next request, with no client changes. Every saving is measured on your real bill, net of provider caching.

    7. Keep an eye on runaway sessions

    Check Settings → Usage before a large task, and again whenever usage jumps for no obvious reason. An agent stuck in a loop, polling a long job or retrying a failing command can drain a window while you’re away. On a personal plan, the usage window itself is often the only brake. Teams need limits per agent.

    For teams: subscriptions, API keys and the number that matters

    Inside a company, choosing a plan is rarely the hard part. Knowing what the money buys is.

    Subscriptions give each developer a predictable price, but the pool’s size isn’t published and its rules can change within a week. API keys bill every token at a published rate, which makes spend easier to forecast, but a token count still says nothing about results. Neither tells you whether the code an agent wrote got merged, passed review or was reverted a week later.

    That is the gap OptScale AI is built for. It sits as a gateway between your teams and every model provider, attributes spend to teams, models, agents and keys, and joins it with outcomes from GitHub and Jira, so cost per merged PR and cost per feature become numbers you can report. Kompressor runs inside the same gateway, so every agent behind it saves on tool output with no client changes. Agent limits on cost, time and recursion stop runaway loops before they reach the invoice, and savings are reported per lever, net of provider caching, so you can see which change actually paid off.

    The bottom line

    Plan limits will keep moving. Providers rebalance them as models, demand and costs change, and this autumn they moved in both directions within weeks. The mechanics underneath stay the same: agents re-send their history, tool output makes up much of it, and caching rewards anything that keeps it stable. Send less, keep it stable and measure what each task costs, and the next change to the rules will matter a lot less.

    ‍

    See cost per task, not cost per token

    Route your coding agents through OptScale AI to see what every team, model and agent spends, cap runaway agents before they reach the invoice, and connect every dollar to merged PRs.

    Frequently asked questions

    Does ChatGPT chat count against my Codex limit?

    From December 2026, yes, on Plus, Pro and Business plans: ChatGPT and Codex will share one token-based allowance. Instant chat is the exception and doesn’t draw from it. OpenAI hasn’t given an exact start date, and a small group of users already has the combined system.

    Did OpenAI cut Codex limits by 40%?

    Not exactly. It fixed a launch-week error that undercounted GPT-6.2 Astra and Sol usage. The same work now reaches the limit 40% faster on Astra and 25% faster on Sol than in that first week, which means roughly 29% and 20% less work per allowance. Other models weren’t affected, and OpenAI says GPT-6.2 still goes further than GPT-6 Astra and GPT-6.1 Sol.

    Does this affect the OpenAI API?

    No. API usage is billed separately at API rates and isn’t part of the plan allowance.

    Why does Codex use so much allowance on small requests?

    Because the request isn’t small by the time it reaches the model. Every turn re-sends the whole conversation, and about half of it is tool output. Long sessions, higher reasoning settings, Fast mode and multi-step tasks all add to it.

    Does switching models restore my allowance?

    No. In a shared pool, switching models doesn’t restore any allowance. At the limit, you can wait for the reset, apply a banked reset if you have one, upgrade, or continue with eligible credits.

    Will compressing context make the agent worse?

    It depends on how you do it. Summarising or dropping words can hide details the agent needs later, and can break prompt caching. Deterministic compression that keeps every distinct line and makes removed text retrievable didn’t change the solve rate significantly in our Codex benchmark (81.1% vs 82.2%).

    Does Kompressor work with a ChatGPT plan?

    Yes. kompressor wrap codex works with an OpenAI API key or a ChatGPT plan. We measure our published savings on API bills; we haven’t measured the effect on plan allowances.