Rising Chinese Open-Source LLMs: How Mixture-of-Experts Delivers High Performance at Low Cost
This article explains how Mixture-of-Experts (MoE) architecture helps recent Chinese open-source large language models balance capability and cost. It covers sparse activation, training and inference economics, the main engineering challenges, performance in coding, math, and multilingual tasks, and practical guidance for choosing and deploying models.
1. Background: Rapid Iteration of Chinese Large Models
In recent years, China’s large language model field has moved quickly. Several startups, including those in cities such as Hangzhou, have released open-source models that compete with international offerings. These projects often follow a similar path: they start with code models to win over developers, then expand into general conversation, mathematical reasoning, and other areas. The result is a full lineup, from specialized models to flagship general-purpose models.
Take one Chinese open-source flagship model as an example. It uses a Mixture-of-Experts architecture with a total parameter count in the hundreds of billions, but each token activates only tens of billions of parameters. This “large parameter count, sparse activation” design is central to how the model balances cost and performance.
2. Core Technology: How MoE Reduces Cost and Improves Efficiency
2.1 The Compute Problem with Dense Models
A traditional dense model activates all of its parameters for every input token. For example, a 70-billion-parameter dense model runs a full forward pass over all 70 billion parameters for each token it generates. This creates several problems:
- Training cost grows linearly, or even faster than linearly, with parameter count.
- Inference requires a lot of memory, which limits how many concurrent requests a single GPU can serve.
- Capability gains come mainly from adding parameters, and the returns diminish over time.
2.2 How Sparse Activation Works in MoE
The core idea of MoE is “divide and conquer.” It replaces the Feed-Forward layers of the model with multiple parallel expert subnetworks and adds a router that selects the most suitable few experts for each token. The structure looks like this:
Input token│▼┌─────────┐│ Router │ → Computes a score for each expert (Top-K selection, K is typically 6 to 8)└─────────┘│├─→ Expert 1 ─┐├─→ Expert 4 ─┤ Only the selected experts take part in the computation├─→ Expert 7 ─┤└─→ Shared expert ─┘ (Some implementations include a shared expert that handles general knowledge)│▼Weighted merge → Output
Consider a model with 671 billion total parameters that activates 37 billion parameters per token. Its capacity is very large and can store a wider range of knowledge. Yet each inference step requires roughly the same compute as a dense model with 37 billion parameters. This brings two direct benefits:
- Higher training efficiency. For the same knowledge capacity, total training compute can be reduced to one-tenth or less of what a dense model with comparable capability requires. Public reports indicate that the training cost was kept in the range of several million US dollars, far below comparable mainstream international models.
- Controllable inference cost. Because each token requires less computation, the serving cost per token drops significantly. This lets open-source models offer API pricing that is very low. The industry has informally called this model a “cost-performance benchmark.”
2.3 Engineering Challenges of MoE
MoE is not free. Engineers need to address several issues:
- Load balancing: The router tends to favor a small number of experts. Auxiliary losses or routing strategies are needed to keep the load distributed across experts.
- Memory and communication: All expert parameters must stay resident in memory, so memory usage is roughly equal to the total parameter count. Multi-GPU deployment also adds All-to-All communication overhead. Teams typically address this with Expert Parallelism and operator-level optimizations.
- Training stability: Discrete routing decisions are not differentiable, which can cause unstable training. Careful initialization and learning rate schedules help.
Getting these engineering details right reflects the ability of Chinese model teams to make efficient use of limited compute.
3. Capabilities: Coding, Math, and Multilingual Performance
3.1 Overall Benchmark Results
On widely used comprehensive benchmarks, newer Chinese open-source models have reached the same tier as leading closed-source international models and rank among the top open-source models. Several areas stand out:
- Mathematical reasoning: High-quality chain-of-thought training data and reinforcement learning help these models perform well on multi-step derivations and competition-level problems.
- Coding: The models support mainstream programming languages. They can generate functions, scaffold templates, find defects, and refactor code.
- Multilingual ability: Chinese and English performance is balanced. Deep coverage of Chinese-language data is a natural advantage over many overseas models.
3.2 Hands-On Coding Tests
Code generation is the most direct test for developers. A few representative tasks are worth checking:
# Example: implement an HTTP request wrapper with timeout and retrydef request_with_retry(url, max_retries=3, timeout=5):import time, requestsfor i in range(max_retries):try:return requests.get(url, timeout=timeout).json()except requests.RequestException as e:if i == max_retries - 1:raisetime.sleep(2 ** i) # Exponential backoff
For tasks like this, newer models usually produce a clearly structured implementation with exception handling in one pass. They can also point out potential performance problems in given code, such as N+1 queries or repeated computation, along with logic defects. This full cycle of generating, diagnosing, and optimizing code makes these models a core engine for AI-assisted programming tools.
4. Industry Impact and Practical Considerations
4.1 Growing Adoption
Low-cost, high-performance models lower the barrier to AI adoption considerably. Typical use cases include:
- Customer service and support: Retrieval-Augmented Generation (RAG) combined with an enterprise knowledge base can handle many repetitive questions.
- Content and copywriting: Large-scale production of marketing copy, summaries, and multilingual translations.
- Engineering productivity: Code completion, unit test generation, and technical documentation.
- Data analysis: Natural language to SQL conversion and report interpretation.
4.2 A Measured View: Both Replacement and Collaboration
It is also important to be realistic. Models are strong at pattern-based generation, but they still have limits in deep judgment for complex business scenarios and in deterministic coordination across systems. Industry practice shows that AI mostly plays a collaborative role. Repetitive, rule-based tasks get automated, while practitioners move toward higher-value work such as model application development, prompt engineering, and data governance. This is a structural change driven by technology upgrades, not a simple disappearance of jobs.
5. Guidance for Model Selection and Practice
For enterprises and developers, a few general recommendations apply:
- Consider architecture and cost. MoE models have low inference costs, which suits high-concurrency online services. Dense models are simpler to deploy and fit scenarios with lower throughput requirements.
- Check the open-source license and deployment options. Prefer models with open weights and clear licenses. Inference frameworks let you deploy them privately in your own environment to meet data compliance requirements.
- Evaluate the ecosystem and tooling. Supporting features such as function calling, structured output, and long-context handling matter, as do managed cloud hosting and API services offered by major cloud platforms. These can significantly reduce deployment costs.
- Base decisions on your own benchmarks. General leaderboards are only a reference. Build an evaluation set from your own business data and compare candidate models on accuracy, latency, and cost.
Conclusion
Chinese large language models show that architectural innovation with sparse activation can approach world-class performance under compute constraints. Careful engineering and high-quality data make this possible. For developers, understanding the fundamentals of MoE and learning general methods for model selection and deployment matter more than chasing any single product. The benefits of this technology are available to anyone willing to study it in depth.
