The model 'gpt-image-2' does not exist.

Resolved 💬 34 comments Opened Jun 2, 2026 by coleski Closed Jun 3, 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.135.0

What subscription do you have?

max

Which model were you using?

gpt-5.5

What platform is your computer?

Darwin 25.3.0 arm64 arm

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

_No response_

Codex doctor report

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?

any request

What is the expected behavior?

normal response with gpt-5.5

Additional information

_No response_

View original on GitHub ↗

34 Comments

tiscovsa · 1 month ago

Same

Kenan7 · 1 month ago

just got it right now, so annoying

dannylee1020 · 1 month ago

+1

tiscovsa · 1 month ago

Mass outage?

BlackSinapsis · 1 month ago

same, I cannot use the app

Tom-R-Main · 1 month ago

+1 019e895d-7e87-7023-a732-e300d26a1910
(note my thread now works)

github-actions[bot] contributor · 1 month ago

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

  • #25966

Powered by Codex Action

TheGreenCedar · 1 month ago

+1 019e8a9e-fac9-7a01-b6bb-0c3a051c7ef3

AZ-LL · 1 month ago

Same issue! Maybe some backend change triggered an issue with that new update's image skills?

qasimkamran · 1 month ago

Tried changing models but no dice. Jeez.

colevr1 · 1 month ago

+1 019e8aa8-af7b-7f10-8e9a-aeadd6f97fae

kmnhan · 1 month ago

I went to skills and uninstalled the image generation skill as a temporary workaround.

qasimkamran · 1 month ago
• Model changed to gpt-5.4 medium

› test

• Received. I’m here and responding normally.

This works now.

qulery · 1 month ago

Same 5.5 Extra High

YitzhakMizrahi · 1 month ago

+1

qasimkamran · 1 month ago

Okay it is back now for me, even with 5.5.

johnsilvavlogs · 1 month ago

Adding a local Codex Desktop datapoint from macOS.

Environment:

  • Codex Desktop: 26.601.20914 build 3497
  • App-bundled CLI: codex-cli 0.136.0-alpha.2
  • Global CLI: codex-cli 0.135.0
  • macOS: 26.3 build 25D125, Darwin 25.3.0 arm64
  • Thread model: gpt-5.5, reasoning xhigh

What I observed locally:

  • The visible UI error card said: The model 'gpt-image-2' does not exist.
  • The active work in the thread was Browser Use patch verification, not image generation.
  • The literal error was not in the conversation rollout body for the browser-patch thread; it appeared in the desktop app log as a title-generation failure.

Relevant local log excerpt:

2026-06-02T23:24:29.420Z warning [electron-fetch-handler] Failed to generate thread title errorMessage="Structured turn failed: {
  "type": "error",
  "error": {
    "type": "image_generation_user_error",
    "code": "invalid_value",
    "message": "The model 'gpt-image-2' does not exist.",
    "param": "tools"
  },
  "status": 400
}"
2026-06-02T23:24:29.420Z error [electron-message-handler] Received turn/completed for unknown conversation conversationId=019e8aa7-111a-7751-bacf-ae1ebfabb6f7

The thread where I saw it:

  • 019e8aa7-0ef8-7b81-9a99-9aa5b77392a5

Related browser-patch thread active at the time:

  • 019e8a9c-bf36-7ad1-a419-d0deda26a44d

My read: this looks like an app/runtime-side hosted tool configuration problem on the structured turn used for title generation, not a failure caused by the user task or by a direct image generation request.

grrb462dhr-beep · 1 month ago

fixed.

Tom-R-Main · 1 month ago

The error just recurred for me.

nprange · 1 month ago

+1

grrb462dhr-beep · 1 month ago

happened again.

obahareth · 1 month ago

Started happening again.

MingkaiChen · 1 month ago

Sadly this has seriously disrupted our work, and we hope it can be fixed as soon as possible.

JQT-7 · 1 month ago

This problem has arisen again.

bnherrerac · 1 month ago

same issue, kinda stopped happening and then began again. no image generation promped, just using 5.5 high.

Wheemer · 1 month ago

BS

Wyzard1004 · 1 month ago

Maybe fixed now?

zaffaridam · 1 month ago

+1

qulery · 1 month ago

It keeps interrupting pipeline from time to time

LymanBE · 1 month ago

This is happening in every thread I've tried from the codex app, new or old, since applying the most recent update. It recurs despite restarts and logging out and logging back in.

vortegon · 1 month ago

Same issue: The model 'gpt-image-2' does not exist. after any prompt while use codex with 5.4

Version 26.601.20914 • Released Jun 2, 2026

devnoname120 · 1 month ago

Workaround is to add this to your config.toml:

[features]
image_generation = false
etraut-openai contributor · 1 month ago

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