Codex Responds Only with "The model 'gpt-image-2' does not exist."

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

What version of the Codex App are you using (From “About Codex” dialog)?

26.601.20914

What subscription do you have?

Pro

What platform is your computer?

Darwin 25.2.0 arm64 arm

What issue are you seeing?

Anything I ask Codex to do it immediately responds with
"The model 'gpt-image-2' does not exist."

and it refuses to do anything.

<img width="1528" height="304" alt="Image" src="https://github.com/user-attachments/assets/bff3e722-a732-48e5-b9cd-c3f957b62791" />

What steps can reproduce the bug?

Ask Codex to do anything, even just write a Hello World program.

What is the expected behavior?

It does what is asked of it.

Additional information

_No response_

View original on GitHub ↗

48 Comments

Snowy7 · 1 month ago

Same thing
in the codex cli, app, t3code, and every wrapper
"type": "error",
"error": {
"type": "image_generation_user_error",
"code": "invalid_value",
"message": "The model 'gpt-image-2' does not exist.",
"param": "tools"
},
"status": 400
}

github-actions[bot] contributor · 1 month ago

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

  • #25966
  • #25965

Powered by Codex Action

colevr1 · 1 month ago

I confirm, it just happened with the latest update.

jeremybanka · 1 month ago

Same. Feedback ID: 019e8a5d-295f-77b3-8cdd-2076290dd0a4

Edit: seems to have fixed itself for now...

Edit: It's back

69k4xmdfm2-blip · 1 month ago

Same problem, feedback id 019e896c-9780-7d50-9f9e-dc00f889394f

Jomo178 · 1 month ago

Same problem, after the new update.

obahareth · 1 month ago

Seems like it was resolved, it's behaving fine now.

OpticMystic · 1 month ago

It started happening before the new update for me, so I installed the update thinking it would fix it but it has not.

ejstembler · 1 month ago

I'm receiving this error now. The model 'gpt-image-2' does not exist.

darklab-sh · 1 month ago

Same. Happened before the update, updated hoping it would solve it and it's still happening.

fatherofinvention · 1 month ago

Getting nailed by this right now too

knotbin · 1 month ago

Just got this too

obahareth · 1 month ago

Started happening again.

cchance27 · 1 month ago

add me to the club

hackerpayne · 1 month ago

Just got this too

sulewicz · 1 month ago

this is ongoing sadly

kevinfengcs88 · 1 month ago

woohoo everyone is commenting right now!!! it's ongoing. same here :)))

XiaoConstantine · 1 month ago

■ Error running remote compact task: {
"error": {
"message": "The model 'gpt-image-2' does not exist.",
"type": "image_generation_user_error",
"param": "tools",
"code": "invalid_value"
}
}
Same issue

mefree2098 · 1 month ago

I'm glad I'm not crazy :-). Getting the same problem here.

markhallak · 1 month ago

Same here

BretJohnson · 1 month ago

@obahareth can you reopen; seems like it's still happening

ryanprince · 1 month ago

Ditto

in-your-dreams · 1 month ago

I encountered the same issue.

keetchcode · 1 month ago

this is why im switching to Chipotlai https://github.com/cyberpapiii/chipotlai-max

EnzanNoMetsuke · 1 month ago

Yet another victim of this issue... interrupted mid-session. Incidentally, for me it started before the latest update to 26.601.20914. I updated thinking it might fix it, but no joy 🥲

BruceSRC · 1 month ago

Same here. Started right now.

jasonmiller7322-beep · 1 month ago

yeah im getting the same issue.

EricWahoo · 1 month ago

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

mohnjahoney · 1 month ago

same here "The model 'gpt-image-2' does not exist."

yindaheng98 · 1 month ago

<img width="1071" height="713" alt="Image" src="https://github.com/user-attachments/assets/f8bcedce-e8f1-455d-9691-dd251a5797bb" />

cabreu145 · 1 month ago

same here, and the tokens gone !!

LeandroSatsuki · 1 month ago

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

airwolf0992 · 1 month ago

Same problem, after the new update.

Agiao1 · 1 month ago

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

helixmap · 1 month ago

wah! what's the deal?

chrisnota · 1 month ago

Same problem, but I could get it to work with /goal mode interestingly.

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

jasonmiller7322-beep · 1 month ago

its back up
go check!

darklab-sh · 1 month ago

Keep trying. They are obviously working on it and it's starting to work for a lot of users.

XiaoConstantine · 1 month ago
codex-cli 0.136

seems 0.134 works fine

psilly · 1 month ago

This workaround seems to help -- start it like: codex --disable image_generation

XiaoConstantine · 1 month ago
codex-cli 0.136 seems 0.134 works fine

Oh nvm, seems it's fixed in general!

Isaiah53John316 · 1 month ago

I was wondering, restarting vscode fixed it for me, I hope..

IvnSoft · 1 month ago

It worked after a while.. and it lies to meeeeee

• No image generation will be used. I have not called any image model or image tool in this task; where visuals are useful, the repository uses ASCII diagrams and text-only placeholders.

nanogram · 1 month ago

Rip me tokens. I left the system for 5 min and return to a wall of those errors.

Silaschuwen · 1 month ago

Rip my tokens

etraut-openai contributor · 1 month ago

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