Source: CnTechPost

For End Users

Baidu released ERNIE 5.1 on May 9, 2026. The headline number is staggering: it cost roughly 6% of what competitors spend to pre-train models of similar scale. That is not a typo. Baidu achieved this by reusing the pre-training investment from ERNIE 5.0 (released January 2026) rather than starting from scratch.

What does this mean for you? Cheaper models mean cheaper inference. ERNIE 5.1 is available on Baidu's Qianfan platform at $0.59 per million input tokens and $2.65 per million output tokens. That puts it in the same price band as discount frontier models, but with benchmark numbers that punch well above its weight class.

The model ranked 4th globally on LMArena's Search Arena with a score of 1223. It is the only Chinese model in the global top 10 for search. On math (AIME26 with tool use), it scored 99.6, second only to Gemini 3.1 Pro. Its agent capabilities surpass DeepSeek-V4-Pro, and its creative writing approaches Gemini 3.1 Pro levels.

If you use Chinese-language AI tools, ERNIE 5.1 is now the top domestic option for search, creative writing, and agent tasks. If you build applications for the Chinese market, the cost-to-performance ratio is hard to ignore.

More technical details will be revealed at Baidu's AI Developer Conference on May 13, where founder Robin Li is expected to share future commercialization plans.

For Engineers and Researchers

ERNIE 5.1 is not a from-scratch model. It is an optimal sub-network extracted from the multi-dimensional elastic sub-model matrix trained during ERNIE 5.0's development. The key innovation is the "Once-For-All" elastic training framework.

How it works:

  • Elastic depth: During training, the number of active Transformer layers varies randomly. Sub-models at different depths share weights, learning a balance between deep and shallow representations.
  • Elastic width / expert capacity: In MoE layers, the number of participating experts varies dynamically. The model learns to operate under both full and reduced expert-pool configurations.
  • Elastic sparsity: A variable Top-k routing mechanism adjusts the number of activated experts. Fewer experts reduce inference cost. More experts increase capability. The tradeoff is dynamic, not fixed.

The result: ERNIE 5.1 compresses total parameters to roughly one-third of ERNIE 5.0 (from 2.4T to approximately 800B) and active parameters to about one-half. Pre-training compute cost dropped to 6% of comparable models at the same scale.

Reinforcement learning architecture:

Baidu built a decoupled, fully-asynchronous RL infrastructure on PaddlePaddle. Four subsystems (training, inference, reward, agent loop) are independently deployable and scalable. The control plane is fully separated from the data plane through an RL Controller.

Key RL optimizations:

  • FP8 training-inference consistency via a unified low-precision operator library
  • Rollout Router Replay (R3) with two-stage computation-communication overlap, reducing KL divergence by 50%
  • Heterogeneous elastic resource scheduling for optimal compute configuration per subsystem

Benchmark results:

  • LMArena Search: 1223 (4th globally, 1st among Chinese models)
  • Agent tasks (τ³-bench, SpreadsheetBench-Verified): surpasses DeepSeek-V4-Pro
  • GPQA and MMLU-Pro: approaches top closed-source models
  • AIME26 (with tool use): 99.6, second only to Gemini 3.1 Pro
  • Creative writing: approaches Gemini 3.1 Pro

Pricing: $0.59/M input, $2.65/M output on Qianfan.

Availability: Qianfan platform and ernie.baidu.com. No open-source release announced yet.

The Skeptical Take

The 6% cost figure is headline-grabbing, but the comparison needs scrutiny. ERNIE 5.1 inherited its pre-training from ERNIE 5.0's existing sub-model matrix. The 6% number measures only the incremental cost of extracting and fine-tuning the optimal sub-network, not the full amortized cost of building ERNIE 5.0 in the first place. If you count the parent model's training budget, the true total cost is substantially higher. That said, the Once-For-All elastic training approach is genuinely novel. Training multiple sub-models simultaneously in a single run is a real efficiency gain, and the ability to extract performant sub-networks on demand is valuable. The question is whether this approach generalizes beyond Baidu's specific MoE architecture or remains a one-off result tied to ERNIE 5.0's particular design. The benchmark results are strong but mostly self-reported or from LMArena crowdsourced evaluations. Independent third-party benchmarks on English-language tasks would strengthen the claim. The model is also only available through Baidu's platform, which limits adoption outside China and raises questions about long-term pricing once the introductory rates end.


Word count: ~750

Written at: 2026-05-10T21:55:00Z