hn.today

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

d20bench.com26 points1 comments
Screenshot of Show HN: D20 Bench – Code-Graded Benchmark for LLMs as 5E Game Masters

D20 Bench evaluates language models as Dungeon Masters for Dungeons & Dragons 5th Edition using the D20 Adventures game engine and scripted adventures. It measures storytelling, combat and tactical positioning, spellcasting, rules and class features, and whether a GM correctly rejects impossible actions or requests that violate game constraints. Its suite includes five scripted playthroughs and 48 single-action ruling tests; each model runs every test three times on the same frozen game version at medium reasoning effort. Code checks the rulings, difficulty values, and changes to game state, rather than asking another model to judge the transcripts. The benchmark also tracks answer time and cost per player action at public prices.

Results show different strengths by category. Grok 4.7 leads storytelling at 93% of runs completed cleanly, while Gemini 4 Neon and Claude Opus 5.5 score 87%; Grok, Gemini 4 Neon, Claude Opus 5.5, and Claude Sonnet 5.5 all reach 100% in combat and boundary-setting. Gemini 4 Neon and the two Claude models also score 100% in spellcasting, while Qwen4 Max leads rules and features at 97%. GPT-6 Luna is notably weaker in combat and boundaries, at 69% and 82%, respectively. Overall, the results suggest that strong performance is not uniform: models that handle narrative well may still miss specific rules, and the benchmark lets readers inspect individual runs as well as compare accuracy, speed, and cost.

Read on d20bench.com1 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in AI

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.