OpenAI retires gpt-5.3-codex, gpt-5.1 and gpt-5.4-nano on 1 April 2027: what to change
On 1 April 2027, OpenAI removes gpt-5.3-codex, gpt-5.1 and gpt-5.4-nano from the API, together with the dated versions listed below. From that day, API calls to these models fail. OpenAI's recommended replacements (as of
On 1 April 2027, OpenAI removes gpt-5.3-codex, gpt-5.1 and gpt-5.4-nano from the API, together with the dated versions listed below. From that day, API calls to these models fail. OpenAI's recommended replacements (as of 13 November 2026): gpt-6-sol and gpt-6-luna.
What retires, and what replaces it
OpenAI lists these models on its deprecations page. The dates and replacements on this page come from Driftline's registry, which is checked against that page several times a day, so they stay current if OpenAI changes them.
| Model | Replacement | Moving to it |
|---|---|---|
gpt-5.3-codex |
gpt-6-sol |
Rename |
gpt-5.1 |
gpt-6-sol |
Rename |
gpt-5.1-2025-11-13 |
gpt-6-sol |
Rename |
gpt-5.4-nano |
gpt-6-luna |
Rename |
gpt-5.4-nano-2026-03-17 |
gpt-6-luna |
Rename |
Find every place your code uses them
Run this in the root of your repository. No install, account or API key; it lists every OpenAI, Anthropic and Google model ID it finds, with file, line, retirement date and replacement:
npx -y @aidriftline/driftline .
A plain search works too:
grep -rnE '"(gpt-5\.3-codex|gpt-5\.1|gpt-5\.1-2025-11-13|gpt-5\.4-nano|gpt-5\.4-nano-2026-03-17)"' .
It misses model names set outside the code: environment variables, deployment settings, values stored in a database, and defaults inside SDKs or agent frameworks you never configured.
Test before 1 April 2027
A new model answers the same prompt differently: format, length, tone, and whether JSON still parses. Take 10 to 20 real prompts from your logs, run each on the old model and the replacement, and compare. Do it while the old model still answers; after the date there is nothing left to compare against.
Driftline Pro does this in your GitHub Actions: it runs the prompts your app sends on the current model and the replacement, and shows what changed in the pull request.
Get a reminder
The free Driftline GitHub Action flags retired and soon-to-retire model IDs on every pull request, so the next retirement doesn't come as a surprise.
Questions
Will calls to gpt-5.3-codex keep working after 1 April 2027?
No. OpenAI removes the model from the API on that day, and requests to it return an error.
I build Driftline, which tracks these retirement dates. The current list, with one page per model: aidriftline.com/models.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.