# gpt-5.1-codex-max

Calls to the model gpt-5.1-codex-max on OpenAI stopped working on July 23, 2026.

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.

## The error OpenAI returns once gpt-5.1-codex-max is gone

HTTP 404

```json
{"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

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

- 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
- Calls it hits: `model gpt-5.1-codex-max`
- Source: [Deprecations page](https://developers.openai.com/api/docs/deprecations?ref=manifest.build)
- Verified: November 30, 2026, against OpenAI's own pages
- Page: https://manifest.build/models/openai/gpt-5.1-codex-max/

## 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

This data is open source (MIT): https://github.com/mnfst/model-deprecations. Edit this entry: https://github.com/mnfst/model-deprecations/blob/main/models/openai/gpt-5.1-codex-max.yaml
