OpenAI
code-cushman-001 model retirement
Stopped workingSubscribe to OpenAIShare
Calls to the model code-cushman-001 on OpenAI stopped working on March 23, 2023.
The error you get
What OpenAI answers a call to code-cushman-001 once the model is gone, as recorded from real responses:
{"error":{"message":"The model `code-cushman-001` 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 of code-cushman-001
Move to gpt-6-luna. gpt-4o, named first, stops working on 2027-01-14.
In OpenAI's words
Shutdown date: 2023-03-23; Deprecated model: code-cushman-001; Recommended replacement: gpt-4o
Facts
- API
- OpenAI
api.openai.com - Model
code-cushman-001- Kind
- Model retirement
- Takes effect
- March 23, 2023
- Calls after that day
- Fail
- Source
- Deprecations page
- Last updated
- Verified
- , against OpenAI's own pages
Questions
When does code-cushman-001 shut down?
Calls to the model code-cushman-001 on OpenAI stopped working on March 23, 2023.
What happens to calls after March 23, 2023?
They have failed since March 23, 2023.
What error does code-cushman-001 return once it is shut down?
OpenAI answers HTTP 404: "The model `code-cushman-001` has been deprecated, learn more here: https://platform.openai.com/docs/deprecations". Send another model to fix it.
How do I find the calls this hits in my code?
Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.
More from OpenAI 10
-
code-cushman-002Model retirement Stopped working -
code-davinci-001Model retirement Stopped working -
code-davinci-002Model retirement Stopped working -
adaModel retirement Stopped working -
babbageModel retirement Stopped working -
code-davinci-edit-001Model retirement Stopped working -
code-search-ada-code-001Model retirement Stopped working -
code-search-ada-text-001Model retirement Stopped working -
code-search-babbage-code-001Model retirement Stopped working -
code-search-babbage-text-001Model retirement Stopped working
You fixed this one by hand.
Okapi opens the pull request with the fix before the next breaking change reaches your code.