# o4-mini

Calls to the model o4-mini on Azure AI Foundry stop working on November 19, 2026.

On November 19, 2026, model o4-mini will be retired. Calls targeting model o4-mini will fail after that day. Ensure your integrations are updated before this date to prevent service interruptions.

## What to use instead

Move to gpt-5.6-terra, recommended by Microsoft.

- API: Azure AI Foundry (*.services.ai.azure.com)
- Model: o4-mini
- Kind: Model retirement
- Takes effect: November 19, 2026
- Calls after that day: fail
- Calls it hits: `model o4-mini`
- Source: [Deprecations page](https://learn.microsoft.com/en-us/azure/foundry/openai/concepts/model-retirement-schedule)
- Verified: October 29, 2026, against Azure AI Foundry's own pages
- Page: https://www.okapi.bot/models/azure-ai-foundry/o4-mini/

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
