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-5.1-codex-max model retirement

Stopped working

Requests specifying model gpt-5.1-codex-max fail since July 23, 2026. OpenAI shut down the model on that date, causing all subsequent calls targeting it to stop working.

View as Markdown

The error you get

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

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

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

In OpenAI's words

Shutdown date: Jul 23, 2026; Affected model or feature: gpt-5.1-codex-max; Listed replacement: gpt-5.6-sol; Notice date: Apr 22, 2026

OpenAI, Deprecations page

Facts

API
OpenAI api.openai.com
Model
gpt-5.1-codex-max
Released
November 13, 2025 (models.dev)
Kind
Model retirement
Takes effect
July 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.