ModelRot

dall-e-2 vs gpt-image-2

OpenAI names gpt-image-2 as the replacement for dall-e-2. dall-e-2 shut down on May 12, 2026.

Retired→Deprecated
Per 1M tokensdall-e-2gpt-image-2
Input—$5
Output——
Blended changeUnknown: a list price is missing
ProviderOpenAIOpenAI
Statusretireddeprecated
ShutdownMay 12, 2026Feb 10, 2027
Context window——

Migrating

  • Replace the ID dall-e-2 with gpt-image-2 everywhere it appears, including .env files, config and infrastructure templates.
  • Run your evaluation set or golden prompts on both before switching: output style, refusals and tool calling can differ between generations.
  • Check max output tokens and parameters: newer models sometimes rename or drop sampling options.
  • Watch the repo on ModelRot so the next retirement doesn't surprise you. gpt-image-2 lifecycle.