Codex resumed turn consumed ~23% of 5-hour allowance largely re-reading context and finalizing report
Problem
A paid Codex user on Windows resumed an existing repository session after the five-hour usage window reset on November 17, 2026, around 10 p.m. America/Denver. The resumed turn primarily reconstructed prior context, read what a separate coding assistant had already changed, and finalized an existing six-page site-walk report. The user observed roughly 11% of the five-hour allowance consumed within the first minute and approximately 22–23% consumed by completion (about 78% remaining).
The user perceived almost no new implementation from this resumed turn: the report's five small local fixes existed on a Codex branch from earlier work and remained unpublished. A separate assistant had already completed and deployed its own fixes. Those separate changes should not be credited to this resumed Codex run.
This is a report of observed account-meter percentages and work output, not independently verified token-level accounting or proof that metering is mathematically incorrect.
Reproduction scenario
- Work in a moderately complex existing web repository with an ongoing Codex thread and a separate assistant that has recently made changes.
- Reach the Codex usage limit; wait for the five-hour window to reset.
- Resume with instructions to review the current state and finish the pending task.
- Codex re-reads/reconstructs previous work and finalizes an audit report; no new substantial coding is apparent during this turn.
- Compare the 5-hour usage meter before/after and while the first minute passes.
User-observed result: ~11% used in one minute, ~22–23% used overall, with little net-new implementation in the resumed run.
Expected product behavior: Reasonable reuse of existing context and task checkpoints; transparent and predictable usage accounting; a way to cap or warn about expensive reconnaissance/re-reading before substantial work starts. The five-hour window is understood to be a quota window, not a guaranteed five hours of continuous model runtime. The concern is the ratio of allowance consumed to useful progress and lack of visibility into why.
What was / wasn't completed
- Existing site-walk report: 6 pages, scoped phone and desktop review.
- Existing Codex branch: five small local fixes, 113 targeted tests reportedly passed earlier, not deployed; their presence in a final report is not evidence of new coding in the resumed turn.
- Separate assistant: distinct fixes had already been deployed, outside Codex.
- Resumed Codex turn: primarily reading/rebuilding situational awareness and finalizing the report.
Requests for investigation
- Correlate the usage meter increase with request, input/cached-input, output/reasoning, tool results, context replay/compaction, and any background actions for this resumed turn.
- Expose a per-turn breakdown showing where included allowance went, especially for large repository reads and reconnect/restart.
- Provide a practical user-configurable usage budget or warning before an expensive read/reconstruction, with checkpoint reuse.
- Review whether significant quota use without meaningful output is expected, an optimization opportunity, or a metering issue; if erroneous, advise on remediation.
This appears related to the existing cross-report tracker #41220, rapid-Astra-depletion report #42987, and measured token-heavy session #60395. I'm not asserting the same root cause as those reports.
No account credentials, private source code, or proprietary project names are included. Exact per-turn token logs and screenshots would need to be provided privately to Support if required.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #61957
Powered by Codex Action
Follow-up: concrete local Codex token accounting from this incident
The user recovered cumulative counters from the Codex logs for the resumed follow-up/deployment session. These values were logged across the run, not distinct newly authored tokens; cached context is counted again when resent to the model.
| Meter point | Cached input | Uncached input | Generated output | Total logged |
|---|---|---|---|---|
| 25% of five-hour allowance used | 20,623,232 | 643,776 | 11,814 | 21,278,822 |
| 34% of five-hour allowance used | 31,690,624 | 656,927 | 15,592 | 32,363,143 |
At the 34% point, approximately 97.9% of all logged tokens were cached input. This does not by itself show erroneous billing: cached input can still use quota, and the exact five-hour limit metering formula isn't established by the local counters. It does show that repeated large-context processing dominated the run while only ~15.6K output tokens were generated.
The earlier standalone site-walk session reportedly logged 115,305,220 cumulative tokens, while the five-hour meter went from 0% to 100% in about 31 minutes. That is a separate session and should not be added to the resumed-run figures as though it were one task.
Engineering-outcome detail: a text-encoding importer defect remained after a prior multi-file spelling correction. In an unrelated, narrowly scoped local test, a Gemma 4 call supplied only relevant source excerpts identified the responsible line with 1,154 input + 500 output tokens. That is not a controlled model-to-model comparison, because the local model had hand-selected source context and a much narrower task; it does illustrate how tightly bounded context can be dramatically more economical for an isolated root-cause investigation.
Specific request: Please examine repeated cached-context replay across Codex actions (especially resume/context reconstruction) and explain why usage can grow so rapidly relative to new task output. A per-turn breakdown of cached vs fresh input, reasoning/output, tool results, and the subscription-quota impact would make this much easier to diagnose. The goal isn't an automatic free quota reset; it's a lasting efficiency/accounting fix.
Not a fix for the metering question, but a workaround for this exact pattern while the team looks at it. Your follow-up log shows most of the logged input was cached context being resent. A resumed thread carries its whole history into every turn, so "review the current state and finish" gets expensive before any new work starts.
What tends to help:
- Before the window closes (or right after the reset), ask Codex to write a short handoff file: what is done, what is left, which files matter, and what the other assistant already shipped.
- After the reset, start a fresh session and give it only that file plus the exact files for the remaining task, instead of resuming the long thread.
- If another tool changed the repo, point Codex at those commits (
git log/git diff <range>) instead of asking it to re-review the whole repository. - Run
/statusbefore the first prompt so you see both the 5-hour and the weekly bar before you spend anything.
On Windows I keep a small local monitor open so both meters stay visible while a turn runs, which makes a jump like your first minute easier to catch early. Disclosure, I build it: CodexFuse, https://iaplabs.itch.io/codexfuse
The handoff-file workaround above is the part we’ve implemented as a shared work record in WorkLedger, which we build at Digital Disruptors.
Before changing sessions, the task can hold what is done, what remains, the decisions, and the actual commits and test evidence. A fresh supported Codex or Claude Code session retrieves that record. Your separate assistant’s deployed fixes can be recorded against its own session, so they don’t become “new work” credited to the resumed run.
That gives you a starting point for the remaining task without manually carrying a handoff file. It doesn’t fix Codex’s quota accounting or guarantee a smaller usage-meter increase; the new session still needs to inspect the relevant code and working tree.
If you’d like to test that workflow with one repository, we offer a free guided 30-day pilot: https://workledger-ai.com/early-access?utm_source=github&utm_medium=referral&utm_campaign=wl-resume-work-record-20261122
Resuming an old session and watching one round eat about 23% of the 5-hour quota — around 11% in the first minute — points straight at the context reload, not the new work. One check that takes a minute: open the usage page and compare that resumed round's token count with a fresh session doing similar work. If the resumed round costs roughly double, that's your leak, and the fix is ending sessions with a short summary so the next one starts light instead of replaying the whole history. Post back what the two counts show — just the token numbers and the model, nothing private — and I can help read the next line.