Codex VS Code: 100% of five-hour allowance exhausted in 34 minutes using GPT-6.1 Terra with 99.49% cached input tokens
What version of the IDE extension are you using?
0.169.0-alpha.11.1
What subscription do you have?
ChatGPT Plus
Which IDE are you using?
VS Code
What platform is your computer?
Windows host, Linux Dev Container
What issue are you seeing?
On 27 November 2026, my entire five-hour Codex allowance was consumed in approximately 34 minutes, starting with 100% available. My weekly allowance also decreased by 15 percentage points, from 16% used to 31% used.
I regularly use Codex for multi-agent software development workflows. This rate of consumption is unprecedented in my experience.
Diagnostic evidence
Analysis of the parent session JSONL log:
Metric | Value -- | -- Recorded model responses | 353 Total input tokens | 34,449,993 Cached input tokens | 34,275,584 Cache hit rate | 99.49% Uncached input tokens | 174,409 Output tokens | 38,533 Reasoning tokens | 11,784 wait_agent calls | 46 Input tokens associated with wait_agent calls | Approximately 6.13 millionAllowance consumption accelerated substantially following the creation of additional subagents and automatic goal continuation.
The parent agent repeatedly invoked wait_agent with a 10-second timeout, resulting in repeated model requests processing increasingly large cached contexts.
Potential causes requiring investigation
Incorrect cached-token weighting or usage metering.
Excessive model invocations caused by subagent polling.
Automatic goal continuation and context inheritance inefficiencies.
Recent changes to model-specific usage accounting.
I recognise that cached input tokens count towards usage limits and that multi-agent workflows consume additional resources. However, this does not explain the substantial deviation from my established usage patterns.
Related issues
#64133
#59690
#64090
#63141
OpenAI Support confirmed the allowance depletion and directed me to GitHub because the /feedback command in the affected VS Code session produces no visible response or feedback ID.
The complete original session log is available for private engineering investigation. It has not been attached publicly because it contains confidential project information.
What steps can reproduce the bug?
- Start a Codex session in VS Code using GPT-6.1 Terra with medium reasoning.
- Establish an active implementation goal.
- Allow Codex to undertake automatic goal continuation and delegate work to multiple subagents.
- Observe repeated wait_agent calls with 10-second timeouts.
- Monitor token_count events and rate_limits values in the session JSONL log.
These steps describe the observed conditions. A controlled reproduction has not yet been performed.
What is the expected behavior?
Comparable workloads should consume broadly consistent proportions of the subscription allowance, assuming unchanged model, reasoning effort and service tier.
Cached input tokens should be correctly weighted according to the applicable usage accounting rules.
Waiting for subagents should not generate unnecessary model invocations that repeatedly process large contexts.
Please investigate whether the observed consumption is intended behaviour, an orchestration regression or a usage metering defect.
Additional information
No response
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #64133
- #64090
- #63464
Powered by Codex Action
34 minutes for the whole 5 hour allowance is brutal. was that wait_agent polling loop the thing that kept it going, or did it start a fresh run each time?
It was the same parent session throughout, rather than a fresh session for each wait_agent call.
I have re-examined the original JSONL log. There were three execution turns:
- 16:00:32 UTC: initial execution, triggered by the composer.
- 16:06:07 UTC: first automatic goal continuation.
- 16:18:38 UTC: second automatic goal continuation.
- 16:34:47 UTC: usage_limit_exceeded.
Of the 46 wait_agent calls, 44 occurred during the final automatic goal continuation. All used a 10,000 ms timeout.
22 timed out, 23 returned without timing out, and one was aborted before dispatch.
The model requests associated with these calls processed approximately 6.13 million input tokens, almost all cached.
The final automatic continuation alone consumed 84 percentage points of the five-hour allowance in approximately 16 minutes.
This suggests that repeated polling within a long-running parent context was a significant contributing factor, although I cannot establish whether the usage metering itself was correct.
OpenAI Support has confirmed that its available account usage summary cannot establish whether the affected session was correctly metered. I have requested a secure upload link for the original diagnostic log.
16 minutes for 84 points makes the polling loop the prime suspect. does the usage page list that last run on its own.
Independent related observation from 25–26 November 2026 on a Raspberry Pi 5 running Codex. On 26 November a local telemetry snapshot at 49m 31s recorded 257 outer execution calls, two input requests, 52,955,601 total reported tokens including 52,638,080 cached input tokens. A separate 25 November observation recorded roughly 2h 9m, 534 matched tool calls and an increase of roughly 78.7M in a cumulative token counter. Repeated unsuccessful engineering attempts ultimately exhausted the user's allowance.
These are local cumulative telemetry observations, not provider-signed billing records, and the counters are not necessarily directly comparable. In particular, cached token occurrences are not distinct generated tokens or proof of incorrect charging. I have not established that polling caused this incident or that the five-hour allowance was consumed in the same way as the original report.
The common concern is the inability to reconcile individual executions and repeated context processing with allowance consumption. A useful diagnostic would expose timestamped run-level input/cached/output/reasoning counts, model and effort, effective usage deductions or documented equivalents, and termination status. Please investigate resource amplification and accounting transparency independently.