GPT-5-Codex
Shutting down. GPT-5-Codex shuts down on Azure AI Foundry on Mar 17, 2027. OpenAI names GPT-5.6 Sol as the replacement.
5 mo- Next shutdown
- 154 daysMar 17, 2027 · Azure AI Foundry
- Context window
- 400KMax output 128K tokens
- Released
- Sep 23, 2025OpenAI
Dates on every platform
| Platform | Model ID and status | Deprecated | Shuts down | Replacement |
|---|---|---|---|---|
| OpenAI APIOpenAI: Deprecations (opens in a new tab) · checked Oct 14, 2026 | gpt-5-codexShut down | Shut down | GPT-5.6 Sol | |
| Azure AI FoundryMicrosoft: Model retirement schedule - Microsoft Foundry (opens in a new tab) · checked Oct 14, 2026 | gpt-5-codex:2025-09-15Active | – | 5 mo | – |
Microsoft names a replacement about 90 to 120 days before retirement.
What breaks when you move off GPT-5-Codex
- Availability
- Availability
List prices
| Platform | Input | Cached | Output | In effect | Source |
|---|---|---|---|---|---|
Azure AI Foundrygpt-5-codex:2025-09-15 | $1.25 | $0.125 | $10.00 | Sep 15, 2025Current · Global Standard rate from the US East 2 price list. | Microsoft: Azure Retail Prices API (Foundry Models, US East 2) (opens in a new tab) |
Change history
ShutdownGPT-5-Codex retires on Azure AI FoundryAzure AI Foundry2 breaks
gpt-5-codex version 2025-09-15 retires on Foundry. It already shut down on the OpenAI API in July 2026.
- Platform
- Azure AI Foundry
- Model
- GPT-5-Codex
- AvailabilityInference requests to retired deployments return 410 Gone.
- AvailabilityMicrosoft has not listed a replacement yet; it names one about 90 to 120 days before retirement. Deployments set to NoAutoUpgrade stop working at retirement.
Source: Microsoft, Model retirement schedule - Microsoft Foundry (opens in a new tab); Microsoft, Microsoft Foundry Models lifecycle and support policy (opens in a new tab)
ShutdownCodex, chat, search, deep research and computer-use snapshots shut down on the OpenAI APIOpenAI API
OpenAI shut down the GPT-5, GPT-5.1 and GPT-5.2 Codex models, the GPT-5 and GPT-5.1 chat snapshots, the GPT-4o search previews, computer-use-preview and the o3 and o4-mini deep research models. It names GPT-5.6 Sol or GPT-5.6 Terra as the substitute for each.
- Platform
- OpenAI API
- Models
- computer-use-preview, GPT-4o Search Preview, GPT-4o Mini Search Preview, GPT-5 Chat, GPT-5-Codex, GPT-5.1 Chat, GPT-5.1-Codex, GPT-5.1-Codex-Max, GPT-5.1-Codex Mini, GPT-5.2-Codex, o3-deep-research, o4-mini-deep-research
- Announced