Design2Code
Models turn screenshots of 484 real webpages into HTML and CSS. Automatic metrics compare the rendered page with the original on layout, text, position, color and CLIP similarity.
The repo also ships Design2Code-HARD, 80 harder pages from GitHub Pages, as a separate test set. Reports often give the averaged visual score or the CLIP score.
In the authors’ words
Generative AI has made rapid advancements in recent years, achieving unprecedented capabilities in multimodal understanding and code generation. This can enable a new paradigm of front-end development in which multimodal large language models (MLLMs) directly convert visual designs into code implementations. In this work, we construct Design2Code - the first real-world benchmark for this task. Specifically, we manually curate 484 diverse real-world webpages as test cases and develop a set of automatic evaluation metrics to assess how well current multimodal LLMs can generate the code implementations that directly render into the given reference webpages, given the screenshots as input. We also complement automatic metrics with comprehensive human evaluations to validate the performance ranking. To rigorously benchmark MLLMs, we test various multimodal prompting methods on frontier models such as GPT-4o, GPT-4V, Gemini, and Claude. Our fine-grained break-down metrics indicate that models mostly lag in recalling visual elements from the input webpages and generating correct layout designs.
- Level
- Everyday Most adults, without training
- Scored
- Checked automatically A program checks the result against an answer key, unit tests or the expected final state.
- Answers
- Code A program or patch run against tests.
Qwen3-VL-235B-A22B leads with 93.4
Best score per model as labs report them in their own cards. Labs pick their own settings, so these compare less cleanly than independent runs.
| # | Model | Score | Setting | Date | Source |
|---|---|---|---|---|---|
| 1 | | 93.4 | Sep 2025 | Model card | |
| 2 | | 79.5 | Jan 2026 | Model card |
Number one over time
Lab claims count from the day the card came out, independent runs from the model’s release.
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Labs headline it less often now, last in Dec 2025
Launch posts from every lab that has listed it, one tick per post. Tall colored ticks include it, and short gray ones leave it out.
| Date | Launch post | Score | As the post writes it |
|---|---|---|---|
| 8 Dec 2025 | GLM-4.6V | 88.6 | Design2Code |
| 23 Sep 2025 | 93.4 | Design2Code | |
| 11 Aug 2025 | GLM-4.5V | 82.2 | Design2Code |
| 1 Jul 2025 | GLM-4.1V-9B-Thinking | 64.7 | Design2Code |
5 system cards report it, from 3 labs
Besides launch posts, we read the system cards, model cards and technical reports labs publish with a release. They report far more, including safety and frontier-risk tests.
| Date | Document | Score | As the document writes it | Section |
|---|---|---|---|---|
| 14 Jan 2026 | | 79.5 | Design2Code, SeRe (Table 1). Design2Code (hard) 54.69 | Capabilities |
| 1 Jan 2026 | GLM-4.6V technical report | 88.6 | Design2Code, GLM-4.6V thinking (Table 2) | Capabilities |
| 26 Nov 2025 | | 93.4 | Design2Code (Table 2) | Capabilities |
| 13 Aug 2025 | GLM-4.5V technical report | 82.2 | Design2Code, GLM-4.5V thinking (Table 2) | Capabilities |
| 1 Jul 2025 | GLM-4.1V-9B-Thinking technical report | 64.7 | Design2Code, GLM-4.1V-9B-Thinking thinking (Table 2) | Capabilities |
More in Coding
- SWE-bench Verified In use 500 human-validated GitHub issues from 12 Python repos. Agent writes a patch that must pass hidden tests. Claude Opus 4.7 83.5%
- SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Opus 5.5 93.9%
- LiveCodeBench v6 In use Competitive programming problems collected after model cutoffs from LeetCode, AtCoder, Codeforces. Scored pass@1 on hidden tests.
DeepSeek-V4-Pro 93.5%
- DeepSWE In use 113 original long-horizon engineering tasks across 91 repos and five languages, written from scratch. Hand-written verifiers accept alternative solutions. GPT-6 Astra 74.1%
- SciCode In use Scientist-curated research coding problems split into subproblems across natural sciences. Code checked against test cases.
Seed2.1 Pro 59.8%
- Codeforces rating In use Model solves recent Codeforces contest problems. An Elo-style rating is computed from simulated contest performance.
DeepSeek V4.1 Flash 3,471