# gpt-4o-mini-realtime-preview

Calls to the model gpt-4o-mini-realtime-preview on OpenAI stopped working on May 7, 2026.

On May 7, 2026, OpenAI retired model gpt-4o-mini-realtime-preview. Any calls targeting this model fail since that date. The change impacts all requests sent to api.openai.com using model gpt-4o-mini-realtime-preview.

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

HTTP 404

```json
{"error":{"message":"The model `gpt-4o-mini-realtime-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-realtime-2.1-mini. Note that gpt-realtime-mini, which was named first, stops working on January 20, 2027.

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

## OpenAI's words

> Shutdown date: 2026-05-07; Model / system: gpt-4o-mini-realtime-preview; Recommended replacement: gpt-realtime-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
