No longer supported
This model is retired (released March 2023) and is no longer actively maintained or recommended by OpenAI. Consider using their current flagship model instead.
by OpenAI· Released March 2023· Cutoff June 2021
Codex davinci-002 is a deprecated version of OpenAI's Codex model, specialized in translating natural language into code. It was the most capable Codex model before being succeeded by GPT-4 and GPT-3.5 Turbo. This model is no longer available for use as of March 2023.
Input cost
$0.0200 per 1K tokens
Output cost
$0.0400 per 1K tokens
Context window
8000 tokens
Max output
4096 tokens
Modalities
License
proprietary
Generating code from natural language descriptions, especially for Python and other popular languages.