# What is GSM8K? The grade-school math benchmark explained

> GSM8K is a set of 8.5K grade-school math word problems, 1,319 of them for testing. Label noise and contamination limit what a high score shows.

Source: https://www.honeyhive.ai/learn/gsm8k (updated 2026-11-17)

GSM8K is a benchmark of grade-school math word problems, released by OpenAI researchers in October 2021. [Cobbe and colleagues](https://arxiv.org/abs/2110.14168) describe it as 8.5K high quality, linguistically diverse problems, and built it to test multi-step reasoning in language models. Papers still quote a GSM8K score, so it helps to know what the number does and does not tell you.

## What is in the dataset

The [dataset card](https://huggingface.co/datasets/openai/gsm8k) gives the layout:

| Item | Detail |
|---|---|
| Train split | 7,473 problems |
| Test split | 1,319 problems |
| Difficulty | 2 to 8 steps, mainly addition, subtraction, multiplication and division, nothing beyond early algebra |
| Configs | `main` and `socratic` |
| License | MIT |

Each answer is a natural-language solution that ends with `#### ` and the final number, which is what scoring scripts parse. Calculation steps carry annotations such as `<<48/2=24>>`. In the `socratic` config, each step is preceded by a guiding sub-question. The card's table labels the 1,319-problem split "validation" while the viewer calls it "test", so check which one a tool loads.

## Why it was built

The paper's main contribution was a method as much as a dataset. The authors [trained verifiers](https://arxiv.org/abs/2110.14168) to judge whether a sampled solution is correct, generated many candidates at test time and kept the one the verifier ranked highest. They report that this verification significantly improves performance and scales better with more data than plain finetuning. Later prompting work also used GSM8K as a headline test: the [chain-of-thought paper](https://arxiv.org/abs/2201.11903) reported state-of-the-art GSM8K accuracy from eight worked examples (see [chain-of-thought prompting](/learn/chain-of-thought-prompting)).

## Problems that came to light

GSM8K was aimed at 2021 models. Four lines of later work shape how to read it today.

- **Label noise.** In March 2025, Vendrow, Vendrow, Madry and Beery [flagged](https://gradientscience.org/gsm8k-platinum/) 219 test questions where an LLM disagreed with the key. They removed 110, confirmed 99 as correct and fixed the answer on 10, and released the result as GSM8K-Platinum. Claude 3.7 Sonnet with extended thinking and Llama 405B each had 45 errors on the original, but 2 and 17 on Platinum. Noise had hidden a large gap.
- **Contamination.** [GSM1k](https://arxiv.org/abs/2405.00332) is a fresh set that mirrors GSM8K's style. Some models scored up to 8% lower on it, and a model's likelihood of generating GSM8K examples tracked the gap (Spearman r^2 of 0.36), which suggests partial memorization. The authors also report that many frontier models showed minimal overfitting and that all models broadly generalize to novel problems.
- **Brittleness.** In [GSM-Symbolic](https://arxiv.org/abs/2410.05229), the authors templated GSM8K questions. Changing only the numbers lowered accuracy for all models, accuracy fell as clauses were added, and one irrelevant but plausible clause cut accuracy by up to 65% for some state-of-the-art models.
- **Difficulty.** Competition sets are harder. [MATH](https://arxiv.org/abs/2103.03874) has 12,500 competition problems, and [AIME](/learn/aime-benchmark) problems are a common choice for comparing frontier reasoning models.

## How to read a GSM8K score

- Check the split, the prompt (zero-shot or few-shot, with or without chain of thought) and how the final number is extracted. Scores shift with each.
- With 1,319 test problems, one problem is under 0.1 percentage points, but label errors and sampling noise can still outweigh gaps of a point or two.
- Prefer GSM8K-Platinum when you need a cleaner key.
- Treat a score near the ceiling as a pass on basic arithmetic reasoning, not as proof of general math skill. For broader knowledge tests, see [MMLU](/learn/mmlu).

## Using it in your own evals

GSM8K is cheap to run because answers are single numbers, which makes exact-match scoring easy. Use it to catch regressions when you change a model, prompt or decoding setting, and keep a private set that reflects your task, as described in [golden dataset](/learn/golden-dataset). [LLM evaluation metrics](/learn/llm-evaluation-metrics) covers how to choose scoring for open-ended outputs.

## FAQ

### What does GSM8K stand for?

Grade School Math 8K. The [paper](https://arxiv.org/abs/2110.14168) introduces it as 8.5K high quality, linguistically diverse grade school math word problems.

### How many questions are in GSM8K?

The [dataset card](https://huggingface.co/datasets/openai/gsm8k) lists 7,473 training problems and 1,319 test problems. Benchmark scores are normally reported on the test set.

### How hard are GSM8K problems?

The [dataset card](https://huggingface.co/datasets/openai/gsm8k) says they take 2 to 8 steps to solve, mainly with basic arithmetic, and need no more than early algebra.

### Is GSM8K still a useful benchmark?

As a sanity check, yes. To separate strong models, no: the GSM8K-Platinum [authors](https://gradientscience.org/gsm8k-platinum/) found label errors that hid large differences between models, and studies such as [GSM1k](https://arxiv.org/abs/2405.00332) found signs of contamination.

### What replaced GSM8K?

Harder sets are used to compare frontier models, such as the competition problems in [MATH](https://arxiv.org/abs/2103.03874) and in [AIME](/learn/aime-benchmark).
