Migrating from code-davinci-edit-001 to gpt-4o
What changes when you move from code-davinci-edit-001 to gpt-4o: prices, limits, features and parameters, read from each company's own pages.
- Status
- Retired
- Shutdown
- Jan 4, 2024
- Time left
- —
- To
- gpt-4o
- Status
- Active
- Shutdown
- none announced
- Time left
- —
Prices
USD per 1M tokens, standard tier| Type | code-davinci-edit-001 | gpt-4o | Change |
|---|---|---|---|
| Input | Not published | $2.50first seen October 1, 2026 · source | — |
| Cached input | Not published | $1.25first seen October 1, 2026 · source | — |
| Output | Not published | $10.00first seen October 1, 2026 · source | — |
Other tiers, prompt-size bands and modalities are on each model's page.
Limits
Tokens| Limit | code-davinci-edit-001 | gpt-4o | Change |
|---|---|---|---|
| Context window | Not published | 128,000 tokensin place when tracking began (October 6, 2026) · source | — |
| Max output tokens | Not published | 16,384 tokensin place when tracking began (October 6, 2026) · source | — |
Features and parameters
Compare modelsNo feature is published for both models, so none can be compared.
Not published for code-davinci-edit-001: Structured outputs, Function calling, Prompt caching, Batch API, Image input, PDF input, Reasoning / thinking, Fine-tuning, Built-in web search, temperature parameter, top_p parameter, logprobs, Context window, Max output tokens.
Not published for gpt-4o: Prompt caching, PDF input, Reasoning / thinking, temperature parameter, top_p parameter, logprobs.
Aliases
All aliasesNo aliases point at either model.
On cloud platforms
All platform dates| Model | Platform | Platform ID | Shutdown | Time left |
|---|---|---|---|---|
| gpt-4o | Microsoft Foundryversion 2024-08-06 | gpt-4o | Apr 14, 2027Deprecated | 181 days |
| gpt-4o | Microsoft Foundryversion 2024-11-20 | gpt-4o | Apr 14, 2027Legacy | 181 days |
Read daily from each platform's own pages. The status above uses each company's own date. Time left counts to 00:00 UTC on the shutdown date, which is the evening before in ET.
Checklist
- Change the model string from
code-davinci-edit-001togpt-4o.
Compared from AIWire's published data when this page loaded. Each fact links to the page it came from. Model pages: code-davinci-edit-001, gpt-4o.