Logo SVG copied to clipboard
Custom development The team behind Manifest can help you develop what your company needs around your LLM gateway. Talk to us

OpenAI davinci-002 model retirement

Stopped working

Model davinci-002 was shut down on September 28, 2026. Calls specifying model davinci-002 fail since that date. The model is no longer available from OpenAI.

View as Markdown

The error you get

What OpenAI answers a call to davinci-002 once the model is gone, as recorded from real responses:

HTTP 404
{"error":{"message":"The model `davinci-002` 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-002

Move to gpt-5.6-terra, recommended by OpenAI. Because gpt-5.6-terra is not served on /v1/completions, moving to it requires more than updating an identifier: transfer calls to Chat Completions (/v1/chat/completions) or the Responses API (/v1/responses), converting the prompt string into messages or input.

gpt-5.6-terra is not served on /v1/completions. Move the call to Chat Completions (/v1/chat/completions) or the Responses API (/v1/responses): the prompt string becomes messages or input.

In OpenAI's words

Shutdown date: Sep 28, 2026; Affected model or feature: davinci-002; Listed replacement: gpt-5.6-terra; Notice date: Sep 26, 2025

OpenAI, Deprecations page

Facts

API
OpenAI api.openai.com
Model
davinci-002
Kind
Model retirement
Takes effect
September 28, 2026
Calls after that day
Fail
Last updated
Verified
, against OpenAI's own pages

This data is open source (MIT): mnfst/model-deprecations. Something wrong or missing? Edit on GitHub.

Self-host for free, or let us run it for $19/month.