Codex Desktop repeatedly fails with model capacity errors during long tasks and compaction
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
Environment
- Windows 11 Home, 64-bit, build 26200
- Official Codex Desktop/OpenAI connection; no custom model provider
- ChatGPT Pro
- Codex Desktop product version:
153.0.8010.36 - Installed package path indicates build
26.911.7940.0 - Codex session CLI version:
0.155.0-alpha.2.6 - Current configured model:
gpt-5.6-sol - Model provider recorded in session metadata:
openai
Issue
For several days, long-running Codex tasks intermittently fail with:
Selected model is at capacity. Please try a different model.
codex_error_info: server_overloaded
Local Codex session logs confirm the following occurrences:
| Date | Confirmed capacity errors |
|---|---|
| 2026-09-08 | 5 |
| 2026-09-11 | 2 |
| 2026-09-17 | 10 in one long-running session |
The failures commonly occur after a tool or shell operation has completed, when the model should continue. New short tasks can sometimes work normally while an existing long task fails repeatedly.
The UI also reported:
Error running remote compact task: Selected model is at capacity.
I could not find that exact phrase in the local JSONL session records, so please correlate it with server-side diagnostics. The local records do confirm the server_overloaded capacity failures.
Impact
Long-running research workflows become unreliable because the task cannot continue after tool calls or automatic context compaction. Users may need to reconstruct context and resume manually.
Requested investigation
- Check model-capacity routing for long-running sessions and whether it differs from short tasks.
- Check remote-compaction retry/fallback behavior.
- Check whether completed tool-call state is preserved when model continuation fails.
- Check whether this Desktop/CLI version combination is associated with the issue.
Feedback ID
Not yet available. The in-app /feedback entry could not be reached from the current desktop state; I will add the Feedback ID if it becomes available.
No API keys, tokens, cookies, project contents, or private file paths are included in this report.
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 local JSONL session records and the remote compact task path, then trace how server_overloaded is handled after tool or shell completion. Reproduce a long-running task and compare it with a short task, checking retry/fallback and preservation of completed tool-call state. Done means the failure is correlated with diagnostics and its handling is corrected or clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- ai, backend, desktop, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100