# 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. The model version 2025-04-16 is deprecated ahead of this shutdown date.

## What to use instead

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

- API: Azure AI Foundry (*.services.ai.azure.com)
- Model: o4-mini
- Released: April 16, 2025 (models.dev)
- 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: November 6, 2026, against Azure AI Foundry's own pages
- Page: https://www.okapi.bot/models/azure-ai-foundry/o4-mini/

## Azure AI Foundry's words

> Model: o4-mini; Version: 2025-04-16; Lifecycle: Deprecated; Retirement date: 2026-11-19; Replacement: gpt-5.6-terra

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