OpenAI is shutting down several model families between 11 December 2026 and 26 February 2027. Changing the model string alone will break production calls on several of these migrations. Here are the dates, the breaking parameter changes, and the code updates.
1. The shutdown dates
OpenAI's deprecation table lists the following model shutdowns through 26 February 2027, ordered earliest first:
| Shutdown Date | Retiring Model IDs | Recommended Replacement |
|---|---|---|
| 2026-12-11 | gpt-5, gpt-5-2025-08-07 | gpt-6.2-sol |
| 2026-12-11 | gpt-5-mini, gpt-5-mini-2025-08-07 | gpt-6.1-terra |
| 2026-12-11 | gpt-5-nano, gpt-5-nano-2025-08-07 | gpt-6-luna |
| 2026-12-11 | gpt-5-pro, gpt-5-pro-2025-10-06 | gpt-6.2-sol (reasoning.mode: pro) in Responses API |
| 2026-12-11 | o3, o3-2025-04-16 | gpt-6.2-sol |
| 2026-12-11 | o3-pro, o3-pro-2025-06-10 | gpt-6.2-sol (reasoning.mode: pro) in Responses API |
| 2027-01-06 | tts-1, tts-1-hd, gpt-4o-mini-tts, gpt-4o-mini-tts-2025-03-20, gpt-4o-mini-tts-2025-12-15 | gpt-realtime-2.1-mini (Realtime API) |
| 2027-01-14 | gpt-4o-2024-08-06, gpt-4o-2024-11-20 | gpt-6-luna |
| 2027-01-14 | gpt-4o-mini-2024-07-18 | gpt-6-luna |
| 2027-01-14 | gpt-4.1-2025-04-14 | gpt-6-luna |
| 2027-01-14 | gpt-4.1-mini-2025-04-14 | gpt-6-luna |
| 2027-01-20 | gpt-realtime, gpt-realtime-2025-08-28, gpt-4o-realtime | gpt-realtime-2.1 |
| 2027-01-20 | gpt-realtime-mini, gpt-realtime-mini-2025-12-15, gpt-4o-mini-realtime | gpt-realtime-2.1-mini |
| 2027-01-20 | gpt-audio, gpt-audio-2025-08-28, gpt-4o-audio, gpt-audio-mini, gpt-audio-mini-2025-12-15, gpt-4o-mini-audio | gpt-audio-1.5 |
| 2027-01-20 | gpt-4o-mini-transcribe-2025-03-20 | gpt-4o-mini-transcribe-2025-12-15 |
| 2027-02-01 | gpt-5.5-cyber-preview | Most capable cyber model available to you |
| 2027-02-10 | gpt-image-2, gpt-image-2-2026-04-21 | gpt-image-2.6-sunburst or gpt-image-2.6-flare |
| 2027-02-26 | whisper-1, gpt-4o-transcribe, gpt-4o-mini-transcribe, gpt-4o-mini-transcribe-2025-12-15, gpt-4o-transcribe-diarize | gpt-live-transcribe or gpt-transcribe |
There are more deprecations up to June 2027 on OpenAI's page: https://developers.openai.com/api/docs/deprecations.
Fine-tuned models (ft:<base>:org:name:id) follow the same shutdown schedule as their underlying base models.
2. Find your exposure in 2 minutes
Start with a quick search across your repository:
rg -n '"(gpt-5|gpt-5-mini|gpt-5-nano|o3|o3-pro|tts-1|tts-1-hd|whisper-1|gpt-4o-2024-08-06)"' . This is a rough start. It misses unquoted values in .env or YAML files, like MODEL=o3 or model: gpt-5. It also matches prefixes wrongly: gpt-5 matches gpt-5.1 and gpt-5-mini, o3 matches o3-mini, and fine-tuned ft: strings get missed.
I put a free scanner on GitHub that handles all 50 IDs, fine-tuned models, env/YAML files and prefix traps: https://github.com/PrajwalSaggurthi/openai-model-shutdown-check.
For the official programmatic check on your account, call GET /v1/models (or retrieve a single model):
curl https://api.openai.com/v1/models \ -H "Authorization: Bearer $OPENAI_API_KEY" Each entry in data[] includes id and shutdown_date. shutdown_date is either a "YYYY-MM-DD" string or null if not announced.
3. 11 December: it's not just the model string
gpt-5, gpt-5-pro, o3, and o3-pro point to gpt-6.2-sol. Updating the model name alone is not enough because gpt-6.2-sol enforces several breaking rules:
- Reasoning effort: The API rejects requests that set reasoning effort to
none. If you currently usenoneorminimal, uselowinstead (reasoning_effortin Chat Completions,reasoning.effortin Responses). - Sampling and logprobs: In Chat Completions, omit
temperature,top_p,logprobs, andtop_logprobs. In Responses, omittemperature,top_p, andtop_logprobs, and removemessage.output_text.logprobsfrominclude. - Tool calling:
gpt-6.2-solsupports Chat Completions, but tool calling requires the Responses API. - Prompt caching: Replace
prompt_cache_retentionwithprompt_cache_options.ttlset to"30m". - Flex processing:
gpt-6.2-soldoes not support Flex processing (service_tier: flex). - Instructions order: In Responses, models starting with GPT-6.2 append top-level
instructionsafterinput. Put reusable instructions in adevelopermessage first ininputfor prompt caching.
gpt-5-mini points to gpt-6.1-terra. Its tool calling also requires the Responses API. Whether gpt-6.1-terra accepts temperature, top_p, logprobs, or top_logprobs: OpenAI's docs don't say; test it.
gpt-5-nano points to gpt-6-luna. In Chat Completions, gpt-6-luna supports function calling only with reasoning_effort set to "none".
Here is a Chat Completions call migrated from o3 to gpt-6.2-sol:
Before:
response = client.chat.completions.create( model="o3", reasoning_effort="minimal", temperature=0.2, top_p=0.9, logprobs=True, prompt_cache_retention=..., # your existing value messages=[{"role": "user", "content": "Summarize the incident."}], ) After:
response = client.chat.completions.create( model="gpt-6.2-sol", reasoning_effort="low", prompt_cache_options={"ttl": "30m"}, messages=[{"role": "user", "content": "Summarize the incident."}], ) 4. 14 January: the gpt-4o alias question
OpenAI's deprecation table lists only dated snapshots for 14 January 2027: gpt-4o-2024-08-06, gpt-4o-2024-11-20, gpt-4o-mini-2024-07-18, gpt-4.1-2025-04-14, and gpt-4.1-mini-2025-04-14.
The bare aliases gpt-4o, gpt-4o-mini, gpt-4.1, and gpt-4.1-mini are not listed in that table. Rather than guess whether a bare alias retires on 14 January in your org, check shutdown_date via GET /v1/models.
The recommended replacement for those snapshots is gpt-6-luna ($0.1 input / $0.5 output per 1M tokens). It supports Chat Completions, Responses, and Batch, and does not support Assistants, fine-tuning, embeddings, audio, images, or legacy completions.
gpt-6-luna is a reasoning model whose reasoning.effort defaults to medium (it supports none, low, medium, high, xhigh, and max). If you use tools in Chat Completions, set reasoning_effort="none" or move to the Responses API.
Whether gpt-6-luna accepts temperature (or top_p, logprobs, and top_logprobs): OpenAI's docs don't say; test it.
5. 6 January: tts-1 is an API change, not a model swap
tts-1, tts-1-hd, and gpt-4o-mini-tts snapshots shut down on 6 January 2027. Their replacement is gpt-realtime-2.1-mini, which only runs on /v1/realtime (WebRTC, WebSocket, and SIP). As OpenAI's docs state: "gpt-realtime-2.1-mini isn't a supported model for /v1/audio/speech."
Three legacy voices have no Realtime equivalent:
tts-1 / tts-1-hd Voice | Realtime Voice |
|---|---|
alloy, ash, coral, echo, sage, shimmer | Same name |
fable, onyx, nova | Missing (no Realtime equivalent) |
| Realtime-only voices | ballad, verse, marin, cedar |
OpenAI recommends marin or cedar for best quality. Note that voice cannot change after the model has emitted audio in a session.
Realtime speed defaults to 1 and accepts 0.25 to 1.5. Legacy tts-1 allowed up to 4.0, so reject or clamp values above 1.5.
Over WebSocket (wss://api.openai.com/v1/realtime?model=gpt-realtime-2.1-mini with Authorization: Bearer <key>), the flow looks like this:
- Wait for
session.created, then sendsession.updatewithoutput_modalities: ["audio"](do not combine["audio"]and["text"]) andaudio.outputset toformat: {"type": "audio/pcm", "rate": 24000},voice, andspeed. - Wait for
session.updated, then sendresponse.createwithconversation: "none",output_modalities: ["audio"], instructions to read the text aloud, and your text asinput. - Collect base64 chunks from
response.output_audio.deltaand transcript chunks fromresponse.output_audio_transcript.deltauntilresponse.done.
Caveat: OpenAI does not document a verbatim read-aloud mode for Realtime models (OpenAI's docs don't say; test it). Compare the response.output_audio_transcript text to your input text before keeping the audio.
6. 20 January and 26 February briefly
On 20 January 2027, older realtime and audio models retire:
-
gpt-realtime,gpt-realtime-2025-08-28, andgpt-4o-realtimemove togpt-realtime-2.1. -
gpt-realtime-mini,gpt-realtime-mini-2025-12-15, andgpt-4o-mini-realtimemove togpt-realtime-2.1-mini(/v1/realtimeonly). -
gpt-audio,gpt-audio-2025-08-28,gpt-4o-audio,gpt-audio-mini,gpt-audio-mini-2025-12-15, andgpt-4o-mini-audiomove togpt-audio-1.5(Chat Completions only). -
gpt-4o-mini-transcribe-2025-03-20moves togpt-4o-mini-transcribe-2025-12-15, which then shuts down on 26 February.
For parameter differences beyond endpoint compatibility on those models: OpenAI's docs don't say; test it.
On 26 February 2027, whisper-1 and the gpt-4o-transcribe models shut down. Move whisper-1 file transcription to gpt-transcribe on the same /v1/audio/transcriptions endpoint (gpt-live-transcribe is streaming-only via /v1/realtime/transcription_sessions). On the same date, /v1/audio/translations shuts down and moves to /v1/realtime/translations.
Also note fine-tuning: from 15 December 2026, no organization can create new self-serve fine-tuning jobs. Inference on existing fine-tuned models continues until their underlying base model retires.
7. A plan for this week
- Scan your codebase for all retiring model IDs, bare aliases,
ft:IDs, and.envor YAML config values. - Confirm live
shutdown_datevalues for your organization withGET /v1/models. - Fix the 11 December items (
gpt-5*,o3*) first, and check if any self-serve fine-tuning jobs need to start before 15 December. - Run old and new requests side by side to verify behavior and undocumented parameters.
- Tackle the January items next:
tts-1WebSocket migration for 6 January, snapshot and alias checks for 14 January, and audio/realtime renames for 20 January.
8. Ready-made migration helpers
If you want the migration pieces ready-made, I packaged a request adapter for the GPT-6 models, a tts-1 to Realtime speak() replacement with voice mapping and a transcript check, and the /v1/models date checker: https://payhip.com/b/cAIWh. Not affiliated with OpenAI.
Other dated API shutdowns this winter (OpenAI, Google, Shopify, Apple, Microsoft), each with its vendor source: https://prajwalsaggurthi.github.io/api-sunset-tracker/
