# codex-mini-latest

Calls to the model codex-mini-latest on OpenAI stopped working on February 12, 2026.

## The error OpenAI returns once codex-mini-latest is gone

HTTP 404

```json
{"error":{"message":"The model `codex-mini-latest` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations","type":"invalid_request_error","param":null,"code":"model_not_found"}}
```

## What to use instead

Move to gpt-5-codex-mini, recommended by OpenAI.

- API: OpenAI (api.openai.com)
- Model: codex-mini-latest
- Kind: Model retirement
- Takes effect: February 12, 2026
- Calls after that day: fail
- Calls it hits: `model codex-mini-latest`
- Source: [Deprecations page](https://developers.openai.com/api/docs/deprecations)
- Verified: November 6, 2026, against OpenAI's own pages
- Page: https://www.okapi.bot/models/openai/codex-mini-latest/

## OpenAI's words

> Shutdown date: 2026-02-12; Model / system: codex-mini-latest; Recommended replacement: gpt-5-codex-mini

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
