Evaluating the Real Gap Between Chinese Open-Weight and Closed-Source LLMs

    This article explains how to assess Chinese open-weight and closed-source large language models without conflating parameter count, leaderboard results, and production usability. It separates model capability from system capability, proposes controlled model tests and end-to-end business evaluations, and examines code generation, long-context understanding, and tool calling. Using web-driven video generation as a test scenario, it covers deterministic rendering, dropped-frame validation, security boundaries, and unified metrics. The goal is to help teams compare models and systems using reproducible workloads, clear acceptance criteria, and cost-per-qualified-task analysis rather than labels or one-off demos.

    1. Start by Framing the Problem: More Parameters Does Not Mean Stronger Capability

    When discussing the gap between Chinese open-weight models and closed-source models, the first step is to avoid mixing parameter scale, leaderboard performance, and production usability into a single judgment.

    Total parameter count describes the size of a network, but it cannot by itself explain a model’s performance in code generation, long-document understanding, or tool calling. For models with sparse activation, total parameter count and the number of parameters actually involved in a single inference pass are not the same concept. Even when parameter scales are close, differences in training data quality, training methods, inference budget, and external tool environments can still produce clearly different results on real tasks.

    At the same time, “open source” needs further clarification. Releasing model weights, publishing training code, providing complete training data, and allowing commercial use represent different dimensions of openness. When selecting a model, enterprises should verify how weights are obtained, what license constraints apply, and what conditions govern modification and distribution. They should not judge the usable scope solely by a promotional label.

    Claims in the source material about model names, parameter sizes, and project popularity lack independently verifiable evidence, so they are not suitable as premises for technical conclusions. A more reliable question is: under the same tasks, the same tool permissions, and the same resource budget, can different models consistently complete business objectives?

    From this perspective, there is no fixed gap between open-weight and closed-source models that applies to every task. The gap must be measured against specific workloads.

    2. Evaluate Model Capability Separately from System Capability

    What developers use is usually not a bare model but a system that includes context management, file access, code execution, result validation, and error recovery.

    When an intelligent coding tool can automatically install dependencies, generate files, and export a video, the final result comes from at least four layers:

    1. Model layer: understands requirements, plans steps, generates code, and analyzes errors.
    2. Orchestration layer: organizes context, schedules tools, manages retries, and saves task state.
    3. Execution layer: provides file systems, runtime environments, browser rendering, and media encoding capabilities.
    4. Validation layer: checks whether artifacts exist, whether content is correct, and whether output meets requirements.

    If you compare only the user experience of two complete tools, it is easy to mistake advantages from a more mature execution environment for advantages of the model itself. Conversely, a model with strong reasoning ability may frequently produce “claimed complete but file does not exist” failures if it lacks stable tool interfaces and validation mechanisms.

    Therefore, it is advisable to design two types of evaluation:

    The first is controlled model evaluation. Prompts, available tools, runtime environments, output requirements, and resource limits should be unified as much as possible to observe differences in the model itself.

    The second is end-to-end business evaluation. Different solutions may use their own reasonable engineering configurations, and the comparison should focus on final delivery quality, human intervention, and total cost.

    The first answers “how much does model capability differ?” The second answers “which solution is more suitable for production use?” Both are valuable, but their conclusions should not be mixed.

    3. How to Test Three Core Capabilities

    1. Code Generation: Check Not Only Whether It Runs, but Whether It Can Be Maintained

    Code generation evaluation should not stop at syntax correctness or whether a demo page opens. Real development often involves existing code constraints, dependency compatibility, exception handling, and later modifications.

    A reasonable set of test tasks can cover:

    • Implementing an independent feature from a clear requirement;
    • Reading existing code and fixing a defect;
    • Adding a feature without breaking existing behavior;
    • Adding automated tests for boundary conditions;
    • Locating and fixing a problem based on a runtime error.

    Evaluation metrics should include functional test pass rate, first-pass success rate, regression behavior after modification, and manual repair time. They should also check whether the model introduces unnecessary dependencies, hardcodes sensitive configuration, or bypasses real business logic just to pass tests.

    For enterprises, “generate a demo in ten minutes” and “deliver a maintainable module” represent different levels of capability. They should be recorded separately, and the former should not substitute for the latter.

    2. Long-Context Understanding: Fitting Information In Does Not Mean Using It Correctly

    Context capacity indicates the scale of information a model can receive, but it does not guarantee that all information will be used with equal reliability.

    In practice, evaluation can place key constraints in different positions within a document and add repeated statements, version differences, and irrelevant content. The goal is to observe whether the model can accurately locate the supporting basis, identify conflicts, and continue to follow the constraints when generating code later.

    For example, in a long project specification, the beginning may require landscape output, the middle may explain data units, and the end may add font and color restrictions. Even if the model can restate these requirements, it may omit one of them in the final artifact. Long-context capability should therefore test both information extraction and constraint execution, not only question-answering accuracy.

    For business scenarios that require high traceability, the model should also be asked to provide the corresponding chapter or paragraph as evidence. This reduces the risk of a conclusion that sounds reasonable but has no support in the document.

    3. Tool Calling: Focus on State Judgment and Failure Recovery

    Tool calling is not simply outputting a set of operation instructions. A truly reliable execution process requires the model to judge the current state from tool return results and decide whether to continue, retry, roll back, or request human confirmation.

    The following scenarios should be tested closely:

    • The runtime environment lacks a required component;
    • A file path is invalid or lacks write permission;
    • External asset retrieval fails;
    • A child process times out and exits;
    • The output file exists but its content is corrupted;
    • An operation may overwrite or delete user data.

    Good behavior is not blindly persisting with execution. It means stopping when evidence is insufficient, requesting authorization when risk is high, and verifying artifacts after execution. For operations such as deleting files, overwriting configurations, and installing system-level components, no matter how strong the model is, it should not bypass permission controls.

    4. Use Web-Driven Video Generation to Build End-to-End Evaluation Tasks

    Web-driven video generation is a suitable comprehensive test scenario because it involves requirement understanding, page code, timing control, asset management, and media output at the same time.

    Its basic chain can be abstracted as:

    Requirement description -> scene structure -> page and animation -> fixed-time sampling -> frame sequence -> video encoding -> result acceptance.

    Three tasks with increasing difficulty can be designed:

    A product introduction short video focuses on layout, visual hierarchy, and shot rhythm. Acceptance checks should verify whether titles overflow, whether safe areas are reasonable, and whether transitions between scenes follow the script.

    A data animation focuses on numerical correctness and visual expression. Chart heights, number changes, and the timeline should be consistent. Data proportions should not be distorted for animation effects, and missing data should not be automatically interpreted as zero.

    A talking-head subtitle video focuses on audio-video synchronization and text completeness. Subtitle timing, line-breaking rules, punctuation handling, and final audio track length should all be included in checks.

    These tasks should not provide only a natural-language requirement. They should come with explicit acceptance checklists. For example, specify image dimensions, target frame rate, total duration, scene count, and asset scope, and state that unknown resources must not be downloaded arbitrarily. This lets different models face comparable challenges.

    5. Ensure Rendering Consistency: Let Time Be Determined by Frame Numbers

    Web animations usually advance according to a runtime clock, while offline video export needs reproducible frames at specified times. If the process relies directly on actual elapsed time, processor load, asset loading, and page scheduling can all affect the output.

    A more robust approach is for the rendering pipeline to explicitly control scene time. Let the frame number be k and the frame rate be f. The sampling time can then be written as:

    t = k / f

    Element positions, opacity, and number changes on the page are all calculated from this time value, rather than relying on the state after the previous update.

    For example, an element that moves from the left side to a target position within two seconds can be described with the following pseudocode:

    1. time = frame_number / frame_rate
    2. progress = clamp(time / animation_duration, 0, 1)
    3. current_position = start + (end - start) * progress

    This design can reduce incremental calculation errors and makes it easier to reproduce any given frame. However, a deterministic timeline is only one necessary condition. Whether fonts are ready, whether images are decoded, whether page zoom is fixed, and whether random numbers are controlled also affect the result.

    For assets that depend on the network, download, validation, and localization of references should be completed before the task starts. For random animations, a fixed random seed should be used to avoid different images being produced when the same frame is rendered multiple times.

    6. Single-Frame Consistency Does Not Prove the Whole Video Has No Dropped Frames

    Comparing one frame from the page with the corresponding frame in the exported video is a useful local check, but it is not enough to prove that the entire video is correct.

    Complete acceptance should cover at least four areas.

    First, temporal structure. Check whether the total duration, target frame rate, and decoded frame count meet expectations. For variable frame rate output, timestamps should also be considered; conclusions should not be based only on file metadata.

    Second, key frames. Spot-check the beginning, end, scene transitions, subtitle changes, and animation extremes. Compression encoding may introduce pixel differences, so it is not appropriate to require pixel-perfect equality before and after export. A reasonable tolerance should be set according to the quality target.

    Third, content integrity. Check for black frames, white frames, missing assets, clipped text, and abnormal still images. Adjacent identical frames may be a normal pause or a rendering failure, and the judgment should be made against the script expectations.

    Finally, audio-video synchronization. If there is an audio track, check the start offset, end position, and intermediate synchronization points. Correct video duration does not mean subtitles and speech remain aligned throughout.

    Only by combining these checks can you form a relatively complete judgment of the reliability of the export pipeline.

    7. Security Boundaries Determine How Far Automation Can Go

    The source material describes a case in which a batch deletion was blocked. Such incidents show that the risk of an intelligent execution system comes not only from model output errors but also from the operation permissions it holds.

    It is advisable to create an isolated working directory for each task, make input assets read-only, and limit the writable scope to the task directory. Dependency installation and rendering should use isolated environments where possible to avoid modifying the user’s global configuration.

    When cleaning up files, the system should first list the paths to be deleted, explain the reason for cleanup, and confirm directory ownership. Security cannot be judged by file count alone: deleting a large number of temporary files may be reasonable, while deleting a single critical configuration file may cause serious consequences.

    A more robust cleanup process is to move files to a recoverable area first, confirm that the task is normal, and then process them according to the retention policy. Execution records should also retain the operation scope, authorization result, error information, and artifact location for auditing and troubleshooting.

    Security blocking is not an obstacle that the model should “find a way around.” It is part of the automation workflow.

    8. Use Unified Metrics to Answer “How Large Is the Gap?”

    Evaluation results should form a multi-dimensional profile rather than being compressed into a single score that lacks explanation.

    At minimum, record:

    • Task success rate: the proportion of tasks that pass all necessary acceptance conditions;
    • First-pass success rate: the proportion completed without feedback and repair;
    • Human intervention: number of manual modifications and actual time spent;
    • Completion latency: time from task start to artifact acceptance;
    • Resource consumption: inference, execution, storage, and transfer consumption;
    • Security events: unauthorized attempts, high-risk operations, and sensitive information exposure;
    • Result stability: success rate and quality fluctuation across repeated runs.

    The same task should be tested independently multiple times, with runtime conditions fixed and inputs and outputs saved. If the difference between two solutions is smaller than the natural variation in repeated tests, it is not appropriate to claim a clear advantage.

    Cost should also be calculated per qualified task. Access to open weights does not mean deployment, maintenance, and operations are free. Convenient closed-source API calls do not mean they are more economical under all workloads. Hardware utilization, request fluctuations, manual repairs, and failure retries can all change the final conclusion.

    9. Selection Conclusion: Focus on the Business Loop, Not Labels

    The gap between Chinese open-weight models and closed-source models cannot be judged solely by parameter scale or a single successful demo. It often appears as differences in first-pass success rate on specific tasks, the ability to preserve complex constraints, recovery from tool failures, and stability during continuous operation.

    For tasks with fixed workflows, clear data boundaries, and easy automated acceptance, teams can prioritize validating the deployment feasibility of open-weight solutions. For tasks with open-ended requirements and high failure costs, more attention should be paid to multi-round validation, human review, and fallback mechanisms rather than assuming that one category of model is naturally reliable.

    In practice, a reasonable route is usually to first build a small, reproducible business test set, then compare solutions using the same acceptance standards. Next, run a controlled pilot, improve prompts, tools, and validation processes based on failure cases, and only then expand the scope of automation.

    The real goal is not to prove that one label necessarily leads. It is to build an engineering system that can continuously measure quality, control risk, and explain cost. When these conditions are in place, “how large is the gap” changes from a subjective experience into a technical conclusion that can be reviewed and used for decisions.