Evaluating Open-Source vs Closed-Source LLMs: A Hands-On UI Generation Test for Real-World Engineering Gaps

    This article presents a practical, side-by-side evaluation of a newly released open-source Chinese LLM against a commercial closed-source flagship model, using a real front-end project (login page with carousel, filterable product list, and a complex form) as the benchmark. The test reveals that while the open-source model performs well on static page structures, it significantly lags in understanding business logic, handling complex form validation, and generating results efficiently. The analysis highlights the core competency gap in deep intent understanding, explores implications for open-source AI development, and offers concrete recommendations for improvement. Ideal for developers, AI engineers, and technology decision-makers evaluating model capabilities for production use.

    Background: Open-Source LLMs Enter Deeper Waters

    Recently, the open-source LLM landscape in China welcomed a new heavyweight contender. Following its release, the developer community quickly erupted in discussion, with many comparing it to commercial closed-source flagship models, and some even calling it a “milestone for the domestic open-source ecosystem.” While such praise is encouraging, for front-line developers, the only true measure of a model’s value is its performance in real business scenarios.

    To verify this model’s actual engineering capability, I deliberately selected a real-world front-end requirement with a typical, representative scope. No specific tech stack was mandated — the model was given full freedom to choose. The goal was to run a full stress test covering UI generation, document comprehension, and interaction fidelity.

    Test Setup & Initial Impressions

    The original requirement involved three core pages: a login page with a carousel, a product list page with filter conditions, and a form submission page with complex field relationships. The requirement document explicitly described interaction logic, field validation rules, and page structure requirements, simulating the full context of a real development scenario.

    Before the official test began, a notable incident occurred: in the first few attempts, the model’s server continuously returned “too many users, please queue or pay” errors. After multiple refreshes, I finally gained access. This indicates that the model’s compute resources still face bottlenecks under high concurrent demand — a point that resurfaces in the generation speed comparison later.

    After project initialization, I did not specify a framework; the model autonomously selected React, the mainstream choice in the front-end community. The entire generation process was time-consuming — from initialization to complete output, it took over thirty minutes. Compared to similar tasks, this was noticeably slow, likely due to resource quotas on the free tier. However, credit must be given: the model ultimately produced an accessible live project URL rather than just code snippets, which greatly facilitated the subsequent item-by-item review.

    Page-by-Page Testing: Progressive Capability Decay

    Login Page: Completion Meets Expectations

    The login page was the first to be reviewed. The required carousel was correctly implemented, the overall page structure was complete, and form element layout was reasonable, with no obvious omissions. Visually, the page reached a level of “ready for a front-end developer to fine-tune” — a satisfactory result. In this phase, the model performed at industry mainstream levels.

    List Page: Deep Logic Understanding Begins to Stumble

    Moving to the product list page, issues began to surface. The filter condition combinations, sorting rules, and empty-state display logic explicitly described in the requirement document were not reflected in the generated output. This was not an isolated occurrence — in multiple list pages tested later, missing filter items recurred consistently, revealing a systemic weakness: the model captures the skeletal structure of a page but falls short when translating “business rules into interactive components.”

    Form Page: Incomplete Restoration of Complex Validation

    The form page showed the most significant gap in this test. While the page ran overall, a large number of field relationships, dynamic validation rules, and submission-time error message details were not fully implemented as specified. Even though the requirement document was written as clearly as possible, the model’s comprehension and restoration abilities proved inadequate when faced with multi-layered, tightly coupled complex form modeling.

    Overall Style Assessment

    From an aesthetic standpoint, the generated results sit somewhere between a “high-fidelity prototype” and a “mature component library” — better than typical design-to-code base outputs, but still lacking the polish of directly applying a mainstream UI framework (such as Ant Design or Tailwind’s preset themes). The overall look leans toward pragmatic, engineering-oriented utility rather than visual distinction. In short: engineering usability outweighs product aesthetics.

    Horizontal Comparison: A Generational Gap in Understanding Depth

    Coincidentally, the same set of requirements had previously been fully implemented by a commercial closed-source flagship model. Using its output as a control group, the comparison is highly informative:

    Evaluation Aspect Open-Source Model Commercial Closed-Source Flagship Gap Analysis
    Login Page Completion Essentially identical Essentially identical No notable gap
    List Page Logic Restoration Missing filters Fully implemented Clear gap in business rule comprehension
    Form Fields & Validation Partial restoration Precise restoration Generational gap in complex data modeling
    Generation Efficiency 30+ minutes ~3 minutes Significant gap

    The table makes it clear that the gap is not isolated to a single dimension, but centers on one core capability: deep intent understanding. The commercial closed-source model more accurately derives implicit logic from natural language descriptions, including field dependencies, validation trigger conditions, and state transition rules. In contrast, the open-source model currently handles explicit, structured descriptions well, but its boundary is evident when facing ambiguous instructions that require “inference to complete the missing parts.”

    Deeper Implications of Open-Source Attributes for AI Development

    Based on this engineering practice, we can examine the broader significance of this comparison for the open-source ecosystem and the AI industry.

    1. “Capability Equality” vs. “Value Stratification” in Open-Source Models

    Historically, the value of open-source models was primarily “making AI affordable for more people” — achieving capability equality through open weights. However, this test reveals a clearer reality: the competitive focus between open and closed source has shifted from “whether code can be generated” to “whether business intent can be precisely understood.” This shift implies that future evaluation systems for open-source models will no longer rely on a single benchmark score, but will diverge into layered assessments such as basic code generation, complex logical reasoning, and multimodal interaction. For enterprise selection, open-source models offer significant efficiency advantages in simple scenarios, but in complex business modeling, the comprehension depth of closed-source models remains a necessity.

    2. Paradigm Shift: From “Code Generation” to “Requirement Understanding”

    The contrast between login page and form page performance in this test is highly representative: the former is a “what-you-see-is-what-you-get” static structure, while the latter involves implicit knowledge of dynamic interactions. This hints at the next evolutionary direction for LLM capabilities — transitioning from “code completer” to “requirement analyst.” When models can accurately extract constraints from natural language and infer implicit business rules, the collaboration mode between developers and AI will fundamentally change. At this stage, the open-source model’s weakness is precisely the critical bottleneck of this paradigm — and also its most promising breakthrough point.

    3. “Technology Dividend” and “Value Regression” in the Open-Source Ecosystem

    It is worth noting that the open-source model’s clear disadvantage in generation efficiency (30 minutes vs. 3 minutes) likely reflects more on free-tier resource limitations than on inherent architectural defects. This reminds us that the open-source model, while sharing weights, has not fully solved the problem of compute resource allocation. If the open-source ecosystem aims to truly compete with closed-source commercial models across the board, innovation and openness in engineering deployment, inference optimization, and resource scheduling may prove more impactful than parameter competition.

    Recommendations & Outlook

    Based on this practical test, I hold cautiously optimistic expectations for the future evolution of open-source Chinese LLMs. On the technical front, three directions deserve attention:

    • Enhance context-following capability: Improve the model’s ability to extract and execute implicit constraints from long documents through more refined instruction tuning and reinforcement learning.
    • Optimize complex form modeling: Increase the proportion of real enterprise-level back-office use cases in training data, especially high-complexity forms involving dynamic validation, linking logic, and permission control.
    • Improve multi-turn interaction consistency: Allow users to make conversational corrections to generated results instead of requiring a full project regeneration — this is critical for practical development efficiency.

    From an industry perspective, this comparison is not a simple win-loss judgment but a useful exercise in clarifying technical boundaries. The closed-source model’s lead in comprehension depth narrows the open-source model’s room for “usability” imagination; yet the open-source model’s passing grade in engineering usability proves that its “good enough” baseline is solid. This coexistence of competition and complementarity will ultimately drive the maturity and prosperity of the entire AI application ecosystem. As this test reveals, UI generation is merely a surface-level metric of model capability. The underlying depth of intent understanding, precision of knowledge reasoning, and cross-scenario generalization are what truly determine whether AI moves from “technical toy” to “productivity tool.”