codex icon indicating copy to clipboard operation
codex copied to clipboard

Keep getting "Selected model is at capacity. Please try a different model" even though usage is still available.

Open garshythoel opened this issue 2 days ago • 6 comments

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.1123.101703

What subscription do you have?

Pro 200

What platform is your computer?

Darwin 27.0.0 arm64 arm

What issue are you seeing?

I have not been able to use Codex at all - every turn takes 5-6 minutes and keeps stopping due to it saying the model is at capacity.

What steps can reproduce the bug?

Feedback ID: 01a0ef09-30d5-7920-9f44-6e5f84624d94

What is the expected behavior?

Another agent looked at codex's requests

Verified facts

1. What actually happens on the wire

Live trace captures (RUST_LOG=codex_api=trace) and [logs_2.sqlite](file:///Users/harshytgoel/.codex/logs_2.sqlite) show the exact sequence on every failed call:

  1. DNS (172.64.155.209, 104.18.32.47), TLS, and the WebSocket upgrade to chatgpt.com/backend-api/codex/responses succeed in ~400–500 ms (status=101).
  2. The warmup turn succeeds in ~82 ms (server_timing_total_ms: 81.595).
  3. Codex sends the real sampling request; the server acknowledges codex.response.metadata and response.in_progress.
  4. 5–15 seconds later, OpenAI's server terminates the response (for example, response_id: resp_0cd33ce5c5dc81e7016b11e409bdb887d1b391e9dc83738aeb, server_timing_total_ms: 5381.285) with server_overloaded (Selected model is at capacity. Please try a different model.) and a retry delay of 302–375 seconds.
  5. Codex sleeps for that full ~5.5-minute backoff while showing Reconnecting 1/5 / 2/5 and Thinking.

Because roughly 27%–55% of individual model calls fail this way, a single-shot prompt succeeds about half the time, while any multi-step agent turn (5–15+ calls) almost always stalls in 5–30 minute backoff loops or exhausts max_retries=5.

Additional information

No response

garshythoel avatar Dec 03 '26 22:12 garshythoel

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

  • #65124
  • #64970
  • #64466
  • #65196
  • #64632

Powered by Codex Action

github-actions[bot] avatar Dec 03 '26 22:12 github-actions[bot]

same here, since last week

joaoopereira avatar Dec 03 '26 23:12 joaoopereira

Same here, since 02/Dec, any idea why?

AzulEterno avatar Dec 04 '26 02:12 AzulEterno

For those landing here with the same thing since 2 Dec: your trace lines up with how Codex handles this error in its source, which explains the 5–6 minute turns.

  • In codex-rs/protocol/src/error.rs, Selected model is at capacity. Please try a different model. is the ServerOverloaded error. Its retry policy is ServerDirected: Codex doesn't back off on its own schedule, it waits exactly as long as the server tells it to. That's why each failed turn sits for minutes instead of failing fast. Policy-restricted capacity is unavailable uses the same rule.
  • It's a different error from the usage limit (UsageLimitReached), so a full weekly allowance doesn't protect you from it.

What's worth doing while it's happening:

  1. /model to a different model (or codex -m <model> for a new CLI session). Capacity is per model, so it sometimes helps. If every model fails, it doesn't.
  2. Don't reinstall or change your network. Your trace already shows the request reaching the server and failing there.
  3. If you have access to a second ChatGPT account, try it on the same machine. If that one works, put that in your /feedback report. It's the clearest evidence that it's account-side and not your setup.

Disclosure: I keep a one-page summary of this error, what the source says and what to try: https://aireviewready.in/errors/codex-selected-model-is-at-capacity/?s=ghcap

abhi12337 avatar Dec 04 '26 06:12 abhi12337

Same here, and it has been going on for more than a week, every day. Clients: official ChatGPT desktop app (Codex Desktop 26.1123.101703, macOS 26.6.2, Apple silicon) and Codex CLI 0.170; ChatGPT Pro; models gpt-6.2-sol, gpt-6.2-astra and gpt-6-luna.

At best about 20 % of my requests get through, often there is no answer at all. The app and the account are effectively unusable: tasks that normally take two minutes now take two hours or longer. I still have 94 % of my weekly allowance left and will most likely not even manage to use 10 % of it this week, as last week. For a paid plan that is unacceptable.

It is not just one wait per request. After each 5–6 minute wait the model usually gets through a single step, and the next request is rejected again, so a session turns into one long list of "Selected model is at capacity" entries with "Reconnecting…" attempts in between (up to 5 of 5 on November 26). In the session I sent the feedback from, the app log shows 9 rejections across 7 turns within 50 minutes, with only 22–64 seconds of work between the end of one wait and the next rejection.

The log evidence is from the official desktop app itself. Today (2026-12-04, 10:38–11:31 CET) it shows 29 rejections across 7 sessions, each followed by a server-directed wait of 302–371 seconds:

WARN codex_core::responses_retry: stream disconnected - retrying sampling request (1/5 in 359.995133292s) ...
sampling_error=Selected model is at capacity. Please try a different model.

The same error is in my app log on November 24, 25 and 26 as well (14, 15 and 17 times).

As of today I have switched to a Claude subscription. Once this error is resolved I am happy to come back at any time, because I like working with the GPT models more.

Feedback ID (sent from the app with diagnostics): 01a2406b-b09a-7521-81fa-ebdcca34bb7e

backamblock avatar Dec 04 '26 21:12 backamblock

I've been facing the same issue. I thought I was going insane. I tried editing the config, reloading the app, closing it, and checking my internet, my sub, and even my usage all perfectly fine.

DarkStarStrix avatar Dec 05 '26 02:12 DarkStarStrix