ToolNavs Find Useful AI Tools
Submit Sign in
Back to AI Q&A
How to Fix Your Code After OpenAI Retires Its Old Image Models: Switch to GPT Image 2.6 in Three Steps, Check the Names First

How to Fix Your Code After OpenAI Retires Its Old Image Models: Switch to GPT Image 2.6 in Three Steps, Check the Names First

AI Q&A • Admin • • 1 views

Starting December 1, 2026, OpenAI shut down three image models -- gpt-image-1-mini, gpt-image-1.5, and chatgpt-image-latest. Calling the old names no longer returns images. The official replacements are GPT Image 2.6 Sunburst or Flare, so fixing your code means swapping the model name and re-testing against the new model.

  • These three are gone: gpt-image-1-mini, gpt-image-1.5 (including the dated gpt-image-1.5-2025-12-16), and chatgpt-image-latest no longer accept standard API requests as of December 1.
  • Don't swap the wrong names: gpt-image-1 was already shut down on October 23, DALL-E 2 and DALL-E 3 on May 12, while gpt-image-2 doesn't retire until February 10, 2027 -- each has different replacements.
  • What the failure looks like: requests aren't quietly switched to another model; they fail outright and return a model-unavailable error, so production services should handle that branch instead of passing it to users.

Fix the code in three steps

  1. Search the whole project for the three names -- gpt-image-1-mini, gpt-image-1.5, chatgpt-image-latest -- including config files, environment variables, and defaults inside SDK wrappers.
  2. Replace them with gpt-image-2.6-sunburst or gpt-image-2.6-flare: pick Sunburst for the latest image quality, try Flare first to save cost. Both are official replacements.
  3. Run your generation and image-editing flows again: the new models differ from the old ones in size, quality settings, and output style, so prompts tuned for the old models need their results checked again before going live.

Confirm these two things before you change anything

Stop any batch jobs that are still running: after shutdown, old names don't queue and retry -- the jobs fail outright, so rename the model and re-run. And don't casually swap gpt-image-2 as well: it keeps working until February 2027 and isn't part of this shutdown. For the full announcement, see: OpenAI retires three image models today: old names no longer work, replacement 2.6 is ready.

Recommended Tools

More