tetrisbench

Tetris LLM benchmark

98 runs of models building the same browser Tetris game from one prompt. Each run is scored for quality by an audited review and measured for the tokens, estimated API cost, and time it took. Highest quality: GPT-6.1 Sol (high) (9.35). Cheapest: GPT-6 Luna (low) ($0.01).

7 more runs are recorded in the repository but not shown here: Luna Codex: superseded by the October 2026 GPT-5.6 Luna runs at every effort level; Luna OMP: superseded by the October 2026 GPT-5.6 Luna runs at every effort level; Luna PI: superseded by the October 2026 GPT-5.6 Luna runs at every effort level; Sol Codex: superseded by the October 2026 GPT-5.6 Sol runs at each effort level; Sol OMP: superseded by the October 2026 GPT-5.6 Sol runs at each effort level; DeepSeek OMP/PI: needed two user messages instead of the single benchmark prompt; Muse Spark 1.3 (medium, reference-assisted): read Gemini-4's implementation before writing its own.

Quality vs cost

Quality score against estimated API cost: recorded tokens at each model's public list price. Up and to the left is better. 11 runs on free models with no public price are left out.

Quality vs tokens

Quality score against the tested agent's total tokens. Up and to the left is better.

Quality vs time

Quality score against wall-clock time to finish. Up and to the left is better.

Cost

Estimated API cost per run, split by token type. 11 runs on free models with no public price are left out.

Token use

Tested-agent tokens per run, split by type. Cached input dominates most runs.

Time

Wall-clock time from the benchmark prompt to the finished implementation.

Score breakdown

Each criterion's weighted contribution to the quality score out of 10.

Leaderboard

The same data as a table, following the model, harness and effort filters. Select a run for its details and a playable build.

All runs, ordered by quality score
#RunModelEffortHarnessQualityTokensEst. costTimeMain finding
1GPT-6.1 Sol (high)gpt-6.1-solhighT3 Code / Codex9.351,433,435$0.5411m 37sEvery engine and browser probe passes; Opus-level suite, event-ordered clock and polished responsive UI
2GPT-6.1 Sol (xhigh)gpt-6.1-solxhighT3 Code / Codex9.251,181,592$0.6114m 15sEvery engine probe passes with the broadest own suite; focused header buttons swallow Space
3GPT-6.2 Astra (max)gpt-6.2-astramaxT3 Code / Codex9.104,350,717$4.7223m 36sBroad own suite and complete tested SRS/scoring/top-out; fifteenth-reset boundary minor
4GPT-6 Astra (xhigh)gpt-6-astraxhighT3 Code / Codex9.101,753,485$4.4913m 7sPlayable canonical Tetris with broad 28-test suite and responsive controls; one retained lower-row lock-state minor
5Claude Opus 5.5 (medium, original)claude-opus-5-5mediumT3 Code / Claude Agent SDK9.051,510,085$1.507m 17sStrongest tests and rules coverage; board does not fit a phone screen
6Claude Sonnet 5.5 (xhigh)claude-sonnet-5-5xhighT3 Code / Claude Agent SDK9.002,531,771$1.309m 23sBroad rules, strong integration/input tests and a fitting phone layout; soft-drop jump
7GPT-6.1 Sol (medium)gpt-6.1-solmediumT3 Code / Codex9.00576,119$0.286m 4sEvery engine probe passes; strong deterministic suite, compact readable engine, touch UI; stretched previews
8GPT-6.1 Sol (max)gpt-6.1-solmaxT3 Code / Codex8.953,386,983$1.1719m 11sCanonical SRS, exact clocks and full scoring with the broad own suite; new-lowest-row lock reset and game-over Space restart
9GPT-6 Astra (high)gpt-6-astrahighT3 Code / Codex8.901,491,647$3.4511m 38sReadable full-featured Tetris with broad 22-test suite; retained lower-row lock state and blocked soft-entry timing gaps
10Claude Haiku 5.5 (xhigh)claude-haiku-5-5xhighT3 Code / Claude Agent SDK8.805,786,532$0.1713m 19sBroad rules and strong tests; soft-drop timing jump and clipped phone playfield
11GPT-6.2 Astra (xhigh)gpt-6.2-astraxhighT3 Code / Codex8.701,136,465$1.589m 9sComplete tested scoring and hidden lock-out; fifteenth-reset and focused-Sound Space minors
12Claude Sonnet 5.5 (high)claude-sonnet-5-5highT3 Code / Claude Agent SDK8.65978,719$0.664m 45sBroad rules and timing tests; soft-drop jump and clipped phone sidebars
13GPT-6.1 Terra (max)gpt-6.1-terramaxT3 Code / Codex8.651,988,500$0.414m 56sBroad deterministic suite and event-ordered gravity; exhausted ledge retains old lock time and desktop queue is stretched; travelling hard drop preserves stale spin credit
14GPT-6.2 Astra (high)gpt-6.2-astrahighT3 Code / Codex8.601,006,194$1.528m 17sStrong standard engine and deterministic tests; missing wholly hidden lock-out and mild hold-preview stretching
15Claude Haiku 5.5 (high)claude-haiku-5-5highT3 Code / Claude Agent SDK8.554,999,379$0.139m 55sBroad rules support; soft-drop timing jump and clipped phone playfield
16Gemini-4gemini-4-argon-contributormediumT3 Code / OpenCode8.50590,203$0.456m 37sNo perfect-clear bonus; side panels overflow on phones
17GPT-6.2 Sol (medium)gpt-6.2-solmediumT3 Code / Codex8.501,112,419$0.366m 8sMissing perfect-clear bonuses; fifteenth reset forces immediate lock
18GPT-6.2 Sol (xhigh)gpt-6.2-solxhighT3 Code / Codex8.501,771,501$0.6411m 46sMissing perfect-clear bonuses; fifteenth grounded reset locks immediately
19Gemini 4 Argon (high)gemini-4-argon-contributorhighT3 Code / OpenCode8.451,125,477$0.8213m 10sBroad rules support; missing perfect-clear bonus and clipped phone sidebars
20GPT-6.1 Terra (ultra)gpt-6.1-terraultraT3 Code / Codex8.453,121,857$0.402m 2sCanonical SRS and responsive UI; narrower own suite, stale hard-drop spin credit and clicked Pause capturing Space
21MiniMax M3.1 Flash (xhigh)minimax-m3.1-flash-freexhighT3 Code / OpenCode8.404,824,223—12m 57sSpin history and fifth-kick mini promotion are incorrect; Landing frames shorten lock delay
22Claude Opus 5.5 (medium)claude-opus-5-5mediumT3 Code / Claude Agent SDK8.40882,725$1.014m 30sCanonical SRS and sound audited lock/spin rules; missing PC bonuses, a soft-drop jump and clipped phone support
23GLM-5.3 (max)glm-5.3maxT3 Code / OpenCode8.404,906,530$2.2632m 7sCanonical SRS and fresh restart bags; missing PC, above-buffer cell loss and phone clipping
24Claude Sonnet 5.5 (medium)claude-sonnet-5-5mediumT3 Code / Claude Agent SDK8.35494,455$0.382m 31sFull/mini spins, B2B and combos work; no perfect-clear bonus, soft-drop jump and clipped sidebars
25Qwen4 Max (xhigh)qwen4-maxxhighT3 Code / OpenCode8.351,525,151$0.5821m 44sCanonical SRS, correct landing clocks and fitting phone layout; spin history, soft-entry jump, buffer loss and restart bag
26Claude Opus 5.5 (xhigh)claude-opus-5-5xhighT3 Code / Claude Agent SDK8.303,003,974$2.8643m 10sCanonical core and stronger deterministic suite; missing PC, contact/reset timing and a clipped phone playfield
27Claude Haiku 5.5 (low)claude-haiku-5-5lowT3 Code / Claude Agent SDK8.25508,602$0.043m 37sBroad core rules; B2B perfect-clear under-award and soft-drop timing jump
28GPT-6.1 Terra (xhigh)gpt-6.1-terraxhighT3 Code / Codex8.25902,742$0.192m 3sReadable canonical core and complete PC scoring; stale manual spin credit, soft-entry jump and premature landing clock
29Claude Haiku 5.5 (max)claude-haiku-5-5maxT3 Code / Claude Agent SDK8.257,447,694$0.2523m 9sNo perfect-clear bonus or hidden lock-out; soft-drop timing jump and phone sidebar overflow
30DeepSeek V4.1 Flash 1017 (max)deepseek-v4.1-flashmaxT3 Code / OpenCode8.259,118,921$0.1424m 22sBroad scoring and fitting UI; unlimited lock resets, ceiling-buffer and B2B-PC gaps, soft-drop jump
31GLM-5.3-Flash (max)glm-5.3-flash-freemaxT3 Code / OpenCode8.204,253,523$0.1919m 50sBroad rules and responsive UI; wrong gravity curve and no perfect-clear bonus
32DeepSeek V4.1 Flash 1017 (low)deepseek-v4.1-flashlowT3 Code / OpenCode8.152,309,531$0.056m 54sCanonical core and responsive UI; hard-drop spin loss, incomplete scoring and soft-drop timing jump
33Hy4 (high)hy4highT3 Code / OpenCode8.103,331,058$0.2616m 20sCanonical states and kick tables; spin classification, PC arithmetic, landing clock and above-buffer boundary defects
34GPT-5.6 Sol (xhigh)gpt-5.6-solxhighT3 Code / Codex8.002,931,919$2.207m 30sCanonical core and responsive UI; mini/B2B-PC scoring, stale soft-drop spin credit and partial lock-out fail
35Qwen3.8 Flash (low)qwen3.8-flashlowT3 Code / OpenCode8.002,797,077$0.4418m 30sCanonical SRS and basic B2B/combo; missing spins/PC, retained restart bag and clipped phone field
36Qwen3.8 Max (xhigh)qwen3.8-maxxhighT3 Code / OpenCode8.001,445,897$3.3441m 25sCanonical SRS and sound gravity/lock timing; incomplete spin/PC/B2B scoring, hidden lock-out and phone support gaps
37GPT-5.6 Sol (high)gpt-5.6-solhighT3 Code / Codex7.951,816,541$1.485m 3sCanonical core and responsive high-DPI UI; hard drop loses spins, perfect clears and hidden lock-out are missing
38Claude Opus 5.5 (high)claude-opus-5-5highT3 Code / Claude Agent SDK7.951,662,260$1.486m 51sCanonical core with exact kicks and spin/B2B tests; missing PC, soft-drop jump, contact/reset timing and clipped phone support
39GPT-6.2 Astra (medium)gpt-6.2-astramediumT3 Code / Codex7.90174,851$0.482m 42sStandard Tetris and scoring; retained lock state, missing wholly hidden lock-out; narrow smoke suite
40GPT-6.1 Terra (high)gpt-6.1-terrahighT3 Code / Codex7.90332,921$0.091m 9sCanonical SRS/full-mini core; missing PC, landing-clock error and premature partial lock-out
41GLM-5.3-Flash (high)glm-5.3-flash-freehighT3 Code / OpenCode7.902,363,761$0.1114m 37sWorking core with mini/PC scoring gaps, hidden lock-out, soft-drop jump and phone sidebar clipping
42Qwen3.8 Flash (xhigh)qwen3.8-flashxhighT3 Code / OpenCode7.905,100,876$0.8131m 17sCanonical SRS and full/mini scoring; wrong PC profile, soft-drop timing, hidden lock-out, restart bag and phone gaps
43Qwen4 Max (high)qwen4-maxhighT3 Code / OpenCode7.901,446,468$0.4816m 58sCanonical SRS and full scoring; stale hard-drop spin, soft/contact clocks, buffer loss, restart bag and phone panels
44DeepSeek V4.1 Flash 1017 (high)deepseek-v4.1-flashhighT3 Code / OpenCode7.855,255,770$0.0919m 30sBroad rules and responsive reflow; inverted I kicks, B2B scoring errors and soft-drop timing jump
45Claude Haiku 5.5 (medium)claude-haiku-5-5mediumT3 Code / Claude Agent SDK7.80783,362$0.054m 17sHidden locks continue or crash; B2B perfect-clear under-award, soft-drop jump and phone sidebar clipping
46Qwen3.8 Max (low)qwen3.8-maxlowT3 Code / OpenCode7.80935,844$2.0516m 33sCanonical core and broad smoke coverage; advanced scoring, soft timing, reset-cap and phone layout gaps
47MiMo-V2.6-Flash (default)mimo-v2.6-flashdefaultT3 Code / OpenCode7.802,129,675$0.0431m 55sCanonical SRS and broad smoke coverage; incomplete spin/PC scoring, soft-drop jump and clipped phone/advanced stats
48GLM-5.3 (low)glm-5.3lowT3 Code / OpenCode7.801,211,610$0.7212m 38sCanonical shapes and broad own tests; spin, PC, soft/contact timing, ceiling and restart-bag defects
49GPT-6.2 Astra (low)gpt-6.2-astralowT3 Code / Codex7.75101,741$0.361m 41sStandard Tetris with strong scoring; retained lock state and absent wholly hidden lock-out; narrow smoke suite
50Claude Opus 5.5 (low)claude-opus-5-5lowT3 Code / Claude Agent SDK7.70249,765$0.482m 0sCanonical SRS and full/mini scoring; missing PC, soft-drop jump, two contact-clock errors and clipped phone support
51GPT-6.1 Sol (low)gpt-6.1-sollowT3 Code / Codex7.65380,287$0.183m 38sCompact canonical SRS engine with full scoring; B2B-PC, hidden lock-out, soft timing and preview distortion; compressed code
52Qwen3.8 Max (medium)qwen3.8-maxmediumT3 Code / OpenCode7.651,115,669$2.4519m 20sCanonical SRS and timed full/mini spins; hard-drop/PC scoring, soft timing, partial lock-out and phone gaps
53GPT-5.6 Terra (max)gpt-5.6-terramaxT3 Code / Codex7.603,504,778$1.3213m 31sCanonical SRS, gravity and responsive controls; mini/PC scoring, landing lock time, hidden lock-out and stretched phone next fail
54Muse Spark 1.3 (high)muse-spark-1.3-contributorhighT3 Code / OpenCode7.50338,304$0.482m 31sFull spins, B2B and combos work; mini/PC gaps, hidden lock-out, two soft-drop defects and phone clipping
55GPT-5.6 Luna (xhigh)gpt-5.6-lunaxhighT3 Code / Codex7.401,886,450$0.083m 6sCanonical core, gravity and responsive UI; mini/PC, stale spin, soft timing and hidden-lock gaps
56Claude Sonnet 5.5 (low)claude-sonnet-5-5lowT3 Code / Claude Agent SDK7.40124,165$0.191m 4sBasic scoring only; hidden lock-out missing, soft-drop jump and clipped phone sidebars
57GPT-5.6 Sol (medium)gpt-5.6-solmediumT3 Code / Codex7.401,475,552$1.234m 0sReversed T orientations; full spins and core clocks work, but mini/PC scoring and hidden lock-out fail
58Cat-jamlongcat-2.5-preview-freedefaultT3 Code / OpenCode7.402,070,440$0.1223m 42sMalformed L rotation state; no T-spin, B2B or perfect-clear scoring
59Muse Spark 1.3 (xhigh)muse-spark-1.3-contributorxhighT3 Code / OpenCode7.35610,821$0.864m 44sHard drop erases spin credit; mini/PC gaps, hidden lock-out, soft-drop jump and phone clipping
60Qwen3.8 Flash (medium)qwen3.8-flashmediumT3 Code / OpenCode7.301,274,812$0.2116m 0sPlayable core with wrong I kicks, missing spins/PC, a soft-drop jump and clipped phone support
61MiniMax M3.1 Flash (high)minimax-m3.1-flash-freehighT3 Code / OpenCode7.304,566,703—11m 55sSpin history and fifth-kick mini promotion are incorrect; Perfect-clear bonuses are absent; A no-clear lock breaks B2B; Landing frames shorten lock delay; Reaching a lower row does not restore spent lock resets; The ceiling rejects legal upward SRS kicks; Restart reuses a partial old bag; The phone page overflows horizontally
62GPT-6 Luna (max)gpt-6-lunamaxT3 Code / Codex7.251,535,665$0.058m 51sWrong I kicks; B2B perfect-clear, stale soft-drop spin, timing and phone preview defects
63Qwen4 Max (low)qwen4-maxlowT3 Code / OpenCode7.251,553,280$0.4516m 41sCanonical SRS; spin history, gravity/soft/contact/reset timing, partial lock-out and clipped/overlapping HUD
64MiniMax M3.1 Flash (medium)minimax-m3.1-flash-freemediumT3 Code / OpenCode7.207,026,125—10m 22sA travelling hard drop retains stale spin credit; Back-to-back mini and perfect-clear bonuses are under-awarded; Soft-drop entry spends old normal-gravity time; Reaching a lower row does not restore spent lock resets; A wholly hidden lock continues play; Restart reuses a partial old bag; Left Ctrl does not rotate
65GPT-6.1 Terra (low)gpt-6.1-terralowT3 Code / Codex7.10186,465$0.0656sCanonical SRS and basic modern scoring; mini/PC/stale-spin scoring, early landing lock and premature partial lock-out; compressed source
66Muse Spark 1.3 (medium)muse-spark-1.3-contributormediumT3 Code / OpenCode7.05262,101$0.3743sFrom scratch: no T-spins, B2B or perfect-clear bonus; hidden lock-out, soft jump and preview/phone clipping
67GPT-6 Astra (low)gpt-6-astralowT3 Code / Codex7.0086,319$0.391m 59sStandard playable Tetris; missing PC, stale hard-drop spin, soft-entry burst, lower-row/contact lock edges and absent hidden lock-out; compressed code and narrow smoke suite
68GPT-6 Astra (medium)gpt-6-astramediumT3 Code / Codex7.00160,944$0.572m 56sPlayable canonical Tetris; six minor scoring, timing, hidden-lock and phone-queue gaps; dense code, narrow nine-test suite
69Hy4 Flash (high)hy4-flash-freehighT3 Code / OpenCode7.001,173,076—3m 54sCanonical SRS; off-screen spawns, missing spin/PC scoring, contact/reset timing and clipped phone field
70GPT-6.1 Terra (medium)gpt-6.1-terramediumT3 Code / Codex6.90392,853$0.111m 22sCanonical SRS/full-mini scoring; missing PC, stale spin, landing/refresh clocks, terminal engine mutation and stretched previews
71GLM-5.3 (high)glm-5.3highT3 Code / OpenCode6.901,688,432$0.6719m 50sFour wrong J/L states; spin, PC, soft/contact timing, restart, buffer and clipped phone defects
72Space-bunnyspace-bunnyxhighT3 Code / OpenCode6.7521,547,591—13m 19sNon-SRS shapes and kicks, flattened ghost piece, scoring errors
73Muse Spark 1.3 (low)muse-spark-1.3-contributorlowT3 Code / OpenCode6.75289,934$0.412m 1sIncorrect kicks and incomplete advanced scoring; soft-drop jump, clipped phone board and overlaid legend
74GPT-5.6 Luna (high)gpt-5.6-lunahighT3 Code / Codex6.701,213,979$0.062m 50sCanonical SRS and working controls; scoring, gravity, contact timing and overlapping previews fail
75Muse Spark 1.3 (minimal)muse-spark-1.3-contributorminimalT3 Code / OpenCode6.65561,377$0.7345sCanonical core geometry; incomplete scoring, lock resets and soft timing, hidden lock-out and phone clipping
76GPT-5.6 Luna (max)gpt-5.6-lunamaxT3 Code / Codex6.652,769,139$0.114m 54sBroad scoring and responsive panels; inverted kick Y, later gravity, B2B-PC, hidden lock and overlay defects
77GPT-6 Luna (xhigh)gpt-6-lunaxhighT3 Code / Codex6.65973,306$0.034m 51sWrong I kick and gravity; hidden lock-out, B2B perfect-clear and phone next gaps
78GPT-6.2 Sol (max)gpt-6.2-solmaxT3 Code / Codex6.602,283,469$0.9518m 12sCustom pieces/kicks, scoring and gravity; 9x18 field and shortened/stale lock timing
79GPT-6.2 Sol (low)gpt-6.2-sollowT3 Code / Codex6.55170,042$0.121m 58sCustom pieces/SRS, missing advanced scoring, wrong field and lock/buffer edges
80GPT-6.2 Sol (high)gpt-6.2-solhighT3 Code / Codex6.501,501,618$0.519m 59sCustom pieces/scoring/gravity; wrong field and shortened retained lock clocks
81GPT-5.6 Terra (xhigh)gpt-5.6-terraxhighT3 Code / Codex6.401,698,319$0.706m 29sCanonical SRS; scoring, gravity/lock clocks, restart bag and preview rendering fail
82MiniMax M3.1 Flash (max)minimax-m3.1-flash-freemaxT3 Code / OpenCode6.407,851,898—15m 26sI geometry and kick tables are not canonical SRS; Spin and perfect-clear scoring are absent and B2B is incorrect; Landing frames shorten lock delay; Reset-cap handling forces early locks and keeps spent resets at a lower row; The ceiling rejects legal upward SRS kicks; Restart reuses a partial old bag; Space and movement still alter a paused game; The phone layout clips the playfield
83GPT-6 Luna (high)gpt-6-lunahighT3 Code / Codex5.90481,494$0.012m 4sBasic-only scoring, wrong and refresh-dependent gravity; airborne moves exhaust lock resets
84GPT-6 Luna (low)gpt-6-lunalowT3 Code / Codex5.65131,696$0.011m 9sWrong SRS pivots, basic-only scoring and gravity; erased next previews and hidden phone hold
85MiniMax M3.1 Flash (low)minimax-m3.1-flash-freelowT3 Code / OpenCode5.651,341,234—8m 34sThree I kick transitions are not SRS; Line and spin base points do not scale with level; Perfect-clear bonuses are absent; Spin history and corner/kick classification are incorrect; Airborne moves spend resets and a lower row keeps them; Hidden locks discard cells and continue play; Hard drop still changes a terminal game; The phone layout clips the playfield; Held preview overlaps its label
86Beambeam-freexhighT3 Code / OpenCode5.601,334,888—3m 3sLock timer mixes two clocks; classic scoring table
87GPT-5.6 Sol (low)gpt-5.6-sollowT3 Code / Codex5.55734,959$0.692m 43sInverted kicks, incomplete scoring and slow gravity; lock/reset clocks, hidden lock-out and stretched phone hold
88GPT-5.6 Terra (high)gpt-5.6-terrahighT3 Code / Codex5.50954,304$0.434m 6sInverted vertical kicks and incomplete scoring; slow high-level gravity, refresh, hold-clock and phone gaps
89GLM-5.3-Flash (low)glm-5.3-flash-freelowT3 Code / OpenCode4.854,356,489$0.1610m 15sCanonical SRS, but hold, gravity/frame timing, scoring and blocked spawn fail; previews overlap and clip
90Hy4 Flash (none)hy4-flash-freenoneT3 Code / OpenCode4.701,408,009—3m 47sCommonJS browser startup failure; shifted L rotation, absent spin/PC scoring, gravity/reset/top-out/storage/input defects and phone overflow
91GPT-5.6 Terra (medium)gpt-5.6-terramediumT3 Code / Codex4.65396,017$0.232m 13sText-only smoke test; generic kicks, basic scoring, gravity and lock timing fail; phone next clips
92GPT-5.6 Terra (low)gpt-5.6-terralowT3 Code / Codex4.65178,320$0.1646sCanonical shapes, but generic kicks, basic scoring, wrong clocks, hidden lock-out and presentation defects
93GPT-5.6 Luna (low)gpt-5.6-lunalowT3 Code / Codex4.25195,984$0.0241sNon-SRS rotations, broken hold, basic scoring and wrong timing; phone state clips
94GPT-5.6 Luna (medium)gpt-5.6-lunamediumT3 Code / Codex4.20378,157$0.021m 5sBuild/tests pass, but a CSS module import prevents browser startup; source scoring and gravity fail
95Nemotronnvidia/nemotron-3.5-super-vl:freethinkingT3 Code / OpenCode4.001,851,716$0.209m 9sDoes not start in the browser: imports lack .js extensions
96GPT-6 Luna (medium)gpt-6-lunamediumT3 Code / Codex3.80160,641$0.011m 36sDoes not build or start; diagnostic source has wrong SRS, scoring and gravity
97Beam (medium)beam-freemediumT3 Code / OpenCode3.80419,090—38sCommonJS prevents browser startup; diagnostic SRS, scoring, gravity, lock clocks and supporting UI fail
98Beam (low)beam-freelowT3 Code / OpenCode2.9582,729—16sBasic falling blocks; missing hold/ghost/next/SRS, incomplete scoring, wrong gravity and broken restart