You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Codex App consumes rate limit on startup without any user action #22073
What version of the Codex App are you using (From “About Codex” dialog)?
Version 26.506.31421 (2620)
What subscription do you have?
plus
What platform is your computer?
Darwin 25.4.0 arm64 arm(macbook m4)
What issue are you seeing?
When I reopen the Codex app after some time, usually after around 24 hours or after leaving it closed for a long period, it automatically consumes my rate limits without any user action. Around 6% to 8% of my 5-hour limit and around 1% to 2% of my weekly limit get used just by opening the app. I do not send any prompt, edit any file, run any command, or ask Codex to perform anything. The expected behavior is that rate limits should only be consumed when I actually submit a prompt or Codex performs a requested action.
What steps can reproduce the bug?
Check the current Codex app 5-hour rate limit and weekly rate limit usage.
Quit the Codex app completely.
Leave the app closed for a long period, for example around 20-24 hours.
Reopen the Codex app.
Do not send any prompt, edit any file, run any command, or start any task.
Check the rate limit usage again.
After reopening the app, my 5-hour rate limit increases by around 6% to 8%, and my weekly limit increases by around 1% to 2%, even though I did not perform any action.
I do not have a code snippet because this happens just by launching the Codex desktop app. I can provide screenshots showing the rate limit usage before and after reopening the app.
What is the expected behavior?
Opening or reopening the Codex app should not consume any 5-hour or weekly rate limit by itself. Rate limits should only be consumed when I submit a prompt, start a task, edit files through Codex, run a command, or explicitly ask Codex to perform an action.
I am seeing the same class of issue on Windows, with an additional pattern: the quota appears to decrease not only on startup/restart, but also when opening existing sections/sessions, before sending any prompt.
Environment:
Codex App: 26.506.31421 (2620)
Embedded codex.exe: 0.130.0-alpha.5
Platform: Windows 11 Home, 10.0.26200, x64
Subscription: ChatGPT Plus plan usage windows shown in the Codex app UI
Observed today (2026-05-11, Asia):
This was my first Codex message of the day.
I expected the 5-hour window to be at 100% remaining and the weekly window to be around 20% remaining.
Immediately after opening Codex, before doing any work, the 5-hour remaining value was already 99% instead of 100%.
After opening a section/session, the 5-hour remaining value dropped from 99% to 97%, and the weekly remaining value dropped from 20% to 19%.
After fully closing and reopening Codex, the 5-hour remaining value continued to drop by another ~1-2% without submitting any prompt.
Opening other sections/sessions appeared to trigger additional ~1-2% decreases.
Overall, before meaningful user work, the 5-hour remaining value had decreased by roughly 10%+ and the weekly remaining value by about 2%.
Local checks I ran while investigating:
No common dev-server listener was present on ports.
Codex-spawned local MCP/helper Python processes were present, but a short CPU delta sample showed them at 0.00 CPU seconds; node_repl was also effectively idle.
The only active Codex processes showed light app activity, not a heavy background job.
This looks very similar to #21966 as well: either hidden/background app-server work is consuming shared usage, or the UI/backend is reconciling/attributing usage incorrectly. The important part from the user perspective is that the 5-hour and weekly percentages changed before any prompt, command, edit, or explicit task was submitted.
Expected behavior:
Launching/relaunching Codex and opening existing sections/sessions should not consume 5-hour or weekly usage by itself.
If startup/session hydration/indexing/memory/sync does consume quota, the UI should attribute it explicitly so users can see what happened.
This issue is a few months old, but I started experiencing the same problem after the latest Codex update.
In my case, simply opening existing conversations appears to consume the weekly limit. I did not send any messages, start any tasks, run any commands, or edit any files.
I opened around 10 existing conversations just to check their contents, and my weekly limit dropped by 1%.
A few hours later, I repeated the test:
Checked the weekly limit.
Completely closed and reopened Codex.
Opened the existing conversations again without sending anything.
The weekly limit dropped by another 1%.
Since the tests were performed several hours apart and the same result occurred twice, this does not look like delayed usage reporting or a simple display refresh.
This started only after the latest update. It looks like opening/resuming existing conversations may now trigger some background model usage or incorrect rate-limit accounting.
Platform: Windows
Codex version: [Version 26.715.72359]
Please let me know which logs would be useful for diagnosing this.
Adding a datapoint with precise timings from macOS (Darwin 25.6.0, arm64), Codex Desktop 152.0.7977.83 with embedded codex CLI 0.154.0-alpha.6.2, ChatGPT Plus.
Setup caveat for transparency: this machine runs a multi-account setup (one CODEX_HOME profile per account; my own open-source account manager, AgentHub-AiGoodBro, swaps the shared ~/.codex/auth.json). The currently logged-in account is the one whose limits get consumed. That manager also has an optional "warm-up" pinger, but each ping is a minimal single-turn "hi" request with empty instructions, which cannot account for the 20%+ jumps below — and consumption stopped exactly when the Codex app was quit, while the manager kept running. The burst pattern otherwise matches the reports above and the weekly-window issues (#44339, #43574) exactly.
Timeline (local time, UTC+8; quota percentages from the same snapshot data the app displays, polled every 1–4 minutes):
03:29 — switched to another account of the same plan; the Codex app relaunched at 03:32:51 (relaunch happens on account switch). A new codex app-server child spawned at 03:32:52 and re-opened the ~94 MB rollout of a previous conversation (started the night before; 2 user messages total; ~10.6M cumulative tokens, video attachments included).
03:35–03:36 — 5-hour window jumped 0% → 22% with no prompt sent. No user message existed in the app at this point; the only rollout activity was session-restore bookkeeping (thread_settings_applied events).
03:39–03:42 — further jumps to 56% → 89% (5-hour), while the weekly window climbed 82% → 96%. The app sat idle the whole time.
03:40 — my only in-app action: sending "pause all tasks". This itself opened a new billed session (a new rollout file appeared at 03:40:39).
03:43 — quit the app and killed the orphaned codex app-server processes → consumption stopped immediately (two readings 40 seconds apart: identical numbers; zero codex processes left; no new rollout files).
Takeaways:
Consumption occurred on app relaunch + restoring an existing large conversation, before any prompt — consistent with the "opening existing conversations consumes weekly limit" reports above.
Every message sent in the app is itself a new billed session — even a "pause everything" request costs quota, which makes in-app mitigation self-defeating.
Net damage in ~10 minutes of zero real work: 5-hour 0% → 96%, weekly 82% → 97%.
Happy to provide sanitized rollout excerpts or the full polling log if useful.
Activity
github-actions commentedon May 11, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
show940125 commentedon May 11, 2026
I am seeing the same class of issue on Windows, with an additional pattern: the quota appears to decrease not only on startup/restart, but also when opening existing sections/sessions, before sending any prompt.
Environment:
Observed today (2026-05-11, Asia):
Local checks I ran while investigating:
node_replwas also effectively idle.This looks very similar to #21966 as well: either hidden/background app-server work is consuming shared usage, or the UI/backend is reconciling/attributing usage incorrectly. The important part from the user perspective is that the 5-hour and weekly percentages changed before any prompt, command, edit, or explicit task was submitted.
Expected behavior:
pourdamghani commentedon May 13, 2026
Same issue on Mac, just after opening the Codex after a day. If there are some background processes, there should be an option to toggle them off...
udrewicz commentedon Jul 23, 2026
This issue is a few months old, but I started experiencing the same problem after the latest Codex update.
In my case, simply opening existing conversations appears to consume the weekly limit. I did not send any messages, start any tasks, run any commands, or edit any files.
I opened around 10 existing conversations just to check their contents, and my weekly limit dropped by 1%.
A few hours later, I repeated the test:
Checked the weekly limit.
Completely closed and reopened Codex.
Opened the existing conversations again without sending anything.
The weekly limit dropped by another 1%.
Since the tests were performed several hours apart and the same result occurred twice, this does not look like delayed usage reporting or a simple display refresh.
This started only after the latest update. It looks like opening/resuming existing conversations may now trigger some background model usage or incorrect rate-limit accounting.
Platform: Windows
Codex version: [Version 26.715.72359]
Please let me know which logs would be useful for diagnosing this.
BLACKIELF commentedon Sep 17, 2026
Adding a datapoint with precise timings from macOS (Darwin 25.6.0, arm64), Codex Desktop 152.0.7977.83 with embedded codex CLI 0.154.0-alpha.6.2, ChatGPT Plus.
Setup caveat for transparency: this machine runs a multi-account setup (one
CODEX_HOMEprofile per account; my own open-source account manager, AgentHub-AiGoodBro, swaps the shared~/.codex/auth.json). The currently logged-in account is the one whose limits get consumed. That manager also has an optional "warm-up" pinger, but each ping is a minimal single-turn"hi"request with empty instructions, which cannot account for the 20%+ jumps below — and consumption stopped exactly when the Codex app was quit, while the manager kept running. The burst pattern otherwise matches the reports above and the weekly-window issues (#44339, #43574) exactly.Timeline (local time, UTC+8; quota percentages from the same snapshot data the app displays, polled every 1–4 minutes):
codex app-serverchild spawned at 03:32:52 and re-opened the ~94 MB rollout of a previous conversation (started the night before; 2 user messages total; ~10.6M cumulative tokens, video attachments included).thread_settings_appliedevents).codex app-serverprocesses → consumption stopped immediately (two readings 40 seconds apart: identical numbers; zero codex processes left; no new rollout files).Takeaways:
Happy to provide sanitized rollout excerpts or the full polling log if useful.