whatmodel.sh / Codex code-davinci-002 (GPT-3.5 base)

Codex code-davinci-002 (GPT-3.5 base) is a closed-weights language model from OpenAI, released March 2022. Licence: proprietary.

Catalogue identity notes

OpenAI API completions engine code-davinci-002. OpenAI's 'New Capabilities for GPT-3: Edit & Insert' post (March 15, 2022; archived copy) names 'the latest versions of GPT-3 and Codex, text-davinci-002 and code-davinci-002'. OpenAI deprecations page: Codex models shut down 2023-03-23 (base-model table also lists 2024-01-04). Parameter count never officially published. Comparison-only.

Model information sources

Release date ↗

47.1±0.4comparison only: no current run option verifiedfrom 64 benchmark results across 26 sources

Score within the LMArena (text) comparison set only.

$ how it compares

The LLMs ranked either side of Codex code-davinci-002 (GPT-3.5 base), out of 897 with a score, then more from OpenAI.

#modelscorewhereRAMreleased
523Hermes 2 Pro Llama 3 8B Nous Research47±3local~6.7GB2024-04
524MedGemma 4B IT Google47±2local~4.6GB2025-05
525Codex code-davinci-002 (GPT-3.5 base) OpenAI47±0comparison only2022-03
526Nova Micro Amazon47±2api $0.061/M2024-12
527Claude 2.0 Anthropic47±1comparison only2023-07
more from OpenAI
2GPT-6 Astra OpenAI84±1api $20.00/M2026-09
5GPT-6.1 Sol OpenAI84±1api $4.00/M2026-09
6GPT-6.1 Terra OpenAI83±1api $2.00/M2026-10

see all LLMs · find the ones that fit your machine

$ what it's good at

coding▁▁▁▃▅▆█▇▆▃▃▁ #457 of 544 * · 1.0% of its score · 1 test

Beats LFM2.5 8B-A1B, DeepSeek R1 Distill Qwen 7B, Tulu 2 70B here, though they rank higher overall. Trails Qwen2.5 1.5B Instruct, WizardLM 13B V1.2, Falcon3 3B Instruct here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
HumanEval45.9% ✎▁▁▁▁▂▂▆▆█▅▂▁ beats 83/205easy · avg 69%▇ 1.0%sharp · at its level · small run
math▁▂▃▆█▇▅▇▄▁▁▁ #272 of 540 · 27% of its score · 2 tests

Beats MiniMax-M2.1, DeepSeek V3 (Dec '24), GPT-4o (2024-08-06) here, though they rank higher overall. Trails Gemma 7B (base), Phi-2 (2.7B), Granite 8B Code Base (4K) here, though they rank lower overall.

testresultvs the others in its rundifficultycountswhy
GSM8K +1263.1% ✎█·▅▃▃▃·▃·▃▃▅ beats 12/12easy · avg 67%▇▇▇▇▇▇▇▇▇▇ 25%sharp · at its level · several runs
MGSM35.0% ✎▆·▂·▄▂▂▂▂█▄▆ beats 12/18medium · avg 48%▇ 2.7%sharp · at its level
other tests26 not in a task · 72% of its score
testresultvs the others in its rundifficultycountswhy
AQuA-RAT +545.3% ✎█▁·▁▁·····▂▃ beats 12/12medium · avg 49%▇▇▇▇▇▇▇ 17%sharp · several runs
SVAMP +776.4% ✎▃▅█···▅·▃▃▃▅ beats 11/12easy · avg 82%▇▇▇▇▇▇ 14%sharp · several runs
CommonsenseQA +582.3% ✎█······▁·▁▁▃ beats 12/12easy · avg 88%▇▇▇ 8.3%sharp · several runs
ASDiv +180.4% ✎▅▃▃▅··▃▃·▃▃█ beats 12/12easy · avg 83%▇▇ 5.5%sharp · several runs
MAWPS (CoT-paper union)92.6% ✎▅▃█···▅·▃▃▃▅ beats 11/12very easy · avg 94%▇▇ 4.2%sharp
BIG-Bench Hard +152.8% ✎▂▂▂▂·▅·▃▂█▃▃ beats 16/18medium · avg 60%▇▇ 3.9%sharp · at its level · several runs
MMLU68.2% ✎▁···▁··▃▁▅▅█ beats 14/18easy · avg 74%▇ 2.8%at its level
BIG-bench Sports Understanding71.7% ✎█·····▃·▁·▄▁ beats 10/12medium · avg 81%▇ 2.5%sharp · at its level
18 more tests
testresultvs the others in its rundifficultycountswhy
BIG-bench Date Understanding +149.0% ✎▃·▅·▅▃▅·▃▃·█ beats 12/12medium · avg 53%▇ 2.2%at its level · several runs
StrategyQA +567.1% ✎█·····▅▃▃▅▃█ beats 11/12medium · avg 70%▇ 2.0%at its level · several runs
ARC Challenge83.6% ✎▄▁▁▂▁▄█▇▃▂▃▂ beats 128/140easy · avg 86%▇ 1.5%sharp
MultiArith +196.2% ✎█·········██ beats 2/2very easy · avg 95%▇ 1.0%sharp · maxed out · small run · several runs
TyDiQA-GoldP (1-shot, EM, 8-language average)48.1% ✎▂··▂·▂▄▄·███ beats 12/18medium · avg 61%▇ 1.0%at its level
CoNLL-2003 English NER, few-shot in-context prompting (entity F1) +182.3% ✎▃···▅·▃▅··▃█ beats 8/9easy · avg 83%▇ 0.8%small run · several runs
Natural Questions (closed book)31.4% ✎▂▁▁▁▂▄▄▃▅█▅▁ beats 63/68medium · avg 39%▇ 0.7%at its level · small run
TriviaQA81.8% ✎▁▁▂▂▄▄▃▆▅█▅▃ beats 77/80easy · avg 82%▇ 0.5%small run
AddSub89.4% ✎█·········██ beats 1/2very easy · avg 89%▇ 0.5%small run
ARCADE New Tasks pass@1 (notebook-context prompting)23.4% ✎█·█········█ beats 2/2hard · avg 23%▇ 0.5%small run
OpenBookQA71.8% ✎▅▁▁▁▂▂▃█▃▃▃▁ beats 93/107medium · avg 62%▇ 0.4%at its level · noisy · small run
WinoGrande60.7% ✎▁▁▁▁▂▁▁▅▇█▃▁ beats 36/131medium · avg 73%▇ 0.4%at its level
ACE05-E event argument extraction (gold triggers), few-shot prompting, Arg-C F158.5% ✎█·····█····█ beats 1/2medium · avg 65%▇ 0.4%at its level · small run
CSK-PN boolean commonsense QA (10-shot)84.9% ✎▃·▃·····▃▃▃█ beats 7/7easy · avg 87%▇ 0.3%blunt · at its level
ODEX English pass@1 (zero-shot)47.1% ✎▄▄········▄█ beats 4/4medium · avg 58%▇ 0.3%blunt · at its level
HellaSwag65.2% ✎▁▁▁▂▂▂▄▆█▇▄▂ beats 53/135easy · avg 77%▇ 0.3%at its level
Zero-shot relation extraction, vanilla prompt (TACRED/RETACRED/TACREV/SemEval avg F1)39.8% ✎█····▄····█▄ beats 0/5medium · avg 51%▇ 0.2%blunt · at its level
ARC Easy94.0% ✎▁▃▂▄▆█▅▃▁··▃ beats 99/100easy · avg 87%▇ 0.1%blunt

$ where to run it

No verified API or download recorded yet · add one

$ how the score was worked out · Chain-of-Thought Prompting El… 37%, Self-Consistency Improves Cha… 11%, Scaling Instruction-Finetuned… 9% and 23 more

Each result implies a score on its own, after adjusting for how hard its test is and who ran it. The score is their weighted average, with a small pull toward the middle for thinly tested models. Each test's weight is its counts column above; here it's added up by who ran the tests. How it works

sourceresultsshare of the scorelicence
Chain-of-Thought Prompting Elicits Reasoning in Large Language Models — authors' own runs9CC BY 4.0
Self-Consistency Improves Chain of Thought Reasoning in Language Models — authors' own runs10CC BY 4.0
Scaling Instruction-Finetuned Language Models — authors' own runs4CC BY 4.0
Faithful Chain-of-Thought Reasoning — authors' own runs3CC BY 4.0
Large Language Models are Better Reasoners with Self-Verification — authors' own runs4CC BY 4.0
Batch Prompting: Efficient Inference with Large Language Model APIs — authors' own runs3CC BY 4.0
Coverage-based Example Selection for In-Context Learning — authors' own runs1CC BY 4.0
Making Language Models Better Reasoners with Step-Aware Verifier — authors' own runs2CC BY 4.0
Tab-CoT: Zero-shot Tabular Chain of Thought — authors' own runs3CC BY 4.0
Automatic Model Selection with Large Language Models for Reasoning — authors' own runs2CC BY 4.0
Complexity-Based Prompting for Multi-Step Reasoning — authors' own runs4CC BY 4.0
PAL: Program-aided Language Models — authors' own runs1CC0 1.0
Explanation Selection Using Unlabeled Data for Chain-of-Thought Prompting — authors' own runs2CC BY 4.0
Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Them — authors' own runs1CC BY 4.0
Symbolic Chain-of-Thought Distillation: Small Models Can Also ``Think'' Step-by-Step — authors' own runs2CC BY 4.0
Recitation-Augmented Language Models — authors' own runs2CC BY 4.0
StarCoder: may the source be with you! — authors' own runs1CC BY-SA 4.0
Improving Mathematics Tutoring With A Code Scratchpad — authors' own runs1CC BY 4.0
Exploring the Curious Case of Code Prompts — authors' own runs2CC BY 4.0
Natural Language to Code Generation in Interactive Data Science Notebooks — authors' own runs1CC BY 4.0
Large Language Model Is Not a Good Few-shot Information Extractor, but a Good Reranker for Hard Samples! — authors' own runs1CC BY 4.0
Code4Struct: Code Generation for Few-Shot Event Structure Prediction — authors' own runs1CC BY 4.0
CodeIE: Large Code Generation Models are Better Few-Shot Information Extractors — authors' own runs1CC BY 4.0
Say What You Mean! Large Language Models Speak Too Positively about Negative Commonsense Knowledge — authors' own runs1CC BY 4.0
Execution-Based Evaluation for Open-Domain Code Generation — authors' own runs1CC BY 4.0
Aligning Instruction Tasks Unlocks Large Language Models as Zero-Shot Relation Extractors — authors' own runs1CC BY 4.0
prior · pull toward the middle
weighted average= 47.1

not counted (4)

Batch Prompting: Efficient Inference with Large Language Model APIs — authors' own runsStrategyQA [correct]73.3%the only model in this source's run of the test, so there is nothing to compare it with there; another run of the test counts
Batch Prompting: Efficient Inference with Large Language Model APIs — authors' own runsAQuA-RAT [correct]46.1%the only model in this source's run of the test, so there is nothing to compare it with there; another run of the test counts
From Complex to Simple: Unraveling the Cognitive Tree for Reasoning with Small Language Models — authors' own runsGSM8K [correct]60.3%the only model in this source's run of the test, so there is nothing to compare it with there; another run of the test counts
Faithful Chain-of-Thought Reasoning — authors' own runsStrategyQA [correct]72.5%the only model in this source's run of the test, so there is nothing to compare it with there; another run of the test counts

$ improve this page

Use a short GitHub form or edit the data through a pull request. Every number needs a source; here's which ones we can use.

data updated · sources and licences · json