gpt-image-1 shuts down on 23 October 2026
OpenAI retires gpt-image-1 on 23 October 2026, and gpt-image-1-mini, gpt-image-1.5 and chatgpt-image-latest on 1 December 2026. The replacements are gpt-image-2.5-flare (fast, for everyday images) and gpt-image-2.5-sunburst (for precise editing). In code, the change is the model name.
Checked on
gpt-image-1 OpenAI
Shutdown date: 23 October 2026
Official replacement: gpt-image-2.5-flare or gpt-image-2.5-sunburst
What changes in your code
- Change
modelinimages.generateorimages.edit. OpenAI names two replacements: gpt-image-2.5-flare, the fastest for everyday images, and gpt-image-2.5-sunburst, for precise editing. qualitytakeslow,medium,high,xhigh,maxandauto.- Check the sizes and output format you ask for against the image generation guide before you ship the change.
Example code
Python
from openai import OpenAI
client = OpenAI() # reads OPENAI_API_KEY from the environment
img = client.images.generate(
model="gpt-image-2.5-flare", # was: "gpt-image-1"
prompt="A cup of coffee on a wooden table",
quality="auto",
)Node.js
import OpenAI from "openai";
const client = new OpenAI(); // reads OPENAI_API_KEY from the environment
const img = await client.images.generate({
model: "gpt-image-2.5-flare", // was: "gpt-image-1"
prompt: "A cup of coffee on a wooden table",
quality: "auto",
});Sources: OpenAI · Deprecations · OpenAI · gpt-image-2.5-flare · OpenAI · gpt-image-2.5-sunburst · Image generation
gpt-image-1-mini OpenAI
Shutdown date: 1 December 2026
Official replacement: gpt-image-2.5-flare or gpt-image-2.5-sunburst
Sources: OpenAI · Deprecations
gpt-image-1.5 OpenAI
Shutdown date: 1 December 2026
Official replacement: gpt-image-2.5-flare or gpt-image-2.5-sunburst
Sources: OpenAI · Deprecations
chatgpt-image-latest OpenAI
Shutdown date: 1 December 2026
Official replacement: gpt-image-2.5-flare or gpt-image-2.5-sunburst
Sources: OpenAI · Deprecations
Also on this page:
dall-e-3 OpenAI
Switched off since 12 May 2026
Official replacement: gpt-image-2 or gpt-image-1 or gpt-image-1-mini — What OpenAI recommended back then is being switched off too: today, look at that model’s row.
Sources: OpenAI · Deprecations
dall-e-2 OpenAI
Switched off since 12 May 2026
Official replacement: gpt-image-2 or gpt-image-1 or gpt-image-1-mini — What OpenAI recommended back then is being switched off too: today, look at that model’s row.
Sources: OpenAI · Deprecations
We’ll email you before your model is switched off
One email 30 days before and another 7 days before the official date, with the replacement and what changes in the code. Free, no account, no marketing.
Using more than one model? Paste your code into the free checker.
Open the checker→Got a whole repository? Check it at once from the terminal, with nothing to install:
npx -y github:ericc2005t/ai-model-sunsetQuestions
- What about DALL·E 3?
- dall-e-2 and dall-e-3 were already switched off on 12/05/2026. If your app still calls them, switch to gpt-image-2.5-flare.
- Which of the two?
- Per OpenAI, flare is the fastest for everyday images and sunburst the most precise for editing. To generate images from text, start with flare.
- Do the parameters change?
qualitytakeslow,medium,high,xhigh,maxandauto. Check the sizes you ask for against OpenAI’s guide before you ship.
Rather I fix it for you? Model swap, €79; full migration, €290–490. I reply within 24 h with a fixed price.
Ask for the fix: I reply within 24 h
No calls and nothing to pay here. Tell me what your app runs on and what breaks: I reply in writing within 24 h with a fixed price and a timeline.