# gpt-4o-search-preview

Calls to the model gpt-4o-search-preview on OpenAI stopped working on July 23, 2026.

Calls to model gpt-4o-search-preview fail since July 23, 2026. OpenAI retired this model along with snapshot gpt-4o-search-preview-2025-03-11 on that date, and requests using it are no longer served.

## The error OpenAI returns once gpt-4o-search-preview is gone

HTTP 404

```json
{"error":{"message":"The model `gpt-4o-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

Move to gpt-5.6-terra, which is recommended by OpenAI as the substitute model.

- API: OpenAI (api.openai.com)
- Model: gpt-4o-search-preview
- Kind: Model retirement
- Takes effect: July 23, 2026
- Calls after that day: fail
- Calls it hits: `model gpt-4o-search-preview`
- 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/gpt-4o-search-preview/

## OpenAI's words

> Shutdown date: July 23, 2026; Model snapshot: gpt-4o-search-preview-2025-03-11; Substitute model: gpt-5.6-terra

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