Open-Source LLMs vs. International Closed Models: What It Means for Real Engineering Work

    This article examines whether open-source Chinese large language models can deliver production-grade frontend projects, not just generate code snippets. Based on a hands-on build driven by a single Chinese requirements document, it breaks subjective impressions into reusable evaluation dimensions: requirement comprehension depth, engineering completeness, delivery format, and visual quality. It explains why standardized pages score well while filter and form logic exposes systematic loss of constraints in long documents, and how structured prompts, design tokens, per-page iteration, and automated acceptance checks turn model output into stable deliverables. It also covers the three practical benefits of open weights: predictable cost structure, controllable data compliance through private deployment, and reproducible evaluation with ecosystem collaboration.

    1. Background: From “Generating Code” to “Delivering an Engineering Project”

    A question that keeps resurfacing in technical discussions is whether Chinese large language models have closed the gap with international state-of-the-art systems in overall capability. These debates often stay at the level of leaderboards and word of mouth, but the criteria that actually matter to developers are far more concrete: when you hand a model a real requirements document, can it deliver a project that runs, passes acceptance, and stays maintainable?

    This article uses one complete frontend project as a through line, breaking down subjective impressions into reusable evaluation dimensions. To avoid pointing at specific products, the model under test is referred to as “an open-source Chinese LLM,” and the baseline is “an international state-of-the-art closed model.”

    2. Test Setup: Keeping Variables Under Control

    Evaluations often go wrong because too many variables are in play. To make the conclusions reproducible, the following conditions were fixed:

    • Input material: a Chinese requirements document containing a page inventory, field definitions, validation rules, interaction states, and visual specifications;
    • Tech stack: no framework or language specified, leaving the model to choose, so its default engineering preferences become visible;
    • Delivery requirement: not just code snippets, but a preview URL that can be opened directly;
    • Metrics recorded: time to first token, total elapsed time, page completeness, requirement coverage, and number of rework rounds.

    One clarification: queuing and rate limiting under a free tier are service-side policies and should not count toward model capability. Generation time and requirement coverage, however, are objective metrics worth recording.

    3. Layered Findings Across Four Dimensions

    3.1 Depth of Requirement Comprehension: The Critical Dividing Line

    Login pages generally score high because they are a highly standardized pattern the model has seen many times. Filtering conditions on list pages, and field linkage plus validation logic on form pages, are “business-semantics-dense” areas, and that is exactly where differences in comprehension depth show up.

    In testing, page skeletons and routing structures were largely correct, but filter options explicitly written in the document were not implemented, and the same omission recurred across multiple list pages. This indicates the problem is not occasional sampling variance but systematic loss of constraints in long documents.

    A practical fix is to make implicit constraints explicit, replacing prose descriptions with structured prompts:

    1. {
    2. "page": "product_list",
    3. "must_have": ["status_filter", "category_filter", "price_range", "reset"],
    4. "state_matrix": [
    5. {"filter": "status=active", "request": "page=1&status=active"},
    6. {"filter": "reset", "request": "page=1"}
    7. ],
    8. "acceptance": "every must_have item is visible and interactive in the UI"
    9. }

    Turning “must-have items” into an enumerable checklist noticeably lowers the model’s omission rate and turns acceptance from a subjective impression into a per-item check.

    3.2 Engineering Completeness: Running Is Only the Passing Grade

    Code that runs shows the output is self-consistent at the syntax and dependency level. Engineering completeness, however, is about error boundaries, empty and loading states, form rollback, accessibility, and other non-functional items. These are precisely the parts most often overlooked in requirements documents and the parts that most test a model’s reasoning.

    3.3 Delivery Format: From Snippets to Accessible Artifacts

    “Provide an accessible URL” and “provide a code block” are two different delivery tiers. The former requires the model to complete dependency installation, build, and deployment orchestration, which makes the chain longer, adds failure points, and raises elapsed time. This explains why overall generation took tens of minutes while the baseline finished in roughly three minutes: the difference comes mostly from how automated the delivery chain is, not from raw inference speed.

    3.4 Visual Quality: Engineering Usability Over Visual Polish

    The aesthetics of the generated UI sit roughly between “better than a wireframe prototype” and “weaker than a mature component library template.” That matches the general capability distribution of current models: strong at structural reproduction, weak at stylistic innovation. A safer practice in engineering is to agree on design tokens and have the model fill in content within an existing system:

    1. :root {
    2. --color-primary: #2f6feb;
    3. --radius-md: 8px;
    4. --space-4: 16px;
    5. }

    4. Side-by-Side Comparison: The Gap Is in Comprehension Precision

    A controlled comparison using the same document showed that the two were close on standardized pages. On list and form pages, the international state-of-the-art closed model reproduced field relationships, filter linkage, and validation details more completely. The conclusion is clear: the gap is not whether the code can be written, but whether all constraints were actually understood.

    5. Three Layers of Value in Open Weights

    5.1 Predictable Cost Structure

    Available weights mean inference can run on self-owned or rented general-purpose compute. Cost shifts from usage-based billing to resource planning, making peak and trough fluctuations easier to smooth out.

    5.2 Controllable Data Compliance

    Code and requirements documents often contain commercially sensitive information. Private deployment keeps data within its own boundary, and combined with general cloud categories such as object storage, logging services, and monitoring and alerting, it can form a complete audit and traceability chain.

    5.3 Ecosystem Collaboration and Reproducibility

    Open weights let third parties reproduce evaluations, give fine-tuning and distillation a starting point, and allow the community to fill gaps for vertical scenarios. This is also a necessary step for Chinese models to move from “usable” to “trustworthy.”

    6. Practical Recommendations

    1. Structure the requirements document: split it into a page inventory, a field table, a state matrix, and acceptance items;
    2. Iterate page by page: deliver one page at a time to reduce the chance of losing constraints in a long context;
    3. Build automated acceptance: use scripts to verify each must-have item was implemented;
    4. Use a hybrid strategy: assign standardized pages to the open-source model to control cost, and bring in stronger reasoning or human review for complex business semantics;
    5. Accumulate prompt templates and component specifications, turning one-off generation into reusable assets.

    7. Conclusion

    Open-source Chinese models are already at an engineering-usable level for standardized tasks. The real shortcomings are comprehension precision under long-document constraints and the efficiency of the delivery chain. For developers, the rational stance is not to pick a side but to build quantitative, reproducible evaluation methods, using structured input and automated acceptance to convert model capability into stable output.