The error you get
What OpenAI answers a call to gpt-4o-mini-search-preview once the model is gone, as recorded from real responses:
{"error":{"message":"The model `gpt-4o-mini-search-preview` 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 of gpt-4o-mini-search-preview
Move to gpt-5.6-terra, recommended by OpenAI.
In OpenAI's words
Shutdown date: Jul 23, 2026; Affected model or feature: gpt-4o-mini-search-preview-2025-03-11; Listed replacement: gpt-5.6-terra; Notice date: Apr 22, 2026
Facts
- API
- OpenAI
api.openai.com - Model
gpt-4o-mini-search-preview- Kind
- Model retirement
- Takes effect
- July 23, 2026
- Calls after that day
- Fail
- Source
- Deprecations page
- Last updated
- Verified
- , against OpenAI's own pages
Questions
When does gpt-4o-mini-search-preview shut down?
Calls to the model gpt-4o-mini-search-preview on OpenAI stopped working on July 23, 2026.
What happens to calls after July 23, 2026?
They have failed since July 23, 2026.
What error does gpt-4o-mini-search-preview return once it is shut down?
OpenAI answers HTTP 404: "The model `gpt-4o-mini-search-preview` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations". Send another model to fix it.
More from OpenAI 10
| Effective | Model | Status |
|---|---|---|
computer-use-preview | stopped working | |
computer-use-preview-2025-03-11 | stopped working | |
gpt-4o-mini-search-preview-2025-03-11 | stopped working | |
gpt-4o-search-preview | stopped working | |
gpt-4o-search-preview-2025-03-11 | stopped working | |
gpt-5-chat-latest | stopped working | |
gpt-5-codex | stopped working | |
gpt-5.1-chat-latest | stopped working | |
gpt-5.1-codex | stopped working | |
gpt-5.1-codex-max | stopped working |