Okapi Okapi

Azure AI Foundry mai-image-2 model retirement

Stopped working

On August 15, 2026, the model mai-image-2 will be retired. Any requests directed to model mai-image-2 will fail after this date.


What to use instead of mai-image-2

mai-image-2.5 was named first, but it stopped working on October 1, 2026. No permanent replacement has been named yet.


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

  1. mistral-document-ai-2505Model retirement Stopped working
  2. stable-diffusion-3.5-largeModel retirement Stopped working
  3. stable-image-coreModel retirement Stopped working
  4. stable-image-ultraModel retirement Stopped working
  5. claude-opus-4-1Model retirement Stopped working
  6. deepseek-r1Model retirement Stopped working
  7. mai-image-2eModel retirement Stopped working
  8. model-routerModel retirement Stopped working
  9. timegen-1Model retirement Stopped working
  10. 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.

Add to GitHub