# Codex (VS Code extension) stops working mid-session with "model at capacity" errors

**URL:** <https://community.openai.com/t/codex-vs-code-extension-stops-working-mid-session-with-model-at-capacity-errors/1379578>\
**Category:** Codex\
**Created:** [April 23, 2026, 7:45am UTC](https://community.openai.com/t/codex-vs-code-extension-stops-working-mid-session-with-model-at-capacity-errors/1379578 "2026-04-23T07:45:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![timore](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@timore](https://community.openai.com/u/timore)\
**Post date:** [April 23, 2026, 7:45am UTC](https://community.openai.com/t/codex-vs-code-extension-stops-working-mid-session-with-model-at-capacity-errors/1379578/1 "2026-04-23T07:45:25Z")

</div>

I’m consistently running into an issue using Codex in VS Code:

**Setup:**

- VS Code + Codex extension

- Model: GPT-5.4

- Mode: high

**Problem:**  
After ~3–5 minutes of normal work, the extension starts failing:

- “Selected model is at capacity” errors

- Requests stop going through

**Question:**  
Is this a known issue with the VS Code extension or model capacity handling?  
Any ETA on a fix or recommended best practices to avoid this?

---

<div class="post-metadata">

**Author:** ![EricGT](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/ericgt/32/20571_2.png) [@EricGT](https://community.openai.com/u/EricGT)\
**Post date:** [April 23, 2026, 8:29am UTC](https://community.openai.com/t/codex-vs-code-extension-stops-working-mid-session-with-model-at-capacity-errors/1379578/2 "2026-04-23T08:29:27Z")

</div>

Welcome to the forum!

Thanks for reporting, specifically for giving an exact human readable error message, “Selected model is at capacity”

Your issue has also been reported in this Discourse topic.

> [@Selected model is at capacity](https://community.openai.com/t/selected-model-is-at-capacity/1379581):
>
> Using gpt-5.4 is consistently showing me this message

You can discuss Codex-related issues here, but the official place to report them is the [OpenAI Codex GitHub Issues](https://github.com/openai/codex/issues).

In doing a quick manual search of the open issues for “model at capacity” find

> **[Issues · openai/codex](https://github.com/openai/codex/issues?q=is%3Aissue%20state%3Aopen%20%22model%20at%20capacity%22)**
>
> Lightweight coding agent that runs in your terminal - Issues · openai/codex

The noted issue suggest using the [Codex slash command](https://developers.openai.com/codex/cli/slash-commands) `/feedback` but then goes on to note that it is a connectivity problem local to Australia, the issue was posted two weeks ago and has not received further updates so probably transient.

Another commonality with the other Discourse topic is the use of GPT-5.4 with High.

My recommendation would be to open a [New Codex Issue](https://github.com/openai/codex/issues) as the OpenAI staff watch that list closer than this forum.

* * *

Also check OpenAI status for known system issues that the OpenAI staff have investigated and confirmed are an issue.

> **[OpenAI Status](https://status.openai.com/)**
>
> Latest service status for OpenAI

Until the OpenAI staff confirm it is in a issue, it will not be noted in the status page so lack of seeing an issue does not mean it is being neglected.

* * *

The specific error message “Selected model is at capacity. Please try a different model.” is from Codex, e.g.

> <https://github.com/openai/codex/blob/305825abd99fc2ff17d5435b2c67b14459963893/codex-rs/protocol/src/error.rs#L111>

* * *

An earlier [issue](https://github.com/openai/codex/issues/11635#issuecomment-3960837679) from a few months ago used similar reply but gave a time to retry, that is now changed.

 ![image](https://us1.discourse-cdn.com/openai1/original/4X/6/f/1/6f16404281fc34deaf73415724f7d73b7c8e2cf1.png)

* * *

@timore

Which plan are you using?

- Free
- Go
- Plus
- Pro
- Business
- Enterprise
- Other

[https://openai.com/business/chatgpt-pricing/](https://openai.com/business/chatgpt-pricing/)  
[https://chatgpt.com/pricing/?openaicom\_referred=true](https://chatgpt.com/pricing/?openaicom_referred=true)

---

<div class="post-metadata">

**Author:** ![timore](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@timore](https://community.openai.com/u/timore)\
**Post date:** [April 23, 2026, 9:07am UTC](https://community.openai.com/t/codex-vs-code-extension-stops-working-mid-session-with-model-at-capacity-errors/1379578/3 "2026-04-23T09:07:37Z")

</div>

Thanks a lot for the detailed information — I really appreciate it. I’ve already gone through the GitHub issues and the status page you mentioned.

I’m currently using the **Plus plan** , and I’m seeing the same issue on a **Pro plan** as well (on another PC with a work account).

Everything was working fine yesterday, but today the problem has been happening consistently for several hours. The status page looks normal, which makes it a bit confusing.

Would appreciate any additional insight if this might be a known ongoing issue.

---

<div class="post-metadata">

**Author:** ![timore](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@timore](https://community.openai.com/u/timore)\
**Post date:** [April 23, 2026, 9:22am UTC](https://community.openai.com/t/codex-vs-code-extension-stops-working-mid-session-with-model-at-capacity-errors/1379578/4 "2026-04-23T09:22:59Z")

</div>

Just a quick update — everything is working correctly now.

Nothing changed on my side: same conversation, same context, VS Code wasn’t restarted. I had just left it running in the background while working on other tasks. After trying again later, it started working without any errors.

So it seems this might not have been an issue on my side.

---

<div class="post-metadata">

**Author:** ![EricGT](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/ericgt/32/20571_2.png) [@EricGT](https://community.openai.com/u/EricGT)\
**Post date:** [April 23, 2026, 9:29am UTC](https://community.openai.com/t/codex-vs-code-extension-stops-working-mid-session-with-model-at-capacity-errors/1379578/5 "2026-04-23T09:29:53Z")

</div>

> [@timore](#):
>
> Would appreciate any additional insight

This is pure speculation on my part but also based on intuition from past experience of using LLMs and being on this forum daily for a few years.

A significant change in the last 24 hours was the release of gpt-image-2

> [@Introducing gpt-image-2 - available today in the API and Codex](https://community.openai.com/t/introducing-gpt-image-2-available-today-in-the-api-and-codex/1379479):
>
> gpt-image-2 is OpenAI’s most capable image generation model yet. It is designed for complex visual tasks and produces precise, usable images with stronger editing, better layouts, improved text rendering, and more reliable instruction-following. [[YouTube] ](https://www.youtube.com/watch?v=sWkGomJ3TLI) Starting today, developers can use gpt-image-2 in the API and in Codex. This release is built for production workflows, where images need to be accurate, readable, on-brand, localized, formatted for the destination surface, and…

Image generation is very popular and is even one of the most popular topics on this forum. As we know people enjoy experimenting with creating images and sharing them, thus those resources that could be used for GPT-5.4 are being used for the image generation.

Again, just pure speculation; if others can provide verifiable facts related to “Selected model is at capacity” would be interested in reading them.

---

<div class="post-metadata">

**Author:** ![timore](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@timore](https://community.openai.com/u/timore)\
**Post date:** [April 23, 2026, 9:32am UTC](https://community.openai.com/t/codex-vs-code-extension-stops-working-mid-session-with-model-at-capacity-errors/1379578/6 "2026-04-23T09:32:56Z")

</div>

Yeah, I had a similar thought — that it might be a surge in usage since **gpt-image-2** is pretty cool and a lot of people are probably testing it right now.

In my case, there wasn’t much I could do except wait and hope it would “fix itself” 🙂

I also tried searching around but couldn’t find a clear or transparent thread confirming that this is an ongoing issue right now, so I decided to create one just in case others are running into the same problem.

Thanks a lot for your input, really appreciate it!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/openai1/original/4X/8/7/c/87c2e81543bbb01aa9641aeef8fe14cab5e9590a.png) [@system](https://community.openai.com/u/system)\
**Post date:** [April 26, 2026, 9:33am UTC](https://community.openai.com/t/codex-vs-code-extension-stops-working-mid-session-with-model-at-capacity-errors/1379578/7 "2026-04-26T09:33:09Z")

</div>

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
