Logo SVG copied to clipboard
Custom development The team behind Manifest can help you develop what your company needs around your LLM gateway. Talk to us

OpenAI gpt-4 model retirement

Stopped working

On October 23, 2026, the model gpt-4 was retired. Requests targeting model gpt-4 fail since that date. The change affects calls directed to this model identifier.

View as Markdown

The error you get

What OpenAI answers a call to gpt-4 once the model is gone, as recorded from real responses:

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

Move to gpt-5.6-sol, which is recommended by OpenAI.

In OpenAI's words

Shutdown date: Oct 23, 2026; Affected model or feature: gpt-4-0613 , gpt-4 , gpt-4-0613-completions , gpt-4-completions; Listed replacement: gpt-5.6-sol; Notice date: Apr 22, 2026

OpenAI, Deprecations page

Facts

API
OpenAI api.openai.com
Model
gpt-4
Released
November 6, 2023 (models.dev)
Kind
Model retirement
Takes effect
October 23, 2026
Calls after that day
Fail
Last updated
Verified
, against OpenAI's own pages

This data is open source (MIT): mnfst/model-deprecations. Something wrong or missing? Edit on GitHub.

Self-host for free, or let us run it for $19/month.