AI GLOSSARY · AI CONCEPTS

GSM8K

Markdown version · Wikidata Q121360456

Definition

GSM8K is a dataset of 8.5 thousand grade school math word problems, introduced by OpenAI researchers, used to test whether language models can reason through multi-step arithmetic problems written in natural language.

Also called: GSM8K benchmark, GSM8K dataset, grade school math 8K, GSM-8K, GSM8K math benchmark.

In plain language

GSM8K is a set of school-level maths word problems, like a worksheet about buying apples and splitting a bill. Researchers give the problems to an AI model and check whether it reaches the right answer. It is a narrow test: it covers one kind of arithmetic reasoning in English, so a good result does not show the model is good at your own work.

Technical definition

Cobbe et al., in Training Verifiers to Solve Math Word Problems (arXiv 2110.14168), introduce GSM8K with 8.5K high quality, linguistically diverse grade school math word problems. OpenAI's release page says each problem takes between 2 and 8 steps and uses basic arithmetic, with solutions written in natural language. The paper also trains verifiers that judge candidate solutions: at test time many solutions are generated and the one the verifier ranks highest is selected. The dataset is a measuring tool; any score depends on the prompting and answer-checking setup used.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    llm-eval-test-sets 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    The skill builds and validates an eval dataset for any LLM feature, with a checker for duplicates, missing graders, imbalance and leakage.
    Why it exercises the concept
    GSM8K is a public eval set for one skill. This skill is for building your own set for your own feature. It does not run GSM8K, and the catalogue has no skill that does.
  2. Skill by Skill Almanac · Illustrative, not executed

    split-leakage-check 53/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    The skill checks train, validation and test files for duplicates, shared groups, time and label leakage and prints JSON.
    Why it exercises the concept
    The question of whether test items appear in training data applies to public benchmarks too. This skill checks files you supply; it cannot inspect a model's training data.
  3. Skill by Hugging Face · Illustrative, not executed

    huggingface-datasets 25/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    The skill reads Hugging Face datasets through the Dataset Viewer API: metadata, rows, search and filters.
    Why it exercises the concept
    It is a way to look at rows of a hosted dataset. Whether a given benchmark is hosted there is for you to check; it does not score a model.

How it shows up when you use agents

GSM8K does not usually appear in a Claude Code or Codex session directly. It shows up in model announcements and comparison tables, where a model is described as scoring on it. This page does not quote scores. See LLM benchmark for how such tests are built and read.

What it measures: whether a model can solve grade school maths word problems that need between 2 and 8 steps, according to OpenAI's release page. That is a narrow slice of reasoning. A model can do well on it and still make arithmetic or logic slips in your data pipeline, and a coding agent's work is not graded by it.

What breaks when it is misunderstood: a reader treats a GSM8K result as a general intelligence rating, or compares numbers produced with different prompts, such as with and without chain-of-thought reasoning, as if they were the same test.

Next action: when a vendor cites it, ask how the model was prompted and how answers were checked, then build a small test of your own tasks. The paper itself shows the setup matters: it adds a verifier that picks one answer from many generated ones.

Common confusions

  • GSM8K versus MMLU. GSM8K is grade school maths word problems. MMLU is a different benchmark; see its own page.
  • Dataset versus the paper's method. The dataset is separate from the verifier technique the paper proposes. Citing the dataset does not mean a verifier was used.
  • High score versus understanding. A score reports how a system did on these problems under a setup, not that it reasons like a person.
  • Myth. A public test stays clean. Public questions can be copied into training material, which is why leakage checks and private test sets matter.

More in AI concepts

Next steps

  1. llm-eval-test-sets A skill that exercises it.
  2. LLM benchmark Related term.
  3. Reasoning model Related term.
  4. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.

Review record

Last verified

Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .

This entry is still in review, so it is not listed in search engines yet.

Change log (2)
  • : First version.
  • : Verifier pass: dropped unsourced contamination sentence.