davinci-002
davinci-002 (OpenAI)
Yes — OpenAI deprecated davinci-002 on September 26, 2025 and shuts it down on September 28, 2026 (in 60 days). The recommended replacement is GPT-5.4 mini.
The larger of the two remaining base completions models, and the last descendant of the original davinci line still callable. Deprecated with a September 2026 shutdown.
The facts
| Provider | OpenAI |
|---|---|
| Model id | davinci-002 |
| Released | August 22, 2023 |
| Deprecated | September 26, 2025 |
| Shutdown | September 28, 2026 · in 60 days |
| Status | Deprecated |
| Last verified | July 30, 2026 |
What to use instead
Nothing on the current platform offers raw base-model continuation. If your use case depends on it rather than on instruction following, an open-weight model is a closer match than anything OpenAI still hosts.
What parameters gpt-5.4-mini accepts on modelparams.dev
Change the id
In most cases the migration is one string. Check the parameter differences before you ship — newer models drop older sampling knobs more often than they add them.
- "model": "davinci-002"
+ "model": "gpt-5.4-mini"
Frequently asked questions
- When will OpenAI davinci-002 shut down?
- OpenAI davinci-002 is scheduled to shut down on September 28, 2026, in 60 days.
- What replaces OpenAI davinci-002?
- OpenAI recommends GPT-5.4 mini (`gpt-5.4-mini`) as the replacement for OpenAI davinci-002. Nothing on the current platform offers raw base-model continuation. If your use case depends on it rather than on instruction following, an open-weight model is a closer match than anything OpenAI still hosts.
- Is OpenAI davinci-002 still available?
- Yes, for now. OpenAI davinci-002 is deprecated but still answers requests until September 28, 2026. Deprecated models get no further updates and are the first to lose capacity.
- How do I migrate from OpenAI davinci-002 to gpt-5.4-mini?
- Swap the model id in your API call: replace "davinci-002" with "gpt-5.4-mini". Nothing on the current platform offers raw base-model continuation. If your use case depends on it rather than on instruction following, an open-weight model is a closer match than anything OpenAI still hosts.
Models that migrate here
OpenAI names davinci-002 as the replacement for 2 models.
Sources
- OpenAI API deprecations · developers.openai.com · accessed July 30, 2026
Found something wrong? The data is one YAML file — edit it on GitHub.
This page, for machines
Drop the badge in a README so it turns red the day this model is retired:
[](https://modeldeprecations.dev/openai/davinci-002)