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 · 2 months ago

Same

Kenan7 · 2 months ago

just got it right now, so annoying

dannylee1020 · 2 months ago

+1

tiscovsa · 2 months ago

Mass outage?

BlackSinapsis · 2 months ago

same, I cannot use the app

Tom-R-Main · 2 months ago

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

github-actions[bot] contributor · 2 months ago

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

  • #25966

Powered by Codex Action

TheGreenCedar · 2 months ago

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

AZ-LL · 2 months ago

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

qasimkamran · 2 months ago

Tried changing models but no dice. Jeez.

colevr1 · 2 months ago

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

kmnhan · 2 months ago

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

qasimkamran · 2 months ago
• Model changed to gpt-5.4 medium

› test

• Received. I’m here and responding normally.

This works now.

qulery · 2 months ago

Same 5.5 Extra High

YitzhakMizrahi · 2 months ago

+1

qasimkamran · 2 months ago

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

johnsilvavlogs · 2 months 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 · 2 months ago

fixed.

Tom-R-Main · 2 months ago

The error just recurred for me.

nprange · 2 months ago

+1

grrb462dhr-beep · 2 months ago

happened again.

obahareth · 2 months ago

Started happening again.

MingkaiChen · 2 months ago

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

JQT-7 · 2 months ago

This problem has arisen again.

bnherrerac · 2 months ago

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

Wheemer · 2 months ago

BS

Wyzard1004 · 2 months ago

Maybe fixed now?

zaffaridam · 2 months ago

+1

qulery · 2 months ago

It keeps interrupting pipeline from time to time

LymanBE · 2 months 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 · 2 months 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 · 2 months ago

Workaround is to add this to your config.toml:

[features]
image_generation = false
etraut-openai contributor · 2 months ago

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