Microsoft Foundry / Azure OpenAI · model

gpt-4.1-mini deprecation: shutdown date & replacement

Shuts down April 14, 2027 — in 200 days
Provider
Microsoft Foundry / Azure OpenAI
Name
gpt-4.1-mini (2025-04-14)
Type
model
Announced
—
Shutdown
Replacement
—
Source
Official Microsoft Foundry / Azure OpenAI notice

Azure lifecycle stage: Deprecated. Version 2025-04-14.

How to migrate off gpt-4.1-mini

  1. Find every place that references it:
    grep -rn --exclude-dir={node_modules,.git,dist} "gpt-4.1-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 April 14, 2027, and add the CI scanner so it cannot come back.

Also shutting down on April 14, 2027 (Microsoft Foundry / Azure OpenAI)

Questions

Is gpt-4.1-mini deprecated?

Yes. Microsoft Foundry / Azure OpenAI has deprecated gpt-4.1-mini. It shuts down on April 14, 2027.

When does gpt-4.1-mini shut down?

April 14, 2027, according to Microsoft Foundry / Azure OpenAI's official deprecation notice.

What should I use instead of gpt-4.1-mini?

Microsoft Foundry / Azure OpenAI has not named a specific replacement. Check the official source for current models.

What happens to requests to gpt-4.1-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.