OpenAI · model
codex-mini-latest deprecation: shutdown date & replacement
- Provider
- OpenAI
- Type
- model
- Announced
- Shutdown
- Replacement
gpt-5-codex-mini- Source
- Official OpenAI notice
Legacy local shell tool (only available with codex-mini-latest) also no longer supported.
How to migrate off codex-mini-latest
- Find every place that references it:
grep -rn --exclude-dir={node_modules,.git,dist} "codex-mini-latest" . - Replace the model ID:
- model: "codex-mini-latest" + model: "gpt-5-codex-mini" - Re-run your evals or a sample of real prompts — output style, token usage and pricing can change between models.
- Check config outside code too: environment variables, feature flags, prompt-management tools, and fine-tuned model references.
- Deploy before February 12, 2026, and add the CI scanner so it cannot come back.
Questions
Is codex-mini-latest deprecated?
Yes. OpenAI has deprecated codex-mini-latest. It was shut down on February 12, 2026.
When does codex-mini-latest shut down?
February 12, 2026, according to OpenAI's official deprecation notice.
What should I use instead of codex-mini-latest?
OpenAI recommends gpt-5-codex-mini. Switch the model ID and re-test your prompts, since outputs, pricing and limits can differ.
What happens to requests to codex-mini-latest after the shutdown?
Requests using the retired model ID fail with an error, so any code still calling it breaks. Update and deploy before the shutdown date.