Okapi Okapi

OpenAI gpt-5.4-nano model retirement

Stops workingin 146 daysSubscribe to OpenAIShare

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 you get from April 1, 2027

What OpenAI answers a call to gpt-5.4-nano once the model is gone, as recorded from real responses:

HTTP 404
{"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 of gpt-5.4-nano

Move to gpt-6-luna, which is the recommended replacement by OpenAI.

In 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

OpenAI, Deprecations page

Facts

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
Source
Deprecations page
Last updated
Verified
, against OpenAI's own pages

Questions

When does gpt-5.4-nano shut down?

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

What happens to calls after April 1, 2027?

They fail from that day.

What error does gpt-5.4-nano return once it is shut down?

OpenAI answers HTTP 404: "The model `gpt-5.4-nano` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations". Send another model to fix it.

When was gpt-5.4-nano released?

gpt-5.4-nano was released on March 17, 2026, according to models.dev.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


gpt-5.4-nano on other APIs 2

  1. Lovable AI Gateway openai/gpt-5.4-nanoModel retirement Redirectsin 146 days
  2. Azure AI Foundry gpt-5.4-nanoModel retirement Stops workingin 319 days

More from OpenAI 10

  1. gpt-5.5-cyber-previewModel retirement Stops workingin 87 days
  2. gpt-4o-mini-transcribeModel retirement Stops workingin 112 days
  3. gpt-4o-mini-transcribe-2025-12-15Model retirement Stops workingin 112 days
  4. gpt-4o-transcribeModel retirement Stops workingin 112 days
  5. gpt-4o-transcribe-diarizeModel retirement Stops workingin 112 days
  6. whisper-1Model retirement Stops workingin 112 days
  7. gpt-5.1Model retirement Stops workingin 146 days
  8. gpt-5.1-2025-11-13Model retirement Stops workingin 146 days
  9. gpt-5.3-codexModel retirement Stops workingin 146 days
  10. gpt-5.4-nano-2026-03-17Model retirement Stops workingin 146 days

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix before April 1, 2027.

Add to GitHub

Get notifications

Subscribe to OpenAI

Hear about each breaking change OpenAI announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • OpenAI

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.