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

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

  • #25966
  • #25965

Powered by Codex Action

colevr1 · 2 months ago

I confirm, it just happened with the latest update.

jeremybanka · 2 months ago

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

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

Edit: It's back

69k4xmdfm2-blip · 2 months ago

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

Jomo178 · 2 months ago

Same problem, after the new update.

obahareth · 2 months ago

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

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

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

darklab-sh · 2 months ago

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

fatherofinvention · 2 months ago

Getting nailed by this right now too

knotbin · 2 months ago

Just got this too

obahareth · 2 months ago

Started happening again.

cchance27 · 2 months ago

add me to the club

hackerpayne · 2 months ago

Just got this too

sulewicz · 2 months ago

this is ongoing sadly

kevinfengcs88 · 2 months ago

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

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

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

markhallak · 2 months ago

Same here

BretJohnson · 2 months ago

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

ryanprince · 2 months ago

Ditto

in-your-dreams · 2 months ago

I encountered the same issue.

keetchcode · 2 months ago

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

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

Same here. Started right now.

jasonmiller7322-beep · 2 months ago

yeah im getting the same issue.

EricWahoo · 2 months ago

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

mohnjahoney · 2 months ago

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

yindaheng98 · 2 months ago

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

cabreu145 · 2 months ago

same here, and the tokens gone !!

LeandroSatsuki · 2 months ago

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

airwolf0992 · 2 months ago

Same problem, after the new update.

Agiao1 · 2 months ago

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

helixmap · 2 months ago

wah! what's the deal?

chrisnota · 2 months ago

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

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

jasonmiller7322-beep · 2 months ago

its back up
go check!

darklab-sh · 2 months ago

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

XiaoConstantine · 2 months ago
codex-cli 0.136

seems 0.134 works fine

psilly · 2 months ago

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

XiaoConstantine · 2 months ago
codex-cli 0.136 seems 0.134 works fine

Oh nvm, seems it's fixed in general!

Isaiah53John316 · 2 months ago

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

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

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

Silaschuwen · 2 months ago

Rip my tokens

etraut-openai contributor · 2 months ago

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