code-davinci-edit-001
code-davinci-edit-001 retirement: shut down Jan 4, 2024, replacement gpt-4o.
Countdown
Off
Jan 4, 2024
Price per 1M tokens
— in · — out
Standard tier, list price
Price comparison
Full migration notes: code-davinci-edit-001 vs gpt-4o
Timeline
Deprecation announced
Jul 6, 2023
Shutdown
Jan 4, 2024
Source: https://developers.openai.com/api/docs/deprecations · checked Nov 16, 2026
Change history
Related OpenAI models
FAQ
When does code-davinci-edit-001 shut down?
OpenAI lists Jan 4, 2024 as the shutdown date for code-davinci-edit-001 (1048 days ago). After that date, API calls to it fail.
What should I replace code-davinci-edit-001 with?
OpenAI recommends gpt-4o.
How much does code-davinci-edit-001 cost per 1M tokens?
OpenAI's current pricing page lists no standard per-token price for code-davinci-edit-001 because it is retired.
How do I find every place my code calls code-davinci-edit-001?
Paste your code or a public GitHub repo URL into ModelRot's free scanner. It lists every file and line that uses code-davinci-edit-001 or any other retiring model, with the replacement and cost change.