Evaluating the Coding Ability of Chinese LLMs: Where They Break Through
This article examines why developer sentiment toward new Chinese general-purpose LLMs shifts so quickly, and why single benchmark scores no longer capture real progress. It covers the main bottleneck of attention decay beyond roughly 100K context, its three typical symptoms, and common context-engineering mitigations; the widening competitive gap; a layered evaluation approach for judging real usability; the often-ignored dimension of resource cost per successful delivery; and practical recommendations for adoption. Readers will find concrete guidance on shadow evaluations, context engineering, inference-tier strategy, regression suites, and reproducible evaluation pipelines.
1. Behind the Hype: How Community Sentiment Shifts from Applause to Scrutiny
One pattern stands out: whenever a new generation of general-purpose LLM is released, the mood in developer communities tends to flip within 24 hours. Before launch, the model is treated with high expectations and almost mythologized; right after launch, the same community turns to harsh nitpicking. This is not fickleness on the part of users. The evaluation standard itself has moved up a level. Early on, people looked at leaderboard scores. Today they ask a harder question: can the model actually finish the job inside a real repository?
So judging whether a model has genuinely improved cannot rely on a single benchmark number. What matters is its combined performance on long context, multi-turn tool calling, and complex dependency engineering.
2. The Key Bottleneck: Attention Decay in Long Contexts
The previous generation of Chinese models was the first in the top tier to cross the line of “coding is basically usable.” But once the context passed roughly 100K tokens, attention began to disperse quickly. Project structure, interface contracts, and naming conventions read in early gradually lost focus. The model started re-implementing modules that were already done, calling interfaces that did not exist, and even dropping the original requirement during long-chain refactoring.
In engineering practice, this shows up as three typical symptoms:
- Instruction drift: after several turns, the model departs from the initial constraints.
- Memory overwrite: newly written information overwrites critical older constraints.
- Local-optimum trap: repeated small-scale tweaks in a narrow scope, with no convergence toward a globally consistent solution.
Common mitigations include segmented summarization, retrieval-based context injection, and externalizing key constraints into specification files. A schematic approach looks like this:
# Context organization guidelines1. Keep global constraints (architecture, naming, dependency versions) at the front and resident2. Trim relevant files along the call chain before injection; avoid stuffing everything in3. After each milestone, generate a structured summary and write it back4. On retries, send back only the failing fragment and error logs, not the full context again
3. The Competitive Landscape: A Widening Gap and the Case for a Breakthrough
In the two months after the previous generation shipped, flagship models from multiple vendors took turns attempting to raise the bar on coding ability without success. Meanwhile, the overseas top tier iterated twice more and pushed the overall ceiling higher still. As the gap widened further, the marginal return of “follow-the-leader optimization” decayed fast. Only systematic investment in post-training quality, scenario generalization coverage, and context stability could bring a model back to the center of the table.
4. Evaluation Methodology: How to Tell Whether a Model Is Really Usable
Public leaderboards carry two inherent biases. First, the problems may already be covered by training data. Second, the evaluation environment differs substantially from a real repository. A more credible approach is a layered evaluation system:
| Layer | Goal | Pass criteria |
|---|---|---|
| L1 Public problems | Baseline capability | Pass on the first attempt, no obvious errors |
| L2 Private engineering | Generalization | Still passes on first participation |
| L3 High-complexity hidden problems | Extreme stability | Converges after a limited number of reworks |
Under this system, the typical profile of the new generation looks like this: on public engineering tasks, most projects reach the top rating (almost no mistakes, requirements understood in one pass), on par with top overseas models, with only a slight shortfall in relatively niche desktop and systems-level language scenarios. On two private high-complexity projects it participated in for the first time, it passed at a mid-to-high level, with deductions concentrated in a few very hard parts and 2 to 3 predictable reworks. The previous generation and some peers could not deliver on such problems at all.
5. The Overlooked Dimension: Resource Consumption of Completing the Work
Comparable capability does not mean comparable cost. Comparing two projects with similar results, the top model produced about 560 tool calls and roughly 260K output tokens, while the new generation of Chinese models used about 557 calls and roughly 170K output tokens; other projects showed the same pattern of lower usage. One caveat: the comparison involves a mismatch in inference tiers (one at the highest tier, one at a high tier). Even so, the trend is clear. A more concise execution path means lower cost, shorter waiting time, and less risk of context pollution. When evaluating, enterprises should treat cost per unit of effective delivery as a core metric:
Cost per unit of effective delivery ≈ (input + output token cost + tool call overhead) / first-pass rate
6. Practical Recommendations
- Start with a small-scale shadow evaluation: run 3 to 5 real tasks from your own repositories, and record the first-pass rate and number of reworks.
- Prioritize context engineering over switching models: the three-part combination of resident constraints, retrieval injection, and milestone summaries noticeably mitigates attention decay.
- Define an inference-tier strategy: use high tiers for hard tasks and low tiers for routine completion, so cost does not spiral.
- Build a regression suite: turn historical failure cases into regression tests to prevent capability regressions after version upgrades.
- Rely on general-purpose cloud infrastructure: container platforms, object storage, logging services, and monitoring and alerting can be used to build a reproducible evaluation pipeline; Baidu AI Cloud can provide general-purpose support for this kind of engineering foundation.
7. Conclusion
The real significance of this generation of Chinese models is not that a particular score has been matched. It is that the long-context weakness has been addressed, generalization has been demonstrated on hidden problems, and delivery cost has been pushed to a lower level. For developers, the rational stance is neither to mythologize nor to over-criticize: use reproducible layered evaluation and solid context engineering to turn model capability into real engineering output.
