# gpt-4o

Calls to the model gpt-4o on Azure AI Foundry stop working on January 14, 2027.

On January 14, 2027, the gpt-4o model will be retired. Calls using model gpt-4o will fail after that day. The deprecation applies to version 2024-05-13.

## What to use instead

Move to gpt-5.1 version 2025-11-13. Note that gpt-5.1 stops working on July 13, 2027.

- API: Azure AI Foundry (*.services.ai.azure.com)
- Model: gpt-4o
- Released: May 13, 2024 (models.dev)
- Kind: Model retirement
- Takes effect: January 14, 2027
- Calls after that day: fail
- Calls it hits: `model gpt-4o`
- 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/gpt-4o/

## Azure AI Foundry's words

> Model: gpt-4o; Version: 2024-05-13; Lifecycle: Deprecated; Retirement date: 2027-01-14 2; Replacement: gpt-5.1 (2025-11-13)

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