Azure AI Foundry
mai-image-2 model retirement
Stopped workingSubscribe to Azure AI FoundryShare
Calls to model mai-image-2 fail since August 15, 2026. Azure AI Foundry retired the model on that date, causing subsequent requests to fail rather than being redirected to a newer version. Anyone targeting this model id on Azure AI Foundry is affected.
What to use instead of mai-image-2
The original replacement was mai-image-2.5, but that model also stopped working on October 1, 2026. No replacement that holds is named yet.
In Azure AI Foundry's words
Model: MAI-Image-2; Version: 2026-02-20; Lifecycle: Retired; Retirement date: 2026-08-15; Replacement: MAI-Image-2.5
Facts
- API
- Azure AI Foundry
*.services.ai.azure.com - Model
mai-image-2- Kind
- Model retirement
- Takes effect
- August 15, 2026
- Calls after that day
- Fail
- Source
- Deprecations page
- Last updated
- Verified
- , against Azure AI Foundry's own pages
Questions
When does mai-image-2 shut down?
Calls to the model mai-image-2 on Azure AI Foundry stopped working on August 15, 2026.
What happens to calls after August 15, 2026?
They have failed since August 15, 2026.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from Azure AI Foundry 10
-
mistral-document-ai-2505Model retirement Stopped working -
stable-diffusion-3.5-largeModel retirement Stopped working -
stable-image-coreModel retirement Stopped working -
stable-image-ultraModel retirement Stopped working -
claude-opus-4-1Model retirement Stopped working -
deepseek-r1Model retirement Stopped working -
mai-image-2eModel retirement Stopped working -
model-routerModel retirement Stopped working -
timegen-1Model retirement Stopped working -
tsuzumi-7bModel retirement Stopped working
You fixed this one by hand.
Okapi opens the pull request with the fix before the next breaking change reaches your code.