OpenAI
codex-mini-latest: retirement date, replacement, how to migrate
codex-mini-latest was retired on 2026-02-12 on the OpenAI API; the vendor's named replacement is gpt-5-codex-mini.
This date is the one in the OpenAI notice for the OpenAI API. Other platforms that host the same model publish their own dates.
Facts
- Retirement date
- Status
- Retired, 244 days ago
- Replacement
gpt-5-codex-mini- Official notice
- https://developers.openai.com/api/docs/deprecations#2025-11-17-codex-mini-latest-model-snapshot
- Notice date
Find it in your code
npx @upseam/cli inspect openai
grep -rnF 'codex-mini-latest' .
The first command reads your repository and the change data bundled in the package; nothing leaves your machine. The second is a plain text search.
Migrate
codex-mini-latestgpt-5-codex-mini
Change the id in your code and config to the vendor's named replacement. The record does not say whether outputs, parameters or prices stay the same, so read the vendor's notice before you switch. Open the vendor's notice.
Get warned automatically
Upseam is Dependabot for APIs: it watches vendor changelogs and opens a checked pull request when a change affects your code. See how it works.
Last updated 2025-11-17 · Markdown copy