OpenAIretiredtrivial

gpt-5-codex

Codex-branded id consolidates into GPT-5.4 line.

DeprecatedYes
Shutdown2026-07-23
Statusretired
Replacementgpt-5.4
Already retiredThis id is past its shutdown date. Keep this page for migration archaeology only.

Quick fix — copy & paste

Breaks on 2026-07-23

model = "gpt-5-codex"

Use this instead

model = "gpt-5.4"