OpenAI has many more model deprecations since this post.

OpenAI documentation has blocks by announcement date.

I have them updated, and by order of shutoff date, in Python format, easily adapted to other languages by removing comments: pretty much all models of API concern including those now dead except by fine-tuning.

You can start with gpt-5 being shutoff before the end of the year, and scroll your cursor to those being killed in under two weeks.

DEPRECATIONS: dict[str, dict[str, str]] = {
    "gpt-5-2025-08-07": {"shutoff": "2026-12-11", "alias": "gpt-5"},
    "gpt-5-mini-2025-08-07": {"shutoff": "2026-12-11", "alias": "gpt-5-mini"},
    "gpt-5-nano-2025-08-07": {"shutoff": "2026-12-11", "alias": "gpt-5-nano"},
    "gpt-5-pro-2025-10-06": {"shutoff": "2026-12-11", "alias": "gpt-5-pro"},
    "o3-2025-04-16": {"shutoff": "2026-12-11", "alias": "o3"},
    "o3-pro-2025-06-10": {"shutoff": "2026-12-11", "alias": "o3-pro"},
    "gpt-image-1-mini": {"shutoff": "2026-12-01"},
    "gpt-image-1.5": {"shutoff": "2026-12-01"},
    "chatgpt-image-latest": {"shutoff": "2026-12-01"},
    "gpt-3.5-turbo-0125": {"shutoff": "2026-10-23", "ft_shutoff": "2026-10-23","alias": "gpt-3.5-turbo"},
    "gpt-4-0613": {"shutoff": "2026-10-23", "ft_shutoff": "2026-10-23", "alias": "gpt-4"},
    "gpt-4-turbo-2024-04-09": {"shutoff": "2026-10-23", "alias": "gpt-4-turbo"},
    "gpt-4.1-nano-2025-04-14": {"shutoff": "2026-10-23", "ft_shutoff": "2026-10-23", "alias": "gpt-4.1-nano"},
    "gpt-4o-2024-05-13": {"shutoff": "2026-10-23"},
    "gpt-image-1": {"shutoff": "2026-10-23"},
    "o1-2024-12-17": {"shutoff": "2026-10-23", "alias": "o1"},
    "o1-pro-2025-03-19": {"shutoff": "2026-10-23", "alias": "o1-pro"},
    "o3-mini-2025-01-31": {"shutoff": "2026-10-23", "alias": "o3-mini"},
    "o4-mini-2025-04-16": {"shutoff": "2026-10-23", "ft_shutoff": "2026-10-23", "alias": "o4-mini"},
    "gpt-3.5-turbo-instruct": {"shutoff": "2026-09-28"},
    "babbage-002": {"shutoff": "2026-09-28", "ft_shutoff": "2026-10-23"},  # new FT training disabled 2024-10-28
    "davinci-002": {"shutoff": "2026-09-28", "ft_shutoff": "2026-10-23"},  # new FT training disabled 2024-10-28
    "gpt-3.5-turbo-1106": {"shutoff": "2026-09-28", "ft_shutoff": "2026-10-23"},
    "gpt-5.3-chat-latest": {"shutoff": "2026-08-10"},
    "gpt-5.2-chat-latest": {"shutoff": "2026-08-10"},
    "computer-use-preview-2025-03-11": {"shutoff": "2026-07-23", "alias": "computer-use-preview"},
    "gpt-4o-search-preview-2025-03-11": {"shutoff": "2026-07-23", "alias": "gpt-4o-search-preview"},
    "gpt-4o-mini-search-preview-2025-03-11": {"shutoff": "2026-07-23", "alias": "gpt-4o-mini-search-preview"},
    "gpt-4o-mini-tts-2025-03-20": {"shutoff": "2026-07-23"},
    "gpt-5-chat-latest": {"shutoff": "2026-07-23"},
    "gpt-5-codex": {"shutoff": "2026-07-23"},
    "gpt-5.1-chat-latest": {"shutoff": "2026-07-23"},
    "gpt-5.1-codex": {"shutoff": "2026-07-23"},
    "gpt-5.1-codex-max": {"shutoff": "2026-07-23"},
    "gpt-5.1-codex-mini": {"shutoff": "2026-07-23"},
    "gpt-audio-mini-2025-10-06": {"shutoff": "2026-07-23"},
    "gpt-realtime-mini-2025-10-06": {"shutoff": "2026-07-23"},
    "o3-deep-research-2025-06-26": {"shutoff": "2026-07-23", "alias": "o3-deep-research"},
    "o4-mini-deep-research-2025-06-26": {"shutoff": "2026-07-23", "alias": "o4-mini-deep-research"},
    "gpt-5.2-codex": {"shutoff": "2026-07-23"},
    # shutoff as of 2026-07-13
    "dall-e-2": {"shutoff": "2026-05-12"},
    "dall-e-3": {"shutoff": "2026-05-12"},
    "gpt-4o-realtime-preview-2025-06-03": {"shutoff": "2026-05-07", "alias": "gpt-4o-realtime-preview"},
    "gpt-4o-realtime-preview-2024-12-17": {"shutoff": "2026-05-07"},
    "gpt-4o-mini-realtime-preview": {"shutoff": "2026-05-07", "alias": "gpt-4o-mini-realtime-preview"},
    "gpt-4o-audio-preview-2025-06-03": {"shutoff": "2026-05-07", "alias": "gpt-4o-audio-preview"},
    "gpt-4o-mini-audio-preview": {"shutoff": "2026-05-07", "alias": "gpt-4o-mini-audio-preview"},
    "gpt-4-0314": {"shutoff": "2026-03-26"},
    "gpt-4-1106-preview": {"shutoff": "2026-03-26", "ft_shutoff": "2026-10-23"},
    "gpt-4-0125-preview": {"shutoff": "2026-03-26", "alias": "gpt-4-turbo-preview"},
    "chatgpt-4o-latest": {"shutoff": "2026-02-17"},
    "codex-mini-latest": {"shutoff": "2026-02-12"},
    "o1-mini-2024-09-12": {"shutoff": "2025-10-27", "alias": "o1-mini"},
    "gpt-4o-audio-preview-2024-10-01": {"shutoff": "2025-10-10"},
    "gpt-4o-realtime-preview-2024-10-01": {"shutoff": "2025-10-10"},
    "o1-preview-2024-09-12": {"shutoff": "2025-07-28", "alias": "o1-preview"},
    "gpt-4.5-preview": {"shutoff": "2025-07-14"},
    "gpt-4-32k-0613": {"shutoff": "2025-06-06", "alias": "gpt-4-32k"},
    "gpt-4-32k-0314": {"shutoff": "2025-06-06"},
    "gpt-4-1106-vision-preview": {"shutoff": "2024-12-06", "alias": "gpt-4-vision-preview"},
    "gpt-3.5-turbo-0613": {"shutoff": "2024-09-13", "ft_shutoff": "2026-10-23"},
    "gpt-3.5-turbo-16k-0613": {"shutoff": "2024-09-13", "ft_shutoff": "2026-10-23", "alias": "gpt-3.5-turbo-16k"},
    "gpt-3.5-turbo-0301": {"shutoff": "2024-09-13", "ft_shutoff": "2026-10-23"},
    # GPT-3 all dead
}

fields of dict/object:
“shutoff” - turnoff date on API
“ft_shutoff” - when fine-tuning versions of a model will be shut off
“alias” - the pointer to the model being shut off with no new destination