codex-mini-latest
codex-mini-latest (OpenAI)
Yes — codex-mini-latest is retired. OpenAI deprecated it on November 17, 2025 and shut it down on February 12, 2026; API requests to it now fail. The recommended replacement is GPT-5 Codex mini.
The small coding model behind the first Codex CLI, and a floating pointer rather than a pinned snapshot. Retired February 2026, a day short of three months after the announcement.
The facts
| Provider | OpenAI |
|---|---|
| Model id | codex-mini-latest |
| Released | — |
| Deprecated | November 17, 2025 |
| Shutdown | February 12, 2026 · 168 days ago |
| Status | Retired |
| Last verified | July 30, 2026 |
What to use instead
gpt-5-codex-mini keeps the shell-tool integration this model was built around, so agent scaffolding usually transfers unchanged.
What parameters gpt-5-codex-mini accepts on modelparams.dev
Change the id
In most cases the migration is one string. Check the parameter differences before you ship — newer models drop older sampling knobs more often than they add them.
- "model": "codex-mini-latest"
+ "model": "gpt-5-codex-mini"
Frequently asked questions
- When did OpenAI codex-mini-latest shut down?
- OpenAI codex-mini-latest shut down on February 12, 2026. API requests to it fail from that date onward.
- What replaces OpenAI codex-mini-latest?
- OpenAI recommends GPT-5 Codex mini (`gpt-5-codex-mini`) as the replacement for OpenAI codex-mini-latest. gpt-5-codex-mini keeps the shell-tool integration this model was built around, so agent scaffolding usually transfers unchanged.
- Is OpenAI codex-mini-latest still available?
- No. OpenAI codex-mini-latest is retired and no longer served — it was shut down on February 12, 2026. Calls to it return an error.
- How do I migrate from OpenAI codex-mini-latest to gpt-5-codex-mini?
- Swap the model id in your API call: replace "codex-mini-latest" with "gpt-5-codex-mini". gpt-5-codex-mini keeps the shell-tool integration this model was built around, so agent scaffolding usually transfers unchanged.
Sources
- OpenAI API deprecations · developers.openai.com · accessed July 30, 2026
Found something wrong? The data is one YAML file — edit it on GitHub.
This page, for machines
Drop the badge in a README so it turns red the day this model is retired:
[](https://modeldeprecations.dev/openai/codex-mini-latest)