High API error rate during remote compaction; now ALL Codex CLI API calls fail with “high demand” error last ~2hrs

Resolved 💬 19 comments Opened Mar 18, 2026 by n-pinkerton Closed Jun 29, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

v0.115.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.4, gpt-5.3 codex

What platform is your computer?

WSL and Linux vm both give the same error

What terminal emulator and version are you using (if applicable)?

WSL and Xfce

What issue are you seeing?

For about the last five days, I have been experiencing a significantly elevated rate of API failures in Codex CLI, especially when compaction is involved.

The problem first showed up around Friday or Saturday and has progressively worsened. By Monday, my rough estimate was that only about 50% of remote auto-compactions were succeeding. Manual compaction via /compact also frequently failed.

The two most common errors I have seen are:

1. "We're currently experiencing high demand, which may cause temporary errors" 2. "stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses)"

An annoying temporary workaround was to switch to a cheaper, lower-reasoning model, ask for a status report (which appears to trigger a compaction), and then switch back to the original model. That sometimes helped earlier, but it was unreliable.

For roughly the last two hours and counting, the issue became much worse: none of my API calls were succeeding at all, not just compaction-related ones. At that point, every request was failing with the “high demand” error above. I switched to my linux VM and got the same issue.

This appears to be a persistent backend or compaction-path reliability issue affecting both automatic compaction and manual /compact, and in the worst state it seems to affect all API calls in the session.

I already submitted some feedback through Codex CLI while this was happening, but I did not keep the feedback IDs. The version and affected models were supplied separately in the issue form fields.

What steps can reproduce the bug?

Steps to reproduce

  1. Start a normal Codex CLI session and work in it long enough for auto-compaction to be triggered.
  2. Observe whether remote auto-compaction succeeds or fails.
  3. Also try manual compaction using /compact.
  4. Repeat this over multiple attempts in the same general period of elevated failures.
  5. Observe that compaction often fails instead of succeeding reliably.

Common failure messages observed:

Optional workaround that sometimes helped earlier:

  1. Switch to a cheaper, lower-reasoning model.
  2. Ask for a status report, which in my workflow appears to trigger compaction.
  3. Switch back to the original model.
  4. Observe that this workaround was only intermittently successful and eventually stopped helping.

Escalated failure mode:

  1. Continue trying normal API calls after compaction failures begin occurring.
  2. Observe that, in the worst state, even ordinary API calls fail and all requests return the “high demand” error.

What is the expected behavior?

Auto-compaction and manual /compact should complete reliably, and normal API calls should continue working. Temporary backend load should not cause repeated compaction failures over multiple days or escalate into a state where all requests in the session fail over a period of hours.

Additional information

_No response_

View original on GitHub ↗

19 Comments

github-actions[bot] contributor · 4 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #15046
  • #14913
  • #14559
  • #14684
  • #14063

Powered by Codex Action

amalikn · 4 months ago

when is it going to be fixed?

<img width="1066" height="482" alt="Image" src="https://github.com/user-attachments/assets/ae9ba873-89f7-41b1-a786-73b89d6a102b" />

mhtranbn · 4 months ago

Hi, I’m also experiencing this issue throughout the entire day, exactly as described by the original author. I’ve tried both the CLI and the app, and both are consistently failing with the same errors. ( MacOS )

This is quite frustrating as it’s blocking my work.
Do you have any update on when this might be fixed?

Thanks in advance.

Chargeuk · 4 months ago

I am seeing this error now too. compaction is failing on my mac

araekan · 4 months ago

What's the solution for this?

n-pinkerton · 3 months ago

This improved somewhat for me over the following days (never went away, but the remote compaction issue was happening less frequently). But today it has been really bad again. I hit feedback a couple of times.

mhtranbn · 3 months ago

I’m experiencing something very similar. It did improve slightly for me over a few days, but never fully went away, and today it seems to have worsened again. I can imagine many people are struggling with this issue, even if it’s not always visible.

dragonbaba · 3 months ago

same as me

wazionapps · 3 months ago

The same :(

maxdkpowa · 3 months ago

Same here

lianneli · 2 months ago

same here

infiloop2 · 2 months ago

same here

re-gion · 2 months ago

me too

Harvey00150 · 2 months ago

same here

yodaqua · 2 months ago

same here

Azec-Zuckerberg · 2 months ago

same here using azure api inside codex app

Waffleboy · 1 month ago

same here

etraut-openai contributor · 21 days ago

Thanks for reporting this problem. Until recently, Codex used a separate endpoint and server-side logic for compaction. We recently switched to a more robust approach where the compaction logic is moved locally using the same endpoint as normal turns. This eliminates "remote compaction" errors and increases the stability and reliability of compaction operations. If you see further problems with compaction, please use /feedback and open a new bug report.

SparkleLin · 6 days ago

The fix didn't work, issue remains