# gpt-5.2-codex

Calls to the model gpt-5.2-codex on Azure AI Foundry stop working on July 13, 2027.

- API: Azure AI Foundry (*.services.ai.azure.com)
- Model: gpt-5.2-codex
- Released: December 11, 2025 (models.dev)
- Kind: Model retirement
- Takes effect: July 13, 2027
- Calls after that day: fail
- Calls it hits: `model gpt-5.2-codex`
- 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-5.2-codex/

## Azure AI Foundry's words

> Model: gpt-5.2-codex; Version: 2026-01-14; Lifecycle: GA; Retirement date: 2027-07-13; Replacement: —

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