# dall-e-3

Calls to the model dall-e-3 on OpenAI stopped working on May 12, 2026.

Calls to model dall-e-3 fail since May 12, 2026, when the model reached its shutdown date. Requests specifying this model are no longer processed and return an error instead of generating images.

## The error OpenAI returns once dall-e-3 is gone

HTTP 404

```json
{"error":{"message":"The model `dall-e-3` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations","type":"invalid_request_error","param":null,"code":"model_not_found"}}
```

## What to use instead

Move to gpt-image-2, as gpt-image-1 stopped working on October 23, 2026, and gpt-image-1-mini stops working on December 1, 2026. The transition requires code updates beyond changing the model identifier: gpt-image-2 always returns base64 in data[].b64_json without URL support, leaves response_format and style unsupported, and accepts quality values of low, medium, high, or auto instead of standard or hd.

gpt-image-2 always returns base64 (data[].b64_json), never a URL: response_format is unsupported, so store or serve the decoded bytes yourself. style (vivid, natural) is unsupported, and quality takes low, medium, high or auto instead of standard or hd.

- API: OpenAI (api.openai.com)
- Model: dall-e-3
- Released: November 6, 2023 (models.dev)
- Kind: Model retirement
- Takes effect: May 12, 2026
- Calls after that day: fail
- Calls it hits: `model dall-e-3`
- Source: [Deprecations page](https://developers.openai.com/api/docs/deprecations)
- Verified: November 6, 2026, against OpenAI's own pages
- Page: https://www.okapi.bot/models/openai/dall-e-3/

## OpenAI's words

> Shutdown date: 2026-05-12; Model / system: dall-e-3; Recommended replacement: gpt-image-2 , gpt-image-1 , or gpt-image-1-mini

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
