Skip to content
benchtopia
  • Fetching the field guide…

The test

GSM8K

Can it solve grade school math word problems?

These are short story problems, like the ones in a grade school math book. They only need adding, subtracting, multiplying and dividing, but take a few steps. The AI must get the final number right.

59 models testedNearly maxed outSince Oct 2021

Top 15 on GSM8K

Longer bar = better result.

  1. 1DeepSeek-Coder-V2 236BDeepSeek94.5%
  2. 2Qwen2.5 Coder 14BAlibaba (Qwen)94.2%
  3. 3Qwen2.5-Coder-32B-InstructAlibaba (Qwen)93.0%
  4. 4GPT-4 (Mar 2023)OpenAI · mar 202392.0%
  5. 5GPT-4o miniOpenAI91.3%
  6. 6Qwen2.5-Coder-32BAlibaba (Qwen)91.1%
  7. 7GPT-4 (Jun 2023)OpenAI · jun 202390.0%
  8. 8Phi-3.5-MoEMicrosoft88.7%
  9. 9DeepSeek Coder V2 Lite InstructDeepSeek87.6%
  10. 10Claude InstantAnthropic86.7%
  11. 11Qwen2.5-Coder (1.5B)Alibaba (Qwen)86.7%
  12. 12Phi-3.5-miniMicrosoft86.2%
  13. 13Gemma 2 9BGoogle84.9%
  14. 14Mistral NeMoMistral AI84.2%
  15. 15Gemini 1.5 Flash (May 2024)Google · may 202482.4%

In plain words

What it really measures
About 8,500 problems written by people hired by OpenAI in 2021; scores use the 1,319-problem test set. Each takes 2 to 8 steps of basic arithmetic. Most scores here come from model makers' own reports.
Example question
“Mia buys 3 packs of 12 pencils. She gives 8 to her brother and shares the rest equally with 4 friends. How many pencils does each friend get? Show the steps, then give the final number: 7.”
Who should care
Mostly history now: it shows how far AI has come. It still matters for small models that run on a phone or laptop.
The catch
Long since maxed out: strong models score about 95% or more, and the answer key has a few mistakes. The questions are all over the internet, and scores are often self-reported with different setups, like how many solved examples the AI is shown.

Made by OpenAI (Karl Cobbe and colleagues). Official page · Scores via Epoch AI Benchmarking Hub · Counts toward math

Progress over time

How the best score has improved as new models came out.

0%20%40%60%80%100%2024DeepSeek-Coder-V2 236B: 94.5%Qwen2.5 Coder 14B: 94.2%Qwen2.5-Coder-32B-Instruct: 93.0%GPT-4 (Mar 2023): 92.0%GPT-4o mini: 91.3%Qwen2.5-Coder-32B: 91.1%GPT-4 (Jun 2023): 90.0%Phi-3.5-MoE: 88.7%DeepSeek Coder V2 Lite Instruct: 87.6%Claude Instant: 86.7%Qwen2.5-Coder (1.5B): 86.7%Phi-3.5-mini: 86.2%Gemma 2 9B: 84.9%Mistral NeMo: 84.2%Gemini 1.5 Flash (May 2024): 82.4%Llama 3.1-8B: 82.4%Qwen2.5 Coder 3B: 80.7%Yi-34B: 76.0%Mixtral 8x7B: 74.4%Llama 2-70B: 69.6%DeepSeek Coder V2 Lite Base: 67.1%Internlm 20B: 62.9%Qwen-14B: 61.3%GPT-3.5 Turbo (Jun 2023): 57.8%StarCoder 2 15B: 57.7%Falcon-180B: 54.4%LLaMA-65B: 54.4%Mistral 7B v0.1: 54.4%Falcon 2 11B: 53.8%Baichuan2-13B: 52.8%Qwen-7B: 51.7%Gemma 7B: 46.4%Nemotron-4 15B: 46.0%Yi 6B: 44.9%LLaMA-33B: 44.1%Llama 2-34B: 42.2%INTELLECT-1: 38.6%CodeQwen1.5 7B: 37.7%Llama 2-13B: 36.9%DeepSeek Coder 33B: 35.4%Mistral 7B v0.2: 35.4%Qwen2.5 Coder 0.5B: 34.5%Falcon-40B: 33.8%StarCoder 2 7B: 32.7%Chatglm2 6B: 32.4%Internlm 7B: 31.2%Baichuan 1-13B: 26.8%Baichuan 2-7B: 24.6%StarCoder 2 3B: 21.6%DeepSeek Coder 6.7B: 21.3%Qwen 1 8B: 21.2%LLaMA-13B: 20.5%Gemma 2B: 17.7%Llama 2-7B: 16.7%Internlm Chat 20B: 15.7%LLaMA-7B: 11.0%Baichuan1-7B: 9.2%Falcon-7B: 6.8%DeepSeek Coder 1.3B: 4.4%LLaMA-65B: 54.4% (new best)GPT-4 (Mar 2023): 92.0% (new best)DeepSeek-Coder-V2 236B: 94.5% (new best)DeepSeek-Coder-V2 236B · 94.5%
Dark dots and line: the best score at each point in time. Light dots: every other model, by release date.

All 59 results

#ModelResult
1DeepSeek-Coder-V2 236BDeepSeek94.5%
2Qwen2.5 Coder 14BAlibaba (Qwen)94.2%
3Qwen2.5-Coder-32B-InstructAlibaba (Qwen)93.0%
4GPT-4 (Mar 2023)OpenAI92.0%
5GPT-4o miniOpenAI91.3%
6Qwen2.5-Coder-32BAlibaba (Qwen)91.1%
7GPT-4 (Jun 2023)OpenAI90.0%
8Phi-3.5-MoEMicrosoft88.7%
9DeepSeek Coder V2 Lite InstructDeepSeek87.6%
10Claude InstantAnthropic86.7%
11Qwen2.5-Coder (1.5B)Alibaba (Qwen)86.7%
12Phi-3.5-miniMicrosoft86.2%
13Gemma 2 9BGoogle84.9%
14Mistral NeMoMistral AI84.2%
15Gemini 1.5 Flash (May 2024)Google82.4%
16Llama 3.1-8BMeta82.4%
17Qwen2.5 Coder 3BAlibaba (Qwen)80.7%
18Yi-34B01.AI76.0%
19Mixtral 8x7BMistral AI74.4%
20Llama 2-70BMeta69.6%
21DeepSeek Coder V2 Lite BaseDeepSeek67.1%
22Internlm 20BShanghai AI Lab (InternLM)62.9%
23Qwen-14BAlibaba (Qwen)61.3%
24GPT-3.5 Turbo (Jun 2023)OpenAI57.8%
25StarCoder 2 15BNVIDIA57.7%
26Falcon-180BTechnology Innovation Institute54.4%
27LLaMA-65BMeta54.4%
28Mistral 7B v0.1Mistral AI54.4%
29Falcon 2 11BTechnology Innovation Institute53.8%
30Baichuan2-13BBaichuan52.8%
31Qwen-7BAlibaba (Qwen)51.7%
32Gemma 7BGoogle46.4%
33Nemotron-4 15BNVIDIA46.0%
34Yi 6B01.AI44.9%
35LLaMA-33BMeta44.1%
36Llama 2-34BMeta42.2%
37INTELLECT-1Prime Intellect38.6%
38CodeQwen1.5 7BAlibaba (Qwen)37.7%
39Llama 2-13BMeta36.9%
40DeepSeek Coder 33BDeepSeek35.4%
41Mistral 7B v0.2Mistral AI35.4%
42Qwen2.5 Coder 0.5BAlibaba (Qwen)34.5%
43Falcon-40BTechnology Innovation Institute33.8%
44StarCoder 2 7BNVIDIA32.7%
45Chatglm2 6BZ.ai (Zhipu)32.4%
46Internlm 7BShanghai AI Lab (InternLM)31.2%
47Baichuan 1-13BBaichuan26.8%
48Baichuan 2-7BBaichuan24.6%
49StarCoder 2 3BNVIDIA21.6%
50DeepSeek Coder 6.7BDeepSeek21.3%
51Qwen 1 8BAlibaba (Qwen)21.2%
52LLaMA-13BMeta20.5%
53Gemma 2BGoogle17.7%
54Llama 2-7BMeta16.7%
55Internlm Chat 20BShanghai AI Lab (InternLM)15.7%
56LLaMA-7BMeta11.0%
57Baichuan1-7BBaichuan9.2%
58Falcon-7BTechnology Innovation Institute6.8%
59DeepSeek Coder 1.3BDeepSeek4.4%

Quick answers

What does GSM8K test?

These are short story problems, like the ones in a grade school math book. They only need adding, subtracting, multiplying and dividing, but take a few steps. The AI must get the final number right. About 8,500 problems written by people hired by OpenAI in 2021; scores use the 1,319-problem test set. Each takes 2 to 8 steps of basic arithmetic. Most scores here come from model makers' own reports.

Which AI scores highest on GSM8K?

DeepSeek-Coder-V2 236B from DeepSeek leads with 94.5%, then Qwen2.5 Coder 14B (94.2%).

See the details →
Is GSM8K a good test?

Long since maxed out: strong models score about 95% or more, and the answer key has a few mistakes. The questions are all over the internet, and scores are often self-reported with different setups, like how many solved examples the AI is shown.