# Show HN: D20 Bench – Code-Graded Benchmark for LLMs as 5E Game Masters

> Source: <https://d20bench.com>
> Published: 2026-12-05 21:38:56+00:00

**Recommendation:** Grade LLM game-master rulings with deterministic code checks on DCs and game-state changes instead of an LLM judge, and run each probe three times to expose per-run pass-rate variance.
More in the playbook "Evals and testing for LLM apps": <https://wpnews.pro/playbooks/evals-testing>

# Independent Analysis of

AI Game Masters

Compare LLMs running the real [D20 Adventures](https://d20adventures.com) 5E engine and adventures across storytelling, combat, spellcasting, 5E rules, and knowing when to say no. [Graded in code, no LLM judge.](https://d20bench.com/method#grading)

[See Every Test and Run](#tests)[How It Works](https://d20bench.com/method)[GitHub](https://github.com/johnpolacek/d20adventures.com)

## By Category

### [Storytelling](https://d20bench.com/playthroughs)

Share of runs across 5 adventures that reach their ending cleanly

### [Combat & Space](https://d20bench.com/tests#combat)

Share of runs across 12 compound combat turns, cover and tactical space calls ruled right

1. 1[Grok 4.7](https://d20bench.com/models/grok) 100
2. 1[Gemini 4 Neon](https://d20bench.com/models/gemini-neon) 100
3. 1[Claude Opus 5.5](https://d20bench.com/models/claude-opus) 100
4. 1[Claude Sonnet 5.5](https://d20bench.com/models/claude-sonnet) 100
5. 1[Qwen4 Max](https://d20bench.com/models/qwen4-max) 100
6. 1[Gemini 4 Hydrogen](https://d20bench.com/models/gemini-hydrogen) 100
7. 7[DeepSeek V4.1 Flash](https://d20bench.com/models/deepseek-v4.1-flash) 97
8. 8[GPT-6 Luna](https://d20bench.com/models/gpt-luna) 69
9. 8[Claude Haiku 5.5](https://d20bench.com/models/claude-haiku) 69

### [Spellcasting](https://d20bench.com/tests#spellcasting)

Share of runs across 12 spells, slots, rituals and metamagic calls ruled right

### [5E Rules & Features](https://d20bench.com/tests#rules)

Share of runs across 11 class features, conditions, rests and traps ruled right

### [Saying No & Boundaries](https://d20bench.com/tests#boundaries)

Share of runs across 13 fixed-price limits, unowned gear, impossible feats and NPC attitudes held firm

1. 1[Grok 4.7](https://d20bench.com/models/grok) 100
2. 1[Gemini 4 Neon](https://d20bench.com/models/gemini-neon) 100
3. 1[Claude Opus 5.5](https://d20bench.com/models/claude-opus) 100
4. 1[Claude Sonnet 5.5](https://d20bench.com/models/claude-sonnet) 100
5. 1[Qwen4 Max](https://d20bench.com/models/qwen4-max) 100
6. 1[Gemini 4 Hydrogen](https://d20bench.com/models/gemini-hydrogen) 100
7. 7[DeepSeek V4.1 Flash](https://d20bench.com/models/deepseek-v4.1-flash) 97
8. 8[Claude Haiku 5.5](https://d20bench.com/models/claude-haiku) 92
9. 9[GPT-6 Luna](https://d20bench.com/models/gpt-luna) 82

## Every Test by Model

5 scripted playthroughs and 48 single-turn ruling probes from the [D20 Adventures](https://d20adventures.com) eval suite, each run 3 times on each model. Scores use per-run pass rate, and every cell shows all 3 runs. Open any cell for the proof behind it.

 Right every run Right on some Wrong every run*·* Not run yet

**Real game, code-only grading.** These are the same evals [D20Adventures.com](https://d20adventures.com) runs against its 5E engine before shipping changes. No second AI scores the transcripts. Code checks every ruling, DC, and game-state change directly.

**GM Intelligence** weighs playthroughs and rulings half each by per-run pass rate across 3 runs. Consistency shows in the pips and tallies.

**A task** is one player action from send to finished answer, priced at public list rates. Every model runs at medium reasoning effort on the same frozen game version. [How It Works →](https://d20bench.com/method)
