# davinci-002

Calls to the model davinci-002 on OpenAI stopped working on September 28, 2026.

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.

## The error OpenAI returns once davinci-002 is gone

HTTP 404

```json
{"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

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.

- API: OpenAI (api.openai.com)
- Model: davinci-002
- Kind: Model retirement
- Takes effect: September 28, 2026
- Calls after that day: fail
- Calls it hits: `model davinci-002`
- Source: [Deprecations page](https://developers.openai.com/api/docs/deprecations?ref=manifest.build)
- Verified: November 30, 2026, against OpenAI's own pages
- Page: https://manifest.build/models/openai/davinci-002/

## 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

This data is open source (MIT): https://github.com/mnfst/model-deprecations. Edit this entry: https://github.com/mnfst/model-deprecations/blob/main/models/openai/davinci-002.yaml
