Microsoft Foundry / Azure OpenAI · model
codex-mini deprecation: shutdown date & replacement
- Provider
- Microsoft Foundry / Azure OpenAI
- Name
- codex-mini (2025-05-16)
- Type
- model
- Announced
- —
- Shutdown
- Replacement
- —
- Source
- Official Microsoft Foundry / Azure OpenAI notice
Azure lifecycle stage: Deprecated. Version 2025-05-16.
How to migrate off codex-mini
- Find every place that references it:
grep -rn --exclude-dir={node_modules,.git,dist} "codex-mini" . - Follow the provider’s migration notes in the official notice.
- 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 November 15, 2026, and add the CI scanner so it cannot come back.
Questions
Is codex-mini deprecated?
Yes. Microsoft Foundry / Azure OpenAI has deprecated codex-mini. It shuts down on November 15, 2026.
When does codex-mini shut down?
November 15, 2026, according to Microsoft Foundry / Azure OpenAI's official deprecation notice.
What should I use instead of codex-mini?
Microsoft Foundry / Azure OpenAI has not named a specific replacement. Check the official source for current models.
What happens to requests to codex-mini 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.