> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ruapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Codex: “Selected model is at capacity” — what it means, what to do

> “Selected model is at capacity. Please try a different model” in Codex: what it means, how it differs from a subscription limit, and how to carry on with another model.

**Short answer:** “Selected model is at capacity. Please try a different model” means OpenAI's servers told Codex that they can't keep up with the load on this model right now. It's neither an error in your settings nor a subscription limit. Wait and retry, pick another model with `/model`, or work on another developer's model with an API key.

## Where the error comes from

Codex shows this text when OpenAI answers with the code `server_is_overloaded`, either as an HTTP 503 or as an error inside the stream. On a 503, Codex first retries the request a few times and only then shows the error. This is how the Codex source code works ([error.rs](https://github.com/openai/codex/blob/main/codex-rs/protocol/src/error.rs), [api\_bridge.rs](https://github.com/openai/codex/blob/main/codex-rs/codex-api/src/api_bridge.rs), [model-provider-info](https://github.com/openai/codex/blob/main/codex-rs/model-provider-info/src/lib.rs)), checked on 25 November 2026.

When you run out of your subscription limit, the text is different: it mentions the limit (usage limit).

## What to do

**1. Wait and retry**

Overloads often pass on their own. Server status is at [status.openai.com](https://status.openai.com).

**2. Change the model**

Type `/model` and pick another one. If several OpenAI models are overloaded at once, this may not help.

**3. Continue the same session later**

`codex resume --last` opens the most recent session, so you don't have to explain the task again.

## How to work on another developer's model

Codex CLI works not only with a ChatGPT account. With a [RuAPI](https://www.ruapi.ai/?lng=en\&utm_source=docs\&utm_campaign=en-codex-model-at-capacity) key (RuAPI is an independent API gateway), the same `/model` menu has not only GPT but also Claude, DeepSeek, Gemini, Kimi, GLM, Qwen, MiniMax and Grok: if one model is overloaded, you can switch to another company's model without changing the program. It works from Russia without a VPN, and you pay per token: USDT or USDC from 5 USDT, or a card from a foreign bank.

How to connect, with one command or in `config.toml`: see [Codex CLI](https://docs.ruapi.ai/en/integrations/codex.md). How this differs from a subscription: [Codex in Russia](https://www.ruapi.ai/codex-v-rossii?lng=en\&utm_source=docs\&utm_campaign=en-codex-model-at-capacity). You can keep your ChatGPT login and switch between the two with [CC Switch](https://docs.ruapi.ai/en/integrations/ccswitch.md). Codex usually lists sessions of different connections separately, so start a new task in a new session.

## FAQ

> [accordion] Has my account been blocked?
>
> No, this text is about an overloaded model on OpenAI's side, not about your account.

> [accordion] Will a VPN help?
>
> No: the server reports the load on the model; it isn't refusing your address. If access is the problem, the texts are different, for example [Token exchange failed](https://docs.ruapi.ai/en/codex-token-exchange-failed.md).

> [accordion] What if I see “stream disconnected before completion” instead?
>
> That's a different error: the request didn't finish for another reason. See [Codex: stream disconnected before completion](https://docs.ruapi.ai/en/codex-stream-disconnected.md).

## Next

> [card] [Codex CLI setup](https://docs.ruapi.ai/en/integrations/codex.md)
>
> With one command or config.toml.

> [card] [RuAPI error codes](https://docs.ruapi.ai/en/errors.md)
>
> 400, 401, 403, 429 — what they mean and how to fix them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.