Repository navigation
Description
Summary
On Codex CLI v0.163.0 with a ChatGPT Plus subscription, a single coding task (initial request followed immediately by continue) depleted an otherwise freshly reset 5-hour usage allowance in approximately 3 minutes 24 seconds, with ~2.33 million cumulative tokens consumed in the existing session.
This is a data-backed report based on /status and local session JSONL token_count telemetry. I cannot tell whether the root cause is abnormal agent/context amplification, incorrect accounting of cached tokens, or an expected but impractically high cost of Astra High. Please investigate.
Environment
- Codex CLI: 0.163.0
- Model: GPT-6-Astra
- Reasoning level: high
- Plan: ChatGPT Plus
- Backend displayed: Local background server
- OS: Linux
- Existing coding thread with substantial accumulated context
Reproduction / observed events
All timestamps UTC on 2026-10-20:
| Time | Observed event |
|---|---|
| 18:01:41.637 | response_item user input_text: 1,010 characters |
| 18:01:41.666 | response_item user input_text: 8 characters (continue), 29 ms later |
| 18:01:47.927 | First recorded token_count in the run; primary 5-hour limit 0% used; cumulative token count 11,583,657 |
| 18:02:46.321 | 5-hour limit 25% used |
| 18:03:48.218 | 5-hour limit 51% used |
| 18:04:15.605 | 5-hour limit 72% used |
| 18:05:05.004 | 5-hour limit 97% used; cumulative token count 13,825,647 |
| 18:05:05.369 | Rate-limit value became unavailable (N/A) |
| Afterward | /status reported 0% of 5-hour quota left, with 52% of weekly quota left |
The previous session cumulative token count, immediately before the first model response, was 11,499,593, so the incremental total across this one task was:
13,825,647 - 11,499,593 = 2,326,054 tokens.
These are cumulative tokens processed, not unique prompt text, and do not prove equivalent billable token amounts.
Individual internal model interactions repeatedly had ~84,000–100,000 input tokens, mostly cached. For example, one late token_count record reported:
input_tokens: 99,623
cached_input_tokens: 99,200
output_tokens: 21
The two near-simultaneous user response_item records were an original request and continue on the same task, not two separate substantial tasks. No further user input was logged between 18:01:41 and 18:05:05.
Expected vs actual
Expected: A relatively ordinary coding task, even with significant context, should have predictable rate-limit cost or a warning / guardrail before exhausting an entire 5-hour Plus allowance.
Actual: The 5-hour allowance dropped from fully available to exhausted in ~3m24s as the agent repeatedly reprocessed a large context. The task required only ~1,018 characters of combined user inputs.
Questions / requests to maintainers
- Is repeated processing of ~100k tokens of mostly cached context on every internal model call expected for Astra High in Codex CLI?
- Is quota metering for
cached_input_tokensoperating as intended? - Could runaway agent continuations / long-context replay be capped, warned about, or made more transparent before a 5-hour limit is exhausted?
- Can OpenAI investigate the server-side accounting and potentially restore incorrectly consumed usage allowance?
I can provide the exact session ID and raw JSONL privately to OpenAI support if requested, but have intentionally omitted personal account information, unique session identifiers, repository paths, and prompt/source-code contents from this public issue.
Related: #43201 (Astra rapid quota consumption), #44305 (context snowballing and multi-million-token amplification).
Activity
github-actions commentedon Oct 20, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action