cd /news/large-language-models/show-hn-d20-bench-code-graded-benchm… · home › topics › large-language-models › article
[ARTICLE · art-182593] src=d20bench.com ↗ pub= topic=large-language-models verified=true sentiment=· neutral

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

D20 Bench, an independent benchmark built on the D20 Adventures 5E engine, grades large language models as Dungeons & Dragons game masters using code-only checks rather than a second AI judge, running 5 scripted playthroughs and 48 single-turn ruling probes three times per model. Grok 4.7, Gemini 4 Neon, Claude Opus 5.5, Claude Sonnet 5.5, Qwen4 Max and Gemini 4 Hydrogen each scored 100 on the 12 compound combat turns and 13 boundary probes, while DeepSeek V4.1 Flash reached 97, GPT-6 Luna 69 and Claude Haiku 5.5 69 on combat and 92 on boundaries. The benchmark's GM Intelligence score weights playthroughs and rulings half each by per-run pass rate, with every model run at medium reasoning effort on the same frozen game version.

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 playbook: Evals and testing for LLM apps
read2 min views1 publishedDec 5, 2026
Show HN: D20 Bench – Code-Graded Benchmark for LLMs as 5E Game Masters
Image: source

AI Game Masters

Compare LLMs running the real D20 Adventures 5E engine and adventures across storytelling, combat, spellcasting, 5E rules, and knowing when to say no. Graded in code, no LLM judge.

See Every Test and RunHow It WorksGitHub

By Category #

Storytelling

Share of runs across 5 adventures that reach their ending cleanly

Combat & Space

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

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

Saying No & 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 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 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 →

── more in #large-language-models 4 stories · sorted by recency
── more on @d20 bench 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-d20-bench-co…] indexed:0 read:2min 2026-12-05 · —