Okapi Okapi

OpenAI chatgpt-4o-latest model retirement

Stopped workingSubscribe to OpenAIShare

Calls to the model chatgpt-4o-latest on OpenAI stopped working on February 17, 2026.


The error you get

What OpenAI answers a call to chatgpt-4o-latest once the model is gone, as recorded from real responses:

HTTP 404
{"error":{"message":"The model `chatgpt-4o-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 of chatgpt-4o-latest

Move to gpt-5.6-sol. gpt-5.1-chat-latest, named first, stopped working on 2026-07-23.

In OpenAI's words

Shutdown date: 2026-02-17; Model / system: chatgpt-4o-latest; Recommended replacement: gpt-5.1-chat-latest

OpenAI, Deprecations page

Facts

API
OpenAI api.openai.com
Model
chatgpt-4o-latest
Released
August 14, 2024 (models.dev)
Kind
Model retirement
Takes effect
February 17, 2026
Calls after that day
Fail
Source
Deprecations page
Last updated
Verified
, against OpenAI's own pages

Questions

When does chatgpt-4o-latest shut down?

Calls to the model chatgpt-4o-latest on OpenAI stopped working on February 17, 2026.

What happens to calls after February 17, 2026?

They have failed since February 17, 2026.

What error does chatgpt-4o-latest return once it is shut down?

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

When was chatgpt-4o-latest released?

chatgpt-4o-latest was released on August 14, 2024, 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.


More from OpenAI 10

  1. codex-mini-latestModel retirement Stopped working
  2. gpt-4-0125-previewModel retirement Stopped working
  3. gpt-4-0314Model retirement Stopped working
  4. gpt-4-turbo-previewModel retirement Stopped working
  5. gpt-4-turbo-preview-completionsModel retirement Stopped working
  6. gpt-4o-audio-previewModel retirement Stopped working
  7. gpt-4o-mini-audio-previewModel retirement Stopped working
  8. gpt-4o-mini-realtime-previewModel retirement Stopped working
  9. gpt-4o-realtime-previewModel retirement Stopped working
  10. gpt-4o-realtime-preview-2024-12-17Model retirement Stopped working

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

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.