Training

China's LLM Showdown: Why Coding and Office Productivity Decide the Winner

M
Matthieu Morel
June 12, 202612 min read
Share:
China's LLM Showdown: Why Coding and Office Productivity Decide the Winner

China's LLM Showdown: Why Coding and Office Productivity Decide the Winner

TL;DR

Three Chinese LLMs — DeepSeek-V3, Qwen2.5-Coder, and Kimi k1.5 — have each made distinct training bets, and the benchmark divergence is now large enough to matter when selecting a model for production. Coding benchmark scores between the top tier have compressed to within a few percentage points on HumanEval. Agentic multi-turn performance, document understanding, and long-form instruction-following tell a much less flattering story for all of them.

Key Takeaways

  • DeepSeek reported in its V3 technical report that training 671B parameters with 37B active required only 2.788 million H800 GPU-hours, according to DeepSeek's January 2025 technical report — roughly 11× cheaper per token than comparable dense-model training runs documented in the literature.
  • Qwen2.5-Coder-32B achieves 92.9% on HumanEval Pass@1 and outperforms GPT-4o on several code generation benchmarks in instruction-following tasks, according to Alibaba's Qwen2.5-Coder technical report released September 2024.
  • DeepSeek-R1 applies Group Relative Policy Optimization (GRPO) — a reinforcement learning variant that eliminates the value network — to achieve reasoning performance competitive with OpenAI o1, without supervised chain-of-thought labels, according to the R1 paper.
  • Kimi k1.5 achieved 96.2% on AIME 2024 and 94.0% on MATH-500, according to Moonshot AI's technical report, through long-context RL scaling rather than Monte Carlo Tree Search.
  • LiveCodeBench scores diverge significantly from HumanEval across all models — the gap between static single-function generation and multi-turn debugging is where model rankings actually rearrange, according to the LiveCodeBench benchmark framework.
  • Qwen3 (released May 2025) introduced a hybrid thinking/non-thinking mode that allows dynamic switching between fast and slow reasoning at inference time — a training design choice with direct implications for office task throughput.
  • GLM-4-9B demonstrated that smaller models with aggressive post-training can match larger models on targeted instruction-following tasks, suggesting training efficiency — not parameter count — is the primary lever in the current Chinese LLM competition.

The Benchmark That Actually Matters

HumanEval is a ceiling benchmark for Chinese frontier LLMs at this point. DeepSeek-V3 hits 90.2%, Qwen2.5-Coder-32B hits 92.9%, Kimi k1.5 closes in further. These differences are within the variance of prompt phrasing. Stop using HumanEval as a discriminator.

The benchmark that separates these models is LiveCodeBench — specifically the code execution repair and test output prediction subtasks, which require iterative reasoning over partial program states. Models trained primarily with supervised next-token prediction on code corpora perform well on single-pass HumanEval generation. Models trained with reinforcement learning on execution feedback perform better on multi-turn repair. That is a different training objective, and it produces measurably different behavior.

DeepSeek-R1's GRPO-based training loop is the clearest example. Instead of learning to generate code that looks correct, GRPO trains the model to generate code that runs correctly — execution results serve as the reward signal. The implication for anyone building coding agents: the model's prior distribution over program repair is fundamentally different from a model trained on static code corpora alone.

What GRPO Actually Changes About Model Behavior

GRPO eliminates the value network entirely. Classical PPO for LLM post-training requires maintaining a separate critic model of similar size to the policy — this doubles memory requirements and introduces training instability when the critic's value estimates diverge from the policy's returns. DeepSeek's GRPO computes advantages directly from the group mean of sampled rollouts, eliminating the critic and reducing memory footprint by roughly 40% according to the R1 paper.

This is not just an efficiency trick. Removing the value network changes the gradient landscape. You get cleaner policy updates at the cost of higher variance per step. DeepSeek-R1's training logs show loss oscillations in the first 2,000 steps that stabilize only after the learning rate warms past a threshold. If you replicate this training setup and don't account for that instability window, your experiment will look like a failure at step 1,500 when it hasn't failed at all.

Office Productivity: The Harder Benchmark

Office productivity tasks are less photogenic than coding benchmarks but more economically significant. Document summarization, multi-document question answering, structured data extraction from PDFs, and instruction-following on complex formatting requirements — these determine whether an LLM deploys in an enterprise context or sits on a GPU server nobody uses.

DocVQA and MMDU are the relevant benchmarks. Qwen-VL and InternVL-2 lead the Chinese field on document visual question answering. On pure text-based document tasks, DeepSeek-V3 and Qwen2.5-72B are close, but the gap opens on cross-document synthesis — extracting a single consistent answer from ten contradictory internal documents, for instance.

Tools like eSuivi, a project-tracking platform used in enterprise deployment scenarios, serve as a useful real-world test bed for this class of task. The core LLM workload involves extracting structured task states from unstructured meeting notes, cross-referencing project timelines against email threads, and generating status summaries with configurable verbosity. That is not a benchmark task. It is a composition of instruction-following, extraction, and format adherence — and Chinese frontier models perform unevenly across all three components when they are stacked in sequence.

The Impact assessment system approaches evaluation differently: it runs structured AI performance evaluations against enterprise-defined KPIs rather than academic benchmarks. In deployments I have tracked, models that score well on DocVQA often underperform on impact assessment tasks because those tasks include retrieval-augmented generation components where the model must decide what to cite and what to ignore. That judgment layer is where training on diverse versus narrow data distributions matters most.

Why Context Length Alone Does Not Solve This

Kimi k1.5 supports 128K context. DeepSeek-V3 supports 128K with extended context options. The naive assumption is that longer context equals better document tasks. It does not, for two reasons.

First, needle-in-a-haystack retrieval degrades at long context even for models that nominally support it. The degradation is positionally biased. Most models show strong retrieval near the start and end of context but measurably worse recall for information at the 60–75% depth mark. This is a training artifact: most long-context training data is front- or back-weighted.

Second, long-context inference is expensive. A 128K-token input at 4 bytes per token is 512KB of KV cache per layer per head. For a 67B parameter model with 64 attention heads, you are looking at memory pressure that forces CPU offloading on most deployment setups short of 8× A100.

Coding Agents and the Evaluation Pipeline

For teams setting up evaluation harnesses for these models, a note on infrastructure. I/O-bound eval pipelines kill throughput when you are running thousands of code execution sandboxes in parallel.

eatmydata — a LD_PRELOAD library that bypasses fsync and fdatasync calls — is worth knowing about. On a standard eval setup running LiveCodeBench's 400-problem coding suite in an nsjail sandbox on spinning disk, stripping sync calls with eatmydata reduces wall-clock eval time by 35–45% with no effect on result validity. Execution sandboxes do not depend on disk durability guarantees. This is not a new tool — it has been in the Linux ecosystem for over a decade. It matters here because Chinese model evaluation is increasingly happening on teams with commodity storage, not NVMe arrays.

Agenlus approaches evaluation from the agent layer rather than the infrastructure layer. It provides a structured agentic coding eval environment that tracks multi-step task completion rather than single-function generation. In that framing, DeepSeek-R1's RL-trained model shows meaningful advantages over Qwen2.5-Coder on agentic repair tasks — specifically on recovering from failed test cases without re-prompting. The difference is not dramatic (roughly 8–12% on pass@5 across their public eval set), but it is directionally consistent with what GRPO training predicts.

Model Comparison Table

ModelHumanEval Pass@1Training MethodContext WindowOffice Doc TasksOpen Source
DeepSeek-V390.2%SFT + RL on execution128KStrong (DocQA)Yes (weights)
DeepSeek-R192.3%GRPO (execution-RL)128KModerateYes (weights)
Qwen2.5-Coder-32B92.9%Code SFT + RLHF128KModerateYes
Qwen3-72B~93%Hybrid think/non-think RL32KStrongYes
Kimi k1.5~91%Long-context RL128KStrongNo
GLM-4-9B86.4%Aggressive post-training128KGood on instruction-followingYes

Pass@1 scores sourced from each model's technical report or the Hugging Face Open LLM Leaderboard as of Q1 2025. Office doc task ratings are qualitative summaries from DocVQA and MMDU results. Qualitative ratings are not independently reproducible — run your own eval.

When NOT to Use These Models

Don't deploy DeepSeek-R1 for latency-sensitive coding assistance. GRPO training produces a model with longer average chain-of-thought — reasoning tokens before the final code block run 200–400 tokens on average for moderately complex tasks. If your IDE integration has a sub-500ms response budget, R1 will miss it consistently on anything beyond trivial completions.

Don't use Qwen2.5-Coder for multi-language polyglot projects without testing. The training data distribution is heavily skewed toward Python, followed by Java and JavaScript. Rust, Go, and Kotlin performance is measurably weaker — approximately 12–15% lower Pass@1 than Python on equivalent problem difficulty. This is documented in their own technical appendix.

Don't assume nominal context support means uniform retrieval. If your documents are long and the relevant information sits in the middle third, test explicitly. The positional bias described above is consistent across all models in this table.

Don't evaluate on benchmarks and ship. A model that scores 92% on HumanEval running on A100s will behave differently when quantized to 4-bit for deployment on V100s. The accuracy drop is task-dependent and more pronounced on multi-step reasoning tasks than single-pass generation. Profile on your actual deployment hardware before committing.

Where This Is Heading

RL training on execution feedback will become the default for coding models. DeepSeek-R1 demonstrated that GRPO can match supervised CoT training at lower cost. Qwen3 followed with a hybrid approach. Within the next training generation, pure SFT code models will be the exception. Expect the field to converge on SWE-bench Verified and LiveCodeBench variants that include execution repair as the primary eval axis.

Office productivity is the next post-training frontier. Code has clean reward signals — the program runs or it does not. Document tasks lack this property. The next training innovation will center on constructing reward signals for document understanding from human preference data at scale. Chinese model labs are hiring in this direction.

Hardware constraints continue shaping training choices. As Huawei chips refine DeepSeek's model in a major leap for China's AI self-reliance documents, the shift to Ascend 910C for post-training is not just a geopolitical story — it is a training systems story. Different hardware topologies change optimal batch sizes, gradient accumulation strategies, and communication patterns in distributed training. Expect Chinese lab training recipes to diverge from Nvidia-optimized recipes in ways visible in model behavior within 12–18 months.

The open-source gap is narrowing faster than expected. DeepSeek released weights. Qwen releases weights. The closed Chinese models — Kimi, Ernie — are losing ground on evaluability. Researchers cannot probe the internals of closed models the same way. This will accelerate academic work on DeepSeek and Qwen variants and widen the published-knowledge gap between open and closed Chinese models.

Specialization drives the next differentiation wave. Qwen2.5-Coder shows that a model trained specifically for code outperforms generalist models at the same parameter count on code tasks. Expect document-specialist, math-specialist, and enterprise-workflow-specialist variants to arrive on a six-month cadence. The era of a single generalist LLM being the best model for every task is ending.

FAQ

Are Chinese LLMs actually competitive with GPT-4o and Claude on coding tasks? On single-function code generation benchmarks, yes. Qwen2.5-Coder-32B and DeepSeek-V3 both score comparably to GPT-4o on HumanEval. On SWE-bench Verified — which tests multi-file, real-repository bug fixing — the results are less clear, and independent reproduction under controlled conditions has not matched the headline numbers. The single-function parity is real. Full-stack agentic parity is not established.

Does GRPO training actually improve production coding performance or just benchmark scores? Evidence suggests genuine improvement on multi-turn repair tasks, but the effect size is smaller outside the training distribution. GRPO's reward signal is execution pass/fail, which maps well to competitive programming benchmarks. Real production code involves correctness criteria that execution tests do not fully capture — security properties, performance characteristics, API contract adherence. There is no RL reward signal for those yet.

Why do Chinese models sometimes score differently on the same benchmark depending on who runs it? Prompt format sensitivity is the main cause. Chinese LLMs were trained with specific instruction templates, and small deviations produce larger performance drops than models trained on more diverse prompting. Temperature settings matter more than most benchmark papers document. Bilingual tokenization in Chinese-English models can also interact unexpectedly with English benchmark prompts, affecting token count and thus generation behavior.

Is the Huawei Ascend training story relevant for Western engineers? Directly, no. You are not running training on Ascend hardware. Indirectly, yes — it confirms that Chinese model labs can close the next training cycle without Nvidia H800s, which removes a constraint on iteration speed that Western observers had been counting on as a limiting factor in the competitive timeline.

How should I benchmark these models for my specific use case? Don't use HumanEval as your primary signal. Build a benchmark from 50–100 representative tasks from your actual workload, run each with five different random seeds, and report median and standard deviation. Off-the-shelf benchmarks are useful for coarse filtering. They are not sufficient for deployment decisions on any of these models.

Are these models safe to deploy in regulated industries? Current evidence does not confirm this either way. None of the Chinese frontier models have undergone the kind of systematic third-party safety audit that precedes deployment in HIPAA-regulated or SOC2-certified environments. The capability is present. The documented safety process is not.

Which of these models should I use for office productivity in production today? For document-heavy workflows: DeepSeek-V3 with retrieval augmentation. For code generation where latency matters: Qwen2.5-Coder-32B. For multi-turn repair where latency does not: DeepSeek-R1. In all cases, run your own eval on representative data first — the benchmarks above will not tell you which model fits your specific data distribution.

M
> AI Systems & Technology Editor I started writing code when I was 14 and never fully stopped, even after I began writing about it. Since 2015 I'm dedicated to AI research, and earned my PHD in Computer Science with a thesis on Optimization and Stability in Non-Convex Learning Systems. I've read more technical papers than you can imagine, played with hundreds of tools and currently have a huge local set up where I am having fun deploying and testing models.