davinci vs davinci-002
OpenAI names davinci-002 as the replacement for davinci. davinci shut down on Jan 4, 2024.
Retired→Retired
Per 1M tokensdavincidavinci-002
Input$20—
Output$20—
Blended changeUnknown: a list price is missing
ProviderOpenAIOpenAI
Statusretiredretired
ShutdownJan 4, 2024Sep 28, 2026
Context window——
Migrating
- Replace the ID
davinciwithdavinci-002everywhere it appears, including .env files, config and infrastructure templates. - Run your evaluation set or golden prompts on both before switching: output style, refusals and tool calling can differ between generations.
- Check max output tokens and parameters: newer models sometimes rename or drop sampling options.
- Watch the repo on ModelRot so the next retirement doesn't surprise you. davinci-002 lifecycle.