ModelRot

gpt-5.1-codex-mini vs gpt-5.6-terra

OpenAI names gpt-5.6-terra as the replacement for gpt-5.1-codex-mini. gpt-5.1-codex-mini shut down on Jul 23, 2026.

Retired→Active
Per 1M tokensgpt-5.1-codex-minigpt-5.6-terra
Input—$2
Output—$12
Blended changeUnknown: a list price is missing
ProviderOpenAIOpenAI
Statusretiredactive
ShutdownJul 23, 2026—
Context window——

Migrating

  • Replace the ID gpt-5.1-codex-mini with gpt-5.6-terra everywhere it appears, including .env files, config and infrastructure templates.
  • Run your evaluation set or golden prompts on both before switching: output style, refusals and tool calling can differ between generations.
  • Check max output tokens and parameters: newer models sometimes rename or drop sampling options.
  • Watch the repo on ModelRot so the next retirement doesn't surprise you. gpt-5.6-terra lifecycle.