The error you get
What OpenAI answers a call to davinci once the model is gone, as recorded from real responses:
{"error":{"message":"The model `davinci` 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 davinci
Move to gpt-5.6-terra. davinci-002, named first, stopped working on September 28, 2026. davinci-002 was the named replacement base model and is itself deprecated, shutting down September 2026 — after which OpenAI hosts no base models at all.
Facts
- API
- OpenAI
api.openai.com - Model
davinci- Kind
- Model retirement
- Announced
- July 6, 2023
- Takes effect
- January 4, 2024
- Calls after that day
- Fail
- Source
- models.dev
- Last updated
- Verified
- , against OpenAI's own pages
Questions
When does davinci shut down?
Calls to the model davinci on OpenAI stopped working on January 4, 2024.
What happens to calls after January 4, 2024?
They have failed since January 4, 2024.
What error does davinci return once it is shut down?
OpenAI answers HTTP 404: "The model `davinci` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations". Send another model to fix it.
More from OpenAI 10
| Effective | Model | Status |
|---|---|---|
ada | stopped working | |
babbage | stopped working | |
code-davinci-edit-001 | stopped working | |
code-search-ada-code-001 | stopped working | |
code-search-ada-text-001 | stopped working | |
code-search-babbage-code-001 | stopped working | |
code-search-babbage-text-001 | stopped working | |
curie | stopped working | |
text-ada-001 | stopped working | |
text-babbage-001 | stopped working |