Microsoft Foundry / Azure OpenAI · model

codex-mini deprecation: shutdown date & replacement

Shuts down November 15, 2026 — in 50 days
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

  1. Find every place that references it:
    grep -rn --exclude-dir={node_modules,.git,dist} "codex-mini" .
  2. Follow the provider’s migration notes in the official notice.
  3. Re-run your evals or a sample of real prompts — output style, token usage and pricing can change between models.
  4. Check config outside code too: environment variables, feature flags, prompt-management tools, and fine-tuned model references.
  5. 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.

ModelSunset Alerts

Hear about a shutdown before your users do

Tell us which models and providers you depend on. We email you (or ping Slack) the day a deprecation is announced, and again 90, 30 and 7 days before shutdown.

  • Watchlist of up to 50 models across all providers
  • Instant alert when a new deprecation is published
  • Reminders 90 / 30 / 7 days before shutdown
  • Slack and email, weekly digest for your team

$5/ month

Early access pricing. Cancel anytime. Payments by Creem.