Status 400: "The model 'gpt-image-2' does not exist"

Resolved 💬 7 comments Opened Jun 2, 2026 by Higor-Matos Closed Jun 2, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex CLI is running?

codex-cli 0.136.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.5 xhigh

What platform is your computer?

Darwin 25.5.0 arm64 arm

What terminal emulator and version are you using (if applicable)?

_No response_

What issue are you seeing?

{
  "type": "error",
  "error": {
    "type": "image_generation_user_error",
    "code": "invalid_value",
    "message": "The model 'gpt-image-2' does not exist.",
    "param": "tools"
  },
  "status": 400
}

What steps can reproduce the bug?

when trying to talk

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

7 Comments

frankischilling · 1 month ago

same here

GoodCrispyShark · 1 month ago

same. looks like a P0 bug

github-actions[bot] contributor · 1 month ago

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

  • #25965

Powered by Codex Action

Higor-Matos · 1 month ago

Resolved.

JWilson45 · 1 month ago

it was not resolved. making a new chat is a temp fix but it randomly shows back up.

rafamuz · 1 month ago
Resolved.

How did you resolve this?

etraut-openai contributor · 1 month ago

Thanks for reporting the issue. This incident has been mitigated, so you should no longer see the error.