Codex: Rapid quota exhaustion, local session log timestamps, and lack of control over automatic credit spending
What version of the Codex App are you using (From “About Codex” dialog)?
26.1120.6357.0
What subscription do you have?
ChatGPT Plus
What platform is your computer?
Microsoft Windows NT 10.0.19045.0 x64
What issue are you seeing?
Model: GPT-6.2 Sol
Reasoning effort: Medium
Date observed: November 27, 2026
Investigation update — November 27, 2026
Following a more comprehensive examination of the local JSONL session files, I located the previously suspected missing token usage records.
The available logs contain records for all five completed development tasks from the morning session, including detailed token usage statistics and the transition from the included subscription allowance to purchased credits.
I am therefore withdrawing the original claim that these token usage records were missing.
However, the questions regarding rapid quota exhaustion, local file modification timestamps, and automatic consumption of purchased credits remain relevant.
1. Local JSONL session log modification timestamps
I monitor and analyze token consumption using the local JSONL session files stored under %USERPROFILE%\.codex\sessions\ on Windows.
Initially, I believed that these files had stopped updating reliably around November 26–27, 2026.
After examining the available session files more comprehensively, including files that appeared unchanged according to their modification timestamps, I located the previously suspected missing records.
I observed that the creation and last modification timestamps of several JSONL files remained identical even though their contents contained records of subsequent activity.
One possible explanation is that Windows does not immediately update the last modification timestamp while a file remains open for writing.
This may have caused me to overlook updated session files during the initial collection of diagnostic information.
The exact cause of the timestamp behavior has not been established. I am not claiming that this is a confirmed Codex or Windows bug.
Nevertheless, clarification regarding the expected behavior of local session files and their modification timestamps would be helpful.
An officially supported way to access detailed token usage statistics per task and session would also improve transparency and reduce reliance on manual examination of local files.
2. Rapid exhaustion of usage allowances following a free usage limit reset
On November 27, 2026, I used the free usage limit reset offered by Codex.
Following this reset, at approximately 06:41 UTC, both the five-hour and weekly usage allowances displayed 100% remaining.
I then executed five development tasks:
Task | Execution time -- | -- 1 | 29m 21s 2 | 7m 42s 3 | 10m 41s 4 | 8m 22s 5 | 15m 48s Total | 1h 11m 54sDuring these tasks:
100% of the five-hour usage allowance was consumed.
Approximately 16% of the weekly allowance was consumed.
Codex automatically switched to spending purchased credits before the final task was completed.
The included five-hour allowance was therefore exhausted in less than 72 minutes of actual task execution.
I understand that the five-hour allowance is a resource consumption limit within a time window, not a guarantee of five hours of continuous execution.
However, compared with my previous experience using Codex, the rate of usage allowance consumption appears to have increased significantly.
The recovered local session records now allow me to examine detailed token consumption, including cached and uncached input tokens, output tokens, reasoning tokens, and context compaction events.
However, local session records alone cannot establish whether server-side usage accounting and credit deductions were calculated correctly.
I would appreciate clarification on the following:
Have there been any recent changes to the Codex usage accounting mechanism, model-specific consumption rates, or caching behavior?
Are there any known issues affecting usage accounting following a free usage limit reset?
How can users independently reconcile detailed local token usage statistics with subscription allowance consumption and purchased credit deductions?
Is there an officially supported method for obtaining a detailed breakdown of usage accounting per task or session?
I am not assuming that the free usage limit reset caused the observed behavior. However, the fact that the reported consumption occurred after the reset may be relevant to the investigation.
I am also not claiming that incorrect server-side accounting has been established. An account-specific investigation is needed to determine whether the observed consumption was correct.
3. Automatic credit spending without explicit confirmation
When the included subscription allowance is exhausted, Codex automatically starts consuming previously purchased credits.
There is no confirmation prompt asking whether the user wants to spend credits to complete the current task or wait until the included allowance resets.
Purchasing credits in advance should not automatically imply consent to spend them whenever a subscription limit is reached.
Not every development task is urgent. Users should be able to reserve purchased credits for situations in which continuing immediately is genuinely necessary.
Currently, users must continuously monitor their remaining allowance and manually interrupt running tasks to prevent unwanted credit consumption.
Disabling automatic credit purchases does not solve this problem because it does not prevent the consumption of previously purchased credits.
Requested feature
Please introduce a persistent credit usage preference with three options:
Subscription allowance only: Automatically pause execution when the included allowance is exhausted. Do not consume purchased credits. Allow the task to resume after the allowance resets.
Ask before spending credits: Pause execution before consuming purchased credits and ask the user whether to continue using credits to complete the current task or wait for the included allowance to reset.
Automatically use credits: Continue execution using purchased credits, as Codex currently does.
The pause should preserve the current task state, session context, completed work, and execution progress as far as technically possible.
Resuming a paused task should not unnecessarily repeat completed work or consume additional resources.
The selected preference must be enforced at the product level, rather than relying on instructions given to the model.
Expected outcome
Transparent and officially supported access to detailed token usage statistics.
The ability to independently monitor resource consumption.
Clarification of the observed increase in usage allowance consumption.
Clarification of the expected behavior of local session log modification timestamps.
Explicit user control over the consumption of purchased credits.
The ability to pause and resume tasks without unnecessarily spending credits.
Users should not have to continuously monitor their remaining allowance and manually interrupt running tasks to avoid unwanted credit consumption.
Related issue
The automated duplicate detection system identified the following potentially related issue:
#63141 — [Bug] Entire 5-hour Codex quota exhausted in 8m 30s, with missing session usage records.
Following further investigation, the suspected missing local token usage records in my case have been located.
The remaining potential overlap with #63141 concerns rapid quota exhaustion and usage accounting transparency.
A common underlying cause has not been established.
I would welcome a coordinated investigation of the potentially related usage accounting issues. However, the proposed credit spending controls remain a distinct feature request and should also be tracked and addressed.
What steps can reproduce the bug?
The following steps describe the environment and sequence in which the behavior was observed. It has not yet been established whether the rapid quota exhaustion or timestamp behavior is consistently reproducible.
Open Codex Desktop on Windows using a ChatGPT Plus account.
Select GPT-6.2 Sol with Medium reasoning effort.
Use the free usage limit reset, if available.
Execute several development tasks.
Monitor the JSONL session files under
%USERPROFILE%\.codex\sessions\.Compare their creation and last modification timestamps with the internal timestamps and activity recorded in their contents.
Monitor the consumption of the five-hour and weekly usage allowances.
Observe whether Codex automatically consumes purchased credits without requesting confirmation when the included usage allowance is exhausted.
What is the expected behavior?
Users should have reliable and officially supported access to detailed token usage statistics throughout task execution.
The expected behavior of local session log modification timestamps should be documented or clarified.
Usage allowances and purchased credits should be accounted for correctly, including after a free usage limit reset.
Users should also have a persistent setting to prevent automatic consumption of purchased credits or require explicit confirmation before spending them.
Running tasks should be paused safely and remain resumable after the included allowance resets, without unnecessarily repeating completed work.
Additional information
The original suspicion of missing local token usage records was not confirmed after a more comprehensive examination of the available session files.
A separate request has been submitted to OpenAI Support for an account-specific investigation of the free usage limit reset, subsequent usage allowance consumption, purchased credit deductions, and local session logging behavior.
Additional diagnostic information can be provided privately to OpenAI Support if necessary.
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
- #63141
Powered by Codex Action
Thank you for identifying the potentially related issue.
While #63141 describes similar symptoms regarding rapid quota exhaustion and missing usage information, my report is not a complete duplicate.
My report also addresses the following distinct concerns:
- Local JSONL session files on Windows are no longer being updated reliably, preventing independent analysis of detailed token consumption.
- Rapid quota exhaustion was observed following a free usage limit reset.
- Purchased credits are automatically consumed without explicit user confirmation.
- A persistent, product-level credit consumption setting with three selectable modes is needed.
I have updated the original issue to clarify these differences and reference #63141.
The usage accounting issues may be related, although a common underlying cause has not yet been established.
I would welcome a coordinated investigation, but I would prefer to keep this issue open until the distinct logging and credit consumption concerns have been addressed or assigned to separate tracking issues.
Thank you.
If you're trying to trace where the token quota is spiking across local sessions without waiting on dashboard aggregation, you can parse the local JSONL session logs directly to check turn-by-turn input growth and cached_tokens ratios.
I put together a lightweight, 100% offline metadata script (extract_metadata.py) that reads local JSONL logs (zero network calls, strips all raw prompts/code) and prints an 8-line breakdown of total input tokens, cache hit rates, and where prefix drift is forcing uncached re-reads: https://github.com/Maaz-66/cache-bench
Might help pinpoint which multi-turn loops are burning through your credits fastest.
Thanks for the suggestion! I'm already analyzing the local JSONL session logs, including token usage, cache hit rates, and context compaction events. However, the main concern remains the accuracy of server-side usage accounting and credit deductions, which local log analysis alone cannot verify. I appreciate your input.
Makes complete sense—if server-side billing reconciliation is out of sync with client-side session logs, only upstream usage audit endpoints can close that gap. Good luck getting it sorted!
Investigation update — November 27, 2026
Following a more comprehensive examination of the local JSONL session files, I located the previously suspected missing token usage records, including records for all five completed morning tasks.
The initial misunderstanding may have been caused by selecting diagnostic files based on their last modification timestamps, which did not appear to reflect subsequent activity recorded in their contents.
One possible explanation is the handling of modification timestamps while files remain open for writing. However, the exact cause has not been established.
I have updated the issue title and description accordingly and withdrawn the original claim that the token usage records were missing.
The remaining concerns are:
- Rapid exhaustion of the included usage allowances following the free usage limit reset.
- Transparency and verification of server-side usage accounting.
- Clarification of local session log modification timestamp behavior.
- Explicit user control over automatic consumption of purchased credits.
The account-specific usage accounting investigation remains open with OpenAI Support.
I would prefer to keep this issue open until the remaining concerns have been addressed or assigned to separate tracking issues.
Thank you.