# OpenAI codex-mini-latest — deprecation status

> 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.

## Facts

| Field | Value |
| --- | --- |
| Provider | OpenAI |
| Model id | `codex-mini-latest` |
| Status | Retired |
| Deprecated | November 17, 2025 |
| Shutdown | February 12, 2026 (168 days ago) |
| Last verified | July 30, 2026 |

## Replacement

- **GPT-5 Codex mini** (`gpt-5-codex-mini`) · recommended — https://modeldeprecations.dev/openai/gpt-5-codex-mini
  - gpt-5-codex-mini keeps the shell-tool integration this model was built around, so agent scaffolding usually transfers unchanged.
  - Parameters it accepts: https://modelparams.dev/models/openai/gpt-5-codex-mini

```diff
- "model": "codex-mini-latest"
+ "model": "gpt-5-codex-mini"
```

## FAQ

### 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](https://developers.openai.com/api/docs/deprecations) — accessed 2026-07-30

---

Canonical page: https://modeldeprecations.dev/openai/codex-mini-latest
JSON: https://modeldeprecations.dev/api/v1/models/openai/codex-mini-latest.json
