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. 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