gpt-5.1-codex-mini retired on July 23, 2026
AI model
- Date
- (UTC)
- Replacement
gpt-5.6-terra- Provider
- OpenAI
- Last checked
gpt-5.1-codex-mini
Retired
In its place: gpt-5.6-terra
since.dev/calendar/openai/gpt-5.1-codex-mini
What changes
Deprecated on 2026-04-22. Recommended replacement: gpt-5.6-terra. Announced on 2026-04-22.
- Deprecated
- Stops working
What works differently on gpt-5.6-terra
From its documentation. Moving to it is more than a new model ID.
- GPT-5.6 models default to all_turns, where earlier models defaulted to current_turn. To keep the old behavior: set reasoning.context to current_turn when earlier reasoning is no longer relevant. Source
- Reasoning.effort supports: none, low, medium (default), high, xhigh, and max. To keep the old behavior: set reasoning.effort intentionally. Source
- GPT-5.6 tends to be more concise by default than GPT-5.5. To keep the old behavior: use text.verbosity to set the default level of detail. Source
- The response includes a reasoning.context field that confirms the effective mode. Source
- When you switch model families, the API omits incompatible reasoning from the model’s context, even when reasoning.context is all_turns. Source
- When migrating from GPT-5.5 or earlier, prompt_cache_retention is replaced with prompt_cache_options.ttl. To keep the old behavior: replace prompt_cache_retention with prompt_cache_options.ttl set to "30m". Source
- Safeguards can block or refuse some requests, and generation can be paused for several seconds mid-stream while classifiers review outputs. Source
- The API rejects images that still exceed the 30,000-patch limit, rather than resizing them to fit it. Source
Also in July 2026
Every AI model and API retirement in July 2026, on every provider and cloud
Questions
- When does gpt-5.1-codex-mini retire?
- gpt-5.1-codex-mini retired on July 23, 2026.
- Can I still use gpt-5.1-codex-mini?
- No. It retired on July 23, 2026.
- What replaces gpt-5.1-codex-mini?
- Its provider names gpt-5.6-terra. Moving to it is more than a new model ID: its documentation lists 8 differences, on this page.
Source
July 23, 2026 | gpt-5.1-codex-mini | gpt-5.6-terra
Does your code use it?
Paste a public repository. Since.dev analyzes it and shows the files and lines these dates hit.
Add to your calendariCal file RSS
More from OpenAI

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.