Testing Open-Source Chinese LLMs on Frontend Tasks: Capability Limits and the Value of Openness
We put a Chinese open-source large language model to the test with a real frontend project instead of relying on benchmark leaderboards. Using a document-driven approach, we evaluated the generated code for engineering completeness, simple pages, complex interactions, and visual quality. The results show the model can produce runnable full projects with minor fixes needed for simple pages, while complex requirements still require manual verification — and we explain why the open-source route matters beyond raw performance.
1. Why We Ran This Test
Large language models evolve quickly, and vendors frequently showcase results on benchmark leaderboards. Leaderboard scores indicate a model’s general capability, but what teams actually care about is simpler: given a requirements document, can the model deliver a working page?
That’s why this test wasn’t based on leaderboards. Instead, we used a complete frontend requirement to observe how the model performs on real engineering tasks.
The outcome in brief: the open-source model could generate a complete project, simple pages needed only minor modifications before use, and complex interactive requirements still required manual, item-by-item verification.
2. Test Method
The test was requirements-document driven. We wrote a requirements document in advance covering page structure, filter options, field validation rules, and interaction logic. The model then had to generate a runnable frontend project in a single pass, which was reviewed as a whole.
This approach exposes problems far better than small tasks like “generate one button,” because the model must hold a large number of constraints in memory simultaneously.
Evaluation was conducted clause by clause: Does each page exist? Are all filter options present? Do validation rules match the document? Is field-level linkage correct?
This article records the observations from a single test run. We did not run controlled comparisons across model versions, inference parameters, or runtime environments. The results therefore reflect only this specific sample and task, and cannot be generalized to the model’s overall capability. To reproduce the test, first pin the model version, then use the same requirements document and the same checklist.
3. Performance by Task
3.1 Engineering Completeness
The model generated a project with a complete structure that could be started and accessed directly — well beyond the level of code snippets. This alone reaches the starting point of engineering usability. However, generation took considerable time, and queuing appeared during peak hours, suggesting gaps remain in response speed and service capacity.
3.2 Simple Pages
The login page had a clean structure and standard logic. Features declared in the requirements, such as a carousel, were all implemented. Overall, this quality level is close to production-ready with minor edits.
3.3 Complex Interactions
This is where the problems concentrated. The filter options on the list page were explicitly listed in the requirements document, yet they were missing from the generated output — and this type of omission repeated across multiple pages, pointing to a systematic issue. The form page ran, but field linkage, validation logic, and interaction details deviated noticeably from the document.
3.4 Visual Style
The UI was neat and met engineering standards, more disciplined than most prototypes. Compared with mature component-library templates, however, it lacked design polish. For internal tools or rapid validation, this level is usually sufficient. User-facing products would require additional design effort.
4. Where the Gap Lies
On simple tasks, the gap between open-source and closed-source models is small. The main difference observed in this test was the depth of understanding of complex requirements documents. The closed-source model reproduced filter conditions, field relationships, and validation rules more completely, and responded faster.
This hints at a possible direction: the open-source model’s weakness may lie in instruction-following precision over long contexts — that is, whether it can capture every constraint in a requirements description spanning hundreds of lines without omission or misreading. This judgment currently comes from manual review and has not yet been quantified. Teams that want to verify it can track metrics such as requirements-clause omission rate and field-linkage accuracy, replacing subjective impressions with numbers.
5. The Practical Value of Being Open Source
Beyond approaching closed-source performance, openness itself carries real value:
- Private deployment: Data can stay inside the intranet, which suits industries with strict compliance requirements such as finance, government, and healthcare.
- Domain fine-tuning: Continuing training on open weights lets the model learn an enterprise’s internal knowledge and standards.
- Reduced vendor lock-in: The technical route is not entirely hostage to a single cloud provider’s APIs or pricing changes.
Open-source models also energize the community ecosystem. The community builds domain-specific variants on top of base models, inference frameworks and quantization tools iterate alongside them, and researchers can conduct alignment and evaluation studies on real models. No matter how strong a closed-source model becomes, external developers cannot participate in its evolution — a fundamental difference between the two routes.
At the industry level, open-source models create price pressure on closed-source vendors. If the cost of self-hosting drops low enough, API prices may continue to fall, and the barrier to entry for small and mid-sized teams will drop accordingly. These changes depend on deployment costs, compute supply, and competitive dynamics, so they should be read as trend judgments rather than certainties.
As the raw capability gap narrows, competition may shift toward engineering infrastructure: context management, agent frameworks, retrieval-augmented generation, and observability. Combining open-source models with object storage, vector search, and containerized inference services makes it possible to build production-grade applications at relatively low cost.
6. Selection Recommendations
The table below offers references by task type:
| Task Type | Test Result | Recommendation |
|---|---|---|
| Simple pages, templated code | Mostly usable, minor edits needed | Consider self-hosting an open-source model to control costs |
| Multi-condition filtering, form linkage | Clauses easily omitted | Verify item by item after generation, or cross-check with a closed-source model |
| Visual design | Neat but lacking design flair | Combine with component-library templates; adjust visuals manually |
Three additional practical tips:
- Choose models by task tier: Use open-source models for simple generation tasks; combine multiple models for complex reasoning tasks.
- Structure your requirements: Define fields in JSON and spell out validation rules in numbered lists to reduce misinterpretation.
- Build your own evaluation set: Testing with your team’s real requirements documents reflects suitability for your scenarios far better than generic benchmark scores.
7. Limitations
The test sample in this article is limited, covering only one set of frontend tasks. The conclusions do not constitute a comprehensive evaluation of Chinese open-source models, nor do they represent their performance in other languages, on other tasks, or in other versions. Before making a selection decision, we recommend retesting against your own business scenarios and recording the model version and runtime conditions.
8. Closing Thoughts
A single task-based test only reflects the current capability level. The reasonably safe judgment today: open-source models are usable for simple tasks, while complex requirements still need human oversight. The long-term value of the open-source route lies more in deployment autonomy, ecosystem participation, and declining costs. For developers, it means more freedom of choice; for the industry, competition may gradually return to technical depth and engineering capability itself.
