Codex Desktop consumes entire 5-hour allowance in ~20 min — 6.4M input tokens / 69 model requests from ~5 user messages
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- PR merge metrics
- PR metrics pending
Description
Codex Desktop: 5-hour usage exhausted in ~20 minutes
Codex Desktop is consuming my 5-hour allowance extremely quickly during very small tasks.
On September 20, 2026, I used Codex Desktop on macOS to create a simple microsite. The conversation contained only about 5 user messages and lasted roughly 20 minutes, yet the 5-hour allowance was effectively exhausted.
Local Codex telemetry for the session reports:
- 69 model requests
- 6,422,721 input tokens
- 6,202,112 cached input tokens
- 26,731 output tokens
- 96.6% of input was cached
- context grew from approximately 30k to 141k tokens per request
Near the end of the session, Codex was making repeated requests every few seconds with roughly 140k input tokens each, almost all of them cached.
Example final request:
input_tokens: 140,647
cached_input_tokens: 140,160
Codex-reported cumulative total:
{
"input_tokens": 6422721,
"cached_input_tokens": 6202112,
"output_tokens": 26731,
"reasoning_output_tokens": 3612,
"total_tokens": 6449452
}
This was a new, short conversation, not a long existing thread.
I understand that the 5-hour limit represents compute usage rather than five hours of wall-clock time, but this level of consumption seems abnormal and has started only recently.
Could you please check:
- whether the usage deducted from my account was calculated correctly,
- whether cached context is currently being accounted for correctly,
- whether there is a regression causing Codex Desktop to repeatedly replay large contexts,
- whether the 69 model calls for such a small task are expected.
I can provide the original Codex .jsonl session logs if needed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the original Codex .jsonl session logs and local telemetry for the macOS session. Compare the 69 model requests, context growth, cached-token totals, and allowance deduction to determine whether accounting or repeated context replay is responsible. Done means identifying the abnormal behavior and documenting whether the reported usage is expected or a regression.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust
- Domain
- desktop, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100