When is code-davinci-002 retired?
retired
code-davinci-002 on OpenAI was retired on Jan 4, 2024.
Replacement: gpt-3.5-turbo-instruct
Warning: the replacement was retired on Sep 28, 2026. gpt-3.5-turbo-instruct . The deepest model we track in the chain is gpt-3.5-turbo-instruct, which is retired.
| Provider (API) | OpenAI |
|---|---|
| Model ID | code-davinci-002 |
| Deprecation announced | — |
| Shutdown date | Jan 4, 2024 |
| Section on source page | Base GPT models |
| Source | https://developers.openai.com/api/docs/deprecations |
| Last checked | 2026-10-31T13:07:11+00:00 |
Last checked 2026-10-31 · Source · Markdown · JSON
Migration
- OpenAI lists
gpt-3.5-turbo-instructas the recommended replacement forcode-davinci-002(official source). - Read the provider's official notes on the source page before switching model IDs.
Embed this date
Copy this into your README or docs (it updates automatically):
<a href="https://aideprecations.neocities.org/openai/code-davinci-002/"><img src="https://aideprecations.neocities.org/badge/openai/code-davinci-002.svg" alt="code-davinci-002 shutdown date"></a>
More embeds on the developers page.
Sponsor slot
Reach developers migrating off retiring models. Sponsor AI Deprecations
Reach developers migrating off retiring models. Sponsor AI Deprecations
Get shutdown alerts by email
Mon/Wed/Fri: new deprecations, upcoming shutdowns and replacements, with official links.
Mon/Wed/Fri: new deprecations, upcoming shutdowns and replacements, with official links.
Check your inbox to confirm. Finish on the Buttondown tab that opened, then click the link we email you.
Unsubscribe anytime. Other ways to get alerts: RSS · Atom · calendar (.ics, Google, Outlook) · JSON changes · webhooks · MCP subscribe_alerts. All subscribe options