Okapi Okapi

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

Azure AI Foundry, Deprecations page

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

Get notifications

Subscribe to Azure AI Foundry

Hear about each breaking change Azure AI Foundry announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Azure AI Foundry

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.