Chinese LLMs Are Closing the Gap in Coding Performance

    This article examines why coding has become the main battleground for frontier LLM competition, focusing on verifiability and real engineering value. It breaks down three technical trends driving recent progress: open training processes with intermediate checkpoints, post-training improvements that raise capability without increasing per-token price, and agents that operate real devices. It then offers practical guidance for developers on building layered evaluation, treating model output as untrusted input, and designing for total cost and replaceability, along with a balanced view of the remaining risks.

    1. Why Coding Is the Main Battleground

    Chinese LLMs have been steadily improving on coding-related tasks, narrowing the gap with the strongest models globally. On the surface, this looks like a race to climb leaderboards. From an engineering perspective, however, coding has become the main battleground because it is the capability dimension closest to “verifiable correctness.” Natural language answers are often hard to judge automatically, whereas code can be evaluated through compilation, unit tests, static analysis, and end-to-end regression to produce relatively objective signals. This verifiability makes coding tasks a natural anchor for both capability improvement and evaluation.

    For developers and enterprise users, the value of coding capability goes beyond “writing code faster.” It translates into three concrete benefits: shortening the cycle from requirements to a runnable prototype; lowering maintenance costs by letting models handle tedious work such as refactoring, adding tests, and reading legacy code; and increasing the degree of automation for long-horizon tasks, moving models from “answering questions” to “completing tasks.”

    2. Three Technical Threads Behind the Leap

    2.1 Open Training Process: From Shipping Weights to Shipping a Continuable Process

    The traditional open-source model usually ships only final weights, leaving the community with a static result. The recent shift is that some open strategies now provide checkpoints from multiple stages, including pre-training, mid-training, and weight merging. As an example, one open-source series has a small version with roughly 7.9 billion total parameters and about 1.3 billion activated parameters, and a larger version with roughly 124 billion total parameters and about 5.1 billion activated parameters, both using a sparse activation architecture.

    The value of this “process openness” lies in reproducibility and transferability: researchers can cheaply validate hypotheses about data mixtures, learning rate schedules, and merging strategies on small models, then extrapolate the findings to larger scales; enterprises can do domain continued training on intermediate checkpoints instead of starting from scratch. One engineering caveat: intermediate checkpoints are not necessarily better the later they are. Different stages involve trade-offs between general capability and domain adaptation, and the choice should be guided by evaluation sets.

    2.2 Post-Training and Unit Cost: Gains Without Just Adding Parameters

    Another thread puts the emphasis on post-training and unit cost rather than simply scaling up parameters. A typical approach keeps the same base model and strengthens complex coding, defensive security analysis, and long-horizon task capability through more refined supervised fine-tuning, preference optimization, code execution feedback, and feeding failure samples back into training, while keeping the API price unchanged.

    The direct implication for developers is that capability gains do not have to come with a linearly rising bill. To judge whether such an upgrade is worth adopting, measure “cost per task” rather than “unit price,” since the real expense is determined together by the number of calls, the number of retries, and the proportion of human intervention required to complete a task.

    2.3 From Text to Screen: Agents Systematically Operating Devices

    The third thread is agents moving from the chat box to real devices. The relevant base models cover phone, computer, web, and deep retrieval scenarios, with training trajectories drawn from a large number of real device and application environments, and they achieve strong results on several public interaction benchmarks. The technical difficulties concentrate in three areas: generalization of interface element localization, state management across long cross-application flows, and self-correction after failures.

    When evaluating this kind of capability, single-step accuracy is not enough; long-horizon success rate and average number of steps to completion matter more. A practical metric is the “effective task completion rate,” meaning the proportion of goals completed within a limited number of steps without human takeover.

    3. Practical Recommendations for Developers

    3.1 Build a Layered Evaluation System

    Split evaluation into three layers: syntax and compilation, unit and integration tests, and end-to-end tasks. A skeletal evaluation harness looks like this:

    1. def evaluate(model, tasks):
    2. report = {"compile": 0, "tests": 0, "e2e": 0}
    3. for t in tasks:
    4. code = model.generate(t.prompt)
    5. if not compiles(code):
    6. continue
    7. report["compile"] += 1
    8. if run_unit_tests(code, t.tests):
    9. report["tests"] += 1
    10. if run_e2e(code, t.e2e):
    11. report["e2e"] += 1
    12. return report

    The three layers of metrics help avoid the misjudgment of “looks like it can code but actually does not run.”

    3.2 Constrain Model Output with Engineering Controls

    In real projects, treat model output as untrusted input: route it through unified format parsing, schema validation, and sandboxed execution; add secondary confirmation and least privilege for high-risk operations; and connect logs, monitoring alerts, and message queues into a traceable call chain. Isolating execution environments with a container platform and archiving artifacts in object storage are fairly common practices.

    3.3 Consider Total Cost and Replaceability When Choosing Models

    Abstract model access behind a unified gateway layer that hides implementation differences, making it easy to switch between capability tiers. This lets you handle high-frequency simple tasks with a smaller model and call a stronger tier for complex tasks, balancing cost and effectiveness.

    4. Significance and Risks: A Sober View of “Closing the Gap”

    The real significance of coding capability approaching the frontier is that it lowers the barrier to frontier capability, so more teams can afford it, modify it, and integrate it quickly. But the risks are equally clear: first, evaluation contamination and overfitting, since a higher leaderboard score does not necessarily mean production readiness; second, security boundaries, because both code generation and device operation involve permissions and data privacy, requiring a governance framework first; third, long-horizon reliability remains unstable, so critical paths must keep a human fallback.

    The overall judgment is that the focus of competition has shifted from “parameter scale” to “reliable completion rate at a given unit cost.” For developers, the more pragmatic strategy now is not to chase a single strongest model, but to build an engineering system that is evaluable, replaceable, and governable, so that capability gains truly translate into delivery efficiency.