Migrating from codex-mini-latest to gpt-5.1-codex-mini
What changes when you move from codex-mini-latest to gpt-5.1-codex-mini: context window 200,000 → 400,000 tokens.
- Status
- Retired
- Shutdown
- Feb 12, 2026
- Time left
- —
- Status
- Retired
- Shutdown
- Jul 23, 2026
- Time left
- —
gpt-5.1-codex-mini is itself retired. Its replacement is gpt-5.6-terra.
Prices
USD per 1M tokens, standard tierNeither model has published per-token prices.
Limits
Tokens| Limit | codex-mini-latest | gpt-5.1-codex-mini | Change |
|---|---|---|---|
| Context window | 200,000 tokensin place when tracking began (October 6, 2026) · source | 400,000 tokensin place when tracking began (October 6, 2026) · source | +100% |
| Max output tokens | 100,000 tokensin place when tracking began (October 6, 2026) · source | 128,000 tokensin place when tracking began (October 6, 2026) · source | +28% |
Features and parameters
Compare modelsSame on both
- Structured outputs: supported on both.codex-mini-latest: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex-mini: in place when tracking began (October 6, 2026) · source
- Function calling: supported on both.codex-mini-latest: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex-mini: in place when tracking began (October 6, 2026) · source
- Prompt caching: supported on both.codex-mini-latest: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex-mini: in place when tracking began (October 6, 2026) · source
- Batch API: not supported on both.codex-mini-latest: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex-mini: in place when tracking began (October 6, 2026) · source
- Image input: supported on both.codex-mini-latest: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex-mini: in place when tracking began (October 6, 2026) · source
- Reasoning / thinking: supported on both.codex-mini-latest: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex-mini: in place when tracking began (October 6, 2026) · source
- Fine-tuning: not supported on both.codex-mini-latest: in place when tracking began (October 6, 2026) · source · gpt-5.1-codex-mini: in place when tracking began (October 6, 2026) · source
Not published for codex-mini-latest: PDF input, Built-in web search, temperature parameter, top_p parameter, logprobs.
Not published for gpt-5.1-codex-mini: PDF input, Built-in web search, temperature parameter, top_p parameter, logprobs.
Aliases
All aliasesNo aliases point at either model.
On cloud platforms
All platform dates| Model | Platform | Platform ID | Shutdown | Time left |
|---|---|---|---|---|
| codex-mini-latest | Microsoft Foundryversion 2025-05-16 | codex-mini | Nov 15, 2026Deprecated | 31 days |
| gpt-5.1-codex-mini | Microsoft Foundryversion 2025-11-13 | gpt-5.1-codex-mini | May 15, 2027Active | 212 days |
Read daily from each platform's own pages. The status above uses each company's own date. Time left counts to 00:00 UTC on the shutdown date, which is the evening before in ET.
Checklist
- Change the model string from
codex-mini-latesttogpt-5.1-codex-mini.
Compared from AIWire's published data when this page loaded. Each fact links to the page it came from. Model pages: codex-mini-latest, gpt-5.1-codex-mini.