Skip to content

Codex quota drains abnormally fast even on trivial cached prompts #51088

Open

Description

@kapcina69

For roughly the last month, my Codex 5-hour usage limit has been draining dramatically faster than before, to the point where I can now complete only a small fraction of the coding work I used to be able to do within the same allowance.

This does not appear to be caused by a specific model, repository, VS Code extension, or coding workload. I can reproduce it in the standalone Codex CLI with a trivial prompt and no tools.

Environment:

  • Windows
  • ChatGPT Plus
  • Codex CLI 0.160.0
  • Standalone CLI / codex-tui
  • Fresh/simple session
  • No repository analysis
  • No file reads
  • No shell commands
  • No build/test tools

Minimal reproduction:

I repeatedly sent:

Say hello

18 times.

According to the local Codex JSONL session log, those 18 trivial turns resulted in:

  • 287,074 input tokens
  • 276,352 cached input tokens
  • 10,722 non-cached input tokens
  • 161 output tokens
  • approximately 96.3% cache hit rate
  • 5h server-side usage increasing from 49% to 52%
  • 7d usage remaining at 55%

The input per turn stayed roughly stable, around 15.8k–16.1k tokens, so this does not appear to be caused by runaway context growth. The conversation history only increased the prompt size slightly from turn to turn.

The 5h usage values are not inferred from the UI. They come directly from the server-side values stored in the local JSONL log under:

payload.rate_limits.primary.used_percent

The relevant session ID is:

01a10be3-c7ac-7dc3-91a7-cfb0597d4841

What is especially concerning is that almost all of the input was cached, yet the 5h allowance still increased by about 3 percentage points for a workload that produced only 161 output tokens and performed no useful coding work.

I also tested lighter models, including GPT-5.5 Light, and the abnormal drain remained. Therefore this does not appear to be specific to GPT-5.6 Sol.

I initially suspected the VS Code extension because I had previously seen the same behavior there, but the standalone CLI reproduces it as well, so the problem does not appear to be limited to the VS Code bundled runtime.

In real coding sessions, one user request can generate many model/tool/model iterations, so this behavior becomes much more severe. In practice, my Codex allowance now disappears dramatically faster than it did about a month ago, even though my workflow has not changed significantly.

I also have older Codex session logs from August and September. Comparing them with recent sessions shows that the relationship between processed tokens and 5h quota usage has become substantially worse over time. Earlier sessions often processed significantly larger contexts while consuming the rate limit much more slowly.

This looks less like a normal context-size issue and more like a possible regression or change in server-side quota accounting / request weighting. Possible areas worth checking include:

  • cached input token weighting
  • per-request or per-agent-step quota accounting
  • changes in how repeated agent/model calls are charged against the 5h allowance
  • account-level metering regressions

Expected behavior:

A trivial, heavily cached prompt with no tools, no repository analysis, no reasoning-heavy task, and only a few output tokens should not consume the 5h allowance at this rate.

Actual behavior:

Even repeated trivial prompts consume several percentage points of the 5h allowance, while real programming tasks drain the allowance extremely quickly.

Could the Codex team inspect the backend metering for the session ID above and confirm whether this quota consumption is expected? I can provide the complete JSONL session log and older session logs for comparison if needed.

Activity

  1. added
    bug
    CLI
    rate-limits
    on Oct 5, 2026
  2. github-actions commented on Oct 5, 2026

    @github-actions
    Contributor
  3. Oleg-125 commented on Oct 11, 2026

    @Oleg-125

    I can independently confirm a very similar quota-drain issue on ChatGPT Plus / Windows / Codex CLI 0.162.1 / GPT-6.1 Sol Medium.

    I reconstructed the affected period directly from Codex's own local rollout rate_limits telemetry.

    On Oct 10, 2026 (Europe/Sofia, UTC+3), one continuous session showed:

    19:48:30

    • 5h used: 18%
    • weekly used: 7%

    20:23:24

    • 5h used: 99%
    • weekly used: 20%

    That is:

    • +81 percentage points of the 5-hour allowance
    • +13 percentage points of the weekly allowance
    • in only 34 minutes 54 seconds

    Both snapshots had the same 5h and weekly reset timestamps, so this was not caused by crossing into a new quota window.

    I saw similar abnormal behavior again on Oct 11. In another approximately 40-minute review/testing session, usage went from essentially a fresh allowance to:

    • 67% of the 5h allowance consumed
    • 10% of the weekly allowance consumed
    • only 215K context used at the end

    Codex reported the following token telemetry for that affected session:

    total=287,812
    input=232,120
    cached input=14,130,560
    output=55,692
    reasoning=19,068

    For comparison, I have a previous substantially larger Codex session reporting:

    total=785,051
    input=633,340
    cached input=33,632,512
    output=151,711
    reasoning=100,384

    So the affected session used only about:

    • 37% as many non-cached total tokens
    • 42% as many cached tokens
    • 19% as many reasoning tokens

    as the previous larger session, yet the quota burn was extremely high.

    The Oct 10 rollout logs also bracket a banked Full Reset I had to use during the abnormal period:

    10:55:29:

    • 5h used: 30%
    • weekly used: 98%

    12:21:41:

    • 5h used: 0%
    • weekly used: 0%

    I have already provided the raw rollout rate_limits JSON, timestamps and affected session IDs to OpenAI Support, and the case has been escalated to a support specialist.

    The behavior appears closer to normal now, but the abnormal accounting persisted for hours on Oct 10–11 and already consumed significant quota plus one banked Full Reset.

    This looks like a server-side quota accounting / weighting regression rather than normal task-complexity variation.
    This may also be related to #51604 and #51951.

  4. sentrybottale commented on Oct 18, 2026

    @sentrybottale

    Additional report of this quota-drain problem, apparently regressed around October 16, 2026.

    Observed (October 18): A simple Codex prompt now consumes approximately 10 percentage points of the displayed usage allowance in one turn. This behavior reportedly reappeared about two days ago after improving previously.

    Expected: Small, simple prompts should not abruptly burn such a large share of the quota without a corresponding change in actual usage or clearly communicated limits.

    Request: Please investigate whether a rollout or change to usage accounting, caching, or effective rate limits around October 16 caused this regression. Compare actual server-side usage metering for a trivial prompt against the client-reported tokens and quota delta.

    The exact model, client version, and whether the relevant quota display is the 5-hour or weekly limit were not captured, so I am not inventing those details.

  5. VecnyTeoretik commented on Oct 18, 2026

    @VecnyTeoretik

    I can independently confirm a very similar issue on Fedora Linux / ChatGPT Plus / standalone Codex CLI 0.163.0 on October 18, 2026.
    Model: gpt-5.6-sol
    Reasoning effort: high
    This is not inferred from the Usage UI. I reconstructed the affected period directly from local Codex rollout JSONL, including the server-provided payload.rate_limits.primary.used_percent.
    Observed workload

    • 130 token_usage_record responses
    • 14,025,250 input tokens
    • 13,690,240 cached input tokens
    • 335,010 uncached input tokens
    • 57,982 output tokens
    • 20,528 reasoning output tokens
    • weighted input cache ratio: 97.61%
      5-hour allowance
    • 2026-10-18 10:25:41 UTC: 0% used
    • 2026-10-18 12:15:36 UTC: 52% used
      This was normal Linux system-configuration work with many tool/model iterations. There was no other Codex/Work activity or scheduled task running in this 5-hour interval.
      The work was split across two backend thread IDs because I resumed the same logical workflow:
    • thread A: 65 responses, 5.20M input / 5.06M cached
    • thread B: 65 responses, 8.82M input / 8.63M cached
      Both threads used gpt-5.6-sol with high reasoning.
      The rate-limit progression correlates directly with the requests. During the later part of the work, individual model iterations repeatedly processed approximately 189k–190k input tokens, almost all cached, while producing only roughly 100–250 output tokens.
      Example:
      input=189242, cached=188928, uncached=314, output=190
      Around this sequence, the 5-hour server meter increased from 48% to 49%.
      I have used Codex for comparable Linux setup workflows previously without anything close to this rate of quota depletion.
      This looks very similar to the Oct 10/11 telemetry already reported in this issue, and may also be relevant to the apparent Oct 16–18 regression reported in Codex quota drain: weekly usage 26%→67% during one turn and its subagents #54995.
      Could the team check whether cached-input weighting, per-agent-step weighting, or another server-side quota-accounting change is causing this on Linux CLI as well?
  6. pietertal commented on Oct 19, 2026

    @pietertal

    Have the same issue since Saturday, 17 October 2026. Plus user, using GPT 6, Luna, Medium it used up my 5 hour usage in less than 10 minutes.

  7. AIgoYuri commented on Oct 23, 2026

    @AIgoYuri

    Adding an independent report (October 23, 2026) from a ChatGPT Plus user.

    Setup

    • Model: GPT-6 Luna Max
    • Fast mode: OFF
    • Usage: my ordinary day-to-day coding workflow, without an intentional change in speed mode or model

    Observed change

    • Before: roughly 5 hours of normal usage consumed less than 50% of the displayed 5-hour allowance.
    • Now (after the recent update): roughly 3 hours of comparable usage exhausts 100% of that allowance.
    • Based on elapsed usage time alone, the average drain appears to have risen from <10 percentage points/hour to ~33 percentage points/hour — more than 3.3x as fast.

    This was noticed on October 23 (China local date). I cannot establish that the update caused the change. These are my usage observations, not a controlled token-by-token benchmark, and I have not yet collected matching before/after session logs.

    Expected: Comparable workloads at the same model and speed settings should have reasonably consistent, explainable allowance consumption.

    Could the maintainers check whether the effective allowance, per-request weighting, cached-context accounting, or server-side metering changed recently for GPT-6 Luna Max without Fast mode? I can provide usage screenshots and client-version information for follow-up if needed.

  8. tonyb760 commented on Oct 24, 2026

    @tonyb760

    I observed the same pattern from yesterday.
    I have been running the identical workflow and previously never reached the 5-hour limit.
    Yesterday, using the same model and reasoning (Luna 6 Max), the limit arrived in roughly 3.5 hours.
    I am wondering what has changed.

  9. xu62u4u6 commented on Oct 28, 2026

    @xu62u4u6

    Additional data point from a ChatGPT Plus / Linux / VS Code Codex user on 2026-10-28 (Asia/Taipei, UTC+08:00). This was a real multi-step coding workload, not a trivial-prompt reproduction like the original report; I am sharing it to help investigate whether the observed quota depletion is expected.

    Server-reported quota snapshots from Codex rollout JSONL event_msg.token_count.payload.rate_limits:

    • 13:51:52: primary (5h) 0% used; secondary (weekly) 75% used
    • 14:20:13: primary (5h) 99% used; secondary (weekly) 91% used
    • Elapsed: 28m 21s; changes: +99 percentage points (5h) and +16 points (weekly).
    • Primary reset timestamps differed by only 13 seconds; secondary reset timestamp was identical at both endpoints. Thus this is not a mid-sample reset.

    Local usage over a slightly wider 13:50–14:25 window, reconstructed from cumulative JSONL token-counter deltas across three sessions:

    • ~9,562,305 total tokens, including 8,693,248 cached-input tokens (~91%).
    • Resumed long-running VS Code session (started Oct 5, gpt-6-astra): 5,227,638 tokens; 42 token events; 37 tool calls and 4 completed tasks in the sampled period.
    • New VS Code session (started 13:54, gpt-5.6-sol): 4,116,329 tokens; 38 token events; 33 tool calls and 3 completed tasks.
    • One other session: 218,338 tokens.
    • Median per-event cached input in the two large sessions was about 123K and 102K tokens respectively; local logs show no exact duplicate token-event records, although some cumulative snapshots were unchanged.

    This demonstrates substantial long-context, tool-heavy activity, so I cannot conclude the server-side quota accounting is incorrect from these observations alone. However, the entire 5-hour allowance was depleted in under 30 minutes, and I would appreciate confirmation that the 5h and weekly quota weighting and cached-context treatment are operating as intended, especially when resuming old VS Code sessions.

    Full session IDs / unredacted logs can be provided privately to OpenAI Support if needed; I am omitting identifiable machine/project details from this public comment.

  10. Xivi08 commented on Nov 8, 2026

    @Xivi08

    Adding another report from a ChatGPT Plus subscriber.

    Over approximately the past two weeks (late October to early November 2026), my Codex usage allowance has been depleting noticeably faster than before, despite no comparable increase in my normal workload. The practical amount of work I can get done before hitting the limit has dropped significantly.

    I don't have a controlled token-by-token comparison yet, so I can't say whether this is a metering bug, a change in request weighting, or something else. However, the timing and symptoms are consistent with the reports in this issue.

    Could the Codex team please investigate whether anything changed in quota accounting (including cached-token weighting), clarify whether the effective limits were adjusted, and correct any incorrectly counted usage if a regression is found? As a paying subscriber, I would also appreciate transparent communication about changes that materially affect the available usage.

  11. Xivi08 commented on Nov 28, 2026

    @Xivi08

    Follow-up (November 28, 2026): still affected.

    I reported this on November 8 as a ChatGPT Plus subscriber. Twenty days later, my Codex allowance is still being depleted much faster than it used to be. This started in late October, so it predates the recent GPT-6.2 usage changes. I have not seen a maintainer response to my original report or a confirmed resolution in this thread.

    Could the Codex team please provide an official update on the investigation, clarify whether effective quota capacity or accounting weights changed in October, and explain how affected subscribers can have their account usage reviewed? If incorrect metering or an entitlement regression is confirmed, I request restoration of the lost allowance or appropriate compensation.

    I would also appreciate transparent, auditable per-task usage information. I am linking this report to the collective tracker #41220 so these reports can be investigated together. I do not have a controlled token-by-token benchmark and am not claiming that every report has the same root cause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIbugrate-limits

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions