# gpt-5.4-nano

Calls to the model gpt-5.4-nano on OpenAI stop working on April 1, 2027.

On April 1, 2027, model gpt-5.4-nano will be retired. Calls using model gpt-5.4-nano will fail after that date. This shutdown also covers gpt-5.4-nano-2026-03-17.

## The error OpenAI returns once gpt-5.4-nano is gone

HTTP 404

```json
{"error":{"message":"The model `gpt-5.4-nano` 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-6-luna, which is the recommended replacement by OpenAI.

- API: OpenAI (api.openai.com)
- Model: gpt-5.4-nano
- Released: March 17, 2026 (models.dev)
- Kind: Model retirement
- Takes effect: April 1, 2027
- Calls after that day: fail
- Calls it hits: `model gpt-5.4-nano`
- 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/gpt-5.4-nano/

## OpenAI's words

> Shutdown date: Apr 1, 2027; Model / system: gpt-5.4-nano | gpt-5.4-nano-2026-03-17; Recommended replacement: gpt-6-luna

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