OpenAI Codex CLI error
Codex CLI: Selected model is at capacity. Please try a different model
Selected model is at capacity. Please try a different model.Status: By designLast verified 2 documented fixes3 sources
What it means
A contributor on #19583: this does not mean you are rate limited or out of usage; it means OpenAI is running low on capacity to serve this model in your region.
Causes
- Temporary server-side capacity shortage for the selected model in your region (contributor statement on #19583).
How to fix it
- Fix 1.
Switch to a different model, as the message says, for example with /model in the CLI.
Slash command/model - Fix 2.
A contributor later said the issue had been mitigated and #19583 is closed; later reports such as #28507 remain open.
More Codex CLI errors
All 14 Codex CLI errorsstream disconnected before completion: stream closed before response.completedStatus: Workaroundstream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses)Status: OpenError running remote compact task: stream disconnected before completion: error sending request for url (https://chatgpt.com/backend-api/codex/responses/compact)Status: Fixed in releaseYour access token could not be refreshed because your refresh token was already used. Please log out and sign in again.Status: Fixed in releaseCodex ran out of room in the model's context window. Start a new thread or clear earlier history before retrying.Status: Fixed in releaseError logging in: Port 127.0.0.1:1455 is already in useStatus: WorkaroundToken exchange failed: token endpoint returned status 403 ForbiddenStatus: WorkaroundMCP client for `playwright` failed to start: program not foundStatus: Fixed in release
Related reading
- Codex Usage Limits and Pricing in 2026: Pro 100, Pro 200, Pro 500, Resets, and 'Model at Capacity' ErrorsCodex usage limits and pricing per ChatGPT plan: what Plus, Pro $200 and Pro $500 buy, how resets work, and what to do about 'Selected model is at capacity'.
- Droid vs Codex (2026): Factory vs OpenAI for Terminal Coding AgentsFactory Droid vs OpenAI Codex compared on models, pricing, headless CI, multi-agent work, extensibility and openness, with a clear recommendation for each kind of developer.
- Codex CLI 0.171: codex exec --remote, Workspace On by DefaultCodex CLI 0.171.0 adds codex exec --remote to run headless sessions on an existing app server, turns on the TUI workspace by default and picks GPT-6.2 Sol.
- GPT-6.2 Astra and Sol: Pricing, Benchmarks and What to SwitchGPT-6.2 Astra costs $8/$40 per MTok (20% under GPT-6 Astra), Sol stays $2/$10. Vendor-reported benchmarks, cache rates, Codex setup and who should switch.
- Codex CLI 0.169: codex exec Trust, Side Chats and Model ProvidersCodex CLI 0.169.0 keeps project config and MCP servers off in untrusted directories under codex exec, adds --trust, side-chat tabs and a model provider picker.
- Codex Training Setting Re-Enabled? Two Switches to CheckDevelopers report Codex model training turning itself back on. What OpenAI documents, the second "Include environments" switch most people miss, and a five-minute check.
FAQ
What does "Selected model is at capacity. Please try a different model" mean in Codex CLI?
A contributor on #19583: this does not mean you are rate limited or out of usage; it means OpenAI is running low on capacity to serve this model in your region.
How do I fix "Selected model is at capacity. Please try a different model"?
There are 2 documented fixes. Start with the first: Switch to a different model, as the message says, for example with /model in the CLI.
Is this Codex CLI error fixed?
Status: By design. Expected behavior, not a bug. The documented fixes change the setup that triggers it. Affected versions: Reported on Codex app 26.422.30944 (#19583) and 26.609.71450 (#28507)
Sources
Last verified against 3 sources: official docs, maintainer replies and release notes.
Newsletter
Fixes for the tools you use, weekly
One email per week. New coding agent releases, what broke, and how developers are working around it.