Sparse Mixture-of-Experts LLMs Explained: Approaching Frontier Performance at Lower Cost
As LLM competition shifts from raw parameter counts to cost-efficient intelligence, sparse mixture-of-experts (MoE) architectures are gaining attention. This article examines a recently released open-source Chinese LLM with roughly 320 billion total parameters but only about 18 billion activated per inference, supporting multimodal input and a context window of around 1 million tokens. We break down what total versus activated parameters actually mean, how hybrid attention balances long-context efficiency with precise recall, why coding and agent benchmarks reveal model differences, how configurable reasoning intensity trades latency for quality, and what engineering concerns enterprises should address when deploying open-source models in production.
As competition among large language models shifts from “who has the most parameters” toward “who delivers the most effective intelligence per unit of cost,” a new technical direction is drawing attention: sparse mixture-of-experts (MoE) architectures that reduce the actual computation per inference, combined with linear attention, sparse attention, and dynamic reasoning strategies to keep deployment costs under control while preserving the capabilities complex tasks demand.
Recently, a Chinese LLM that had been anonymously tested in public drew significant attention. It delivered strong results in coding, terminal operations, tool calling, and long-horizon agent tasks before being officially released. According to disclosed information, the model has roughly 320 billion total parameters, but only about 18 billion are activated per inference. It supports multimodal input including text, images, and video, offers a context window of around 1 million tokens, and ships under a relatively permissive open-source license.
One point deserves emphasis: “total parameters” does not mean every request computes the full parameter set. Understanding this distinction is key to analyzing both performance and cost.
1. What 320B Total Parameters and 18B Activated Parameters Actually Mean
Traditional dense models process each token through nearly the entire parameter network. Larger models may offer greater theoretical expressive power, but the computation, memory capacity, and communication overhead of inference all grow in proportion.
Sparse mixture-of-experts models instead split the model into multiple expert subnetworks. When input arrives, a routing module selects a small number of experts to participate in the computation based on token features, leaving the rest inactive. This produces:
- A large total parameter count, which expands knowledge capacity and task coverage;
- A small per-token activated parameter count, which reduces actual computation;
- Specialization among experts across coding, math, language understanding, or tool calling;
- A routing mechanism that sends different types of input to the most suitable experts.
So 320 billion total parameters is closer to “model capacity,” while 18 billion activated parameters is closer to “the compute budget per inference.” Together they determine both the model’s capability ceiling and its deployment efficiency.
That said, sparsity does not automatically make the system simple. Expert routing must maintain load balancing; otherwise some experts may be called disproportionately, creating local congestion. Multi-device deployments must also handle data transfer between experts. Whether the theoretical cost advantage materializes depends on routing strategy, parallelism scheme, communication topology, and inference engine optimization.
2. Hybrid Attention: Balancing Long Context and Precise Recall
One of the main bottlenecks for long-context models is attention computation and the key-value (KV) cache.
Standard full attention directly models relationships between any two positions, but its computational cost grows rapidly with sequence length. When context extends to hundreds of thousands or even a million tokens, memory and compute pressure rise sharply. Especially in multi-turn conversations, repository-wide code analysis, and long-document retrieval, the KV cache can become the dominant memory burden in the inference system.
This model uses a hybrid attention design that combines two mechanisms in a roughly 3:1 ratio:
Linear attention modules
Linear attention compresses historical information, avoiding full pairwise computation across all tokens. It is better suited to long-range, highly continuous context such as meeting transcripts, long documents, and large code files.Precise attention modules
Precise attention preserves the ability to perform high-resolution matching on local details and key positions. It is better suited to content requiring exact recall: variable names, function parameters, error messages, table fields, and cross-section references.Alternating layer arrangement
The model does not rely entirely on either mechanism; instead, the two module types are stacked alternately. Linear modules reduce overall computational pressure, while precise modules correct for information loss—yielding a structure that combines efficient compression with critical recall.
Public materials indicate that, compared with a larger previous-generation design, this approach significantly reduces attention computation and compresses the KV cache. However, these figures come from specific test conditions; actual gains also depend on batch size, sequence length, quantization, hardware bandwidth, and concurrency strategy. The same reductions should not be assumed for every workload.
3. Why Coding and Agent Tasks Better Reveal Model Differences
Ordinary Q&A mostly tests language expression and knowledge organization. Agentic tasks additionally require the model to complete a sequence of consecutive actions:
- Reading the project directory;
- Understanding existing code;
- Locating the root cause of a bug;
- Modifying multiple files;
- Running test commands;
- Continuing to fix issues based on error logs;
- Processing tool outputs;
- Providing a summary of changes upon completion.
These tasks raise the bar considerably. The model must not only “know how to write,” but also plan steps, maintain state, invoke tools, and adapt dynamically based on feedback.
In public benchmarks, this model performed strongly in terminal operations, software engineering fixes, workflow automation, and tool coordination, with some scores approaching leading international closed-source models. Notably, its gains on complex tasks do not come entirely from language ability; contributing factors likely include:
- Stronger training data for code and engineering;
- Better-formatted tool-calling constraints;
- Longer effective context;
- More robust error recovery;
- Dedicated optimization for multi-step tasks;
- Deeper reasoning enabled by default.
Benchmark scores, however, only describe performance on a specific task set under specific evaluation rules. When selecting a model, enterprises should also measure the success rate of modifications on their real codebases, test pass rates, hallucination rates, average response latency, recovery behavior after failures, and compliance with permission boundaries.
4. Configurable Reasoning Intensity: Dynamically Balancing Performance and Latency
The model supports low, medium, and high reasoning intensities. Reasoning intensity is essentially a dial between “thinking time” and “output speed.”
Low intensity is suitable for:
- Simple Q&A;
- Format conversion;
- Short-text summarization;
- Well-defined code completion;
- Low-risk classification tasks.
High intensity is better suited for:
- Multi-file code modifications;
- Complex troubleshooting;
- Long-running automation tasks;
- Agent workflows requiring multiple tool calls;
- Development tasks involving both images and text.
In production, routing every request to the highest intensity is not advisable. A more sensible approach is a task-tiering mechanism: first classify tasks with a cheaper mode, then automatically increase the reasoning budget when a task involves multi-step dependencies, long context, complex constraints, or tool calls.
For example:
if the task is short and requires no tools:use low reasoning intensityelse if the task involves code modification or external operations:use medium reasoning intensityelse if the task involves multi-round verification, long context, or high-risk decisions:use high reasoning intensity
This dynamic routing reduces unnecessary computation while preventing complex tasks from repeatedly failing due to insufficient reasoning.
5. The Practical Value of Multimodality and Ultra-Long Context
Native multimodal capability is not just “being able to see images.” In development scenarios, it can be used to:
- Read UI screenshots and analyze layout issues;
- Recognize flowcharts, architecture diagrams, and data tables;
- Trace configuration errors from error-message screenshots;
- Compare design mockups against actual pages;
- Analyze front-end issues by combining code with runtime results.
Ultra-long context is well suited to large code repositories, product requirement documents, API specifications, test records, and change history. In the past, developers often had to manually filter materials before handing them to the model; a larger context window reduces this manual slicing work.
But a larger context window does not mean the model uses all the information in it with equal accuracy. In practice, you still need to monitor “effective context utilization.” If the input contains lots of redundant content, irrelevant logs, or low-quality documents, the model may be degraded by noise. Long-context systems should therefore be paired with:
- Document layering;
- Structured indexing;
- Summarization of key content;
- Permission filtering;
- Relevance ranking;
- Result citation and source tracking.
6. Engineering Concerns When Deploying Open-Source Models
For enterprise users, model capability is only the first step; the real difficulty lies in deployment and governance.
First, hardware resources. Sparse activation lowers per-request computation, but total parameters still affect weight storage, model loading, and distributed deployment. Second, communication overhead: when experts are spread across devices, routing and data exchange can become a bottleneck. Third, inference stability: long context and high reasoning intensity amplify latency variance, requiring optimization through batching, caching, quantization, and request scheduling.
In production, you should also establish a complete evaluation framework:
- Capability metrics: code generation correctness, task completion rate, tool-calling success rate;
- Efficiency metrics: time to first token, generation speed, memory footprint, cost per request;
- Reliability metrics: timeout rate, error rate, repeated-call rate;
- Security metrics: sensitive data leakage, unauthorized operations, execution of dangerous commands;
- Business metrics: manual review time, defect-fix cycle time, and developer productivity gains.
Especially in agentic scenarios, operations such as file modification, command execution, and database access must have permission boundaries and human confirmation mechanisms. A model can propose actions, but it should never hold unlimited system privileges without isolation and auditing.
7. How to Interpret “Approaching Frontier Models” Objectively
When a model approaches frontier-level performance on several coding and agent benchmarks, it usually means strong competitiveness within a specific task distribution—not full equivalence across all capabilities.
Model comparisons should cover at least four dimensions:
- Task capability: can it accomplish the goal;
- Stability: are results consistent across repeated runs;
- Cost efficiency: how much compute is needed for the same task;
- Engineering fit: is it easy to deploy, monitor, and govern.
The most accurate reading of “approaching” is therefore: on certain high-value tasks, the model has reached a practically usable level while lowering the barrier to adoption through sparse architecture and reasoning strategy. For enterprises, this balance between cost and capability is often more valuable than chasing the top score.
Overall, the significance of this new-generation model lies not in its parameter count, but in combining sparse experts, hybrid attention, multimodal input, ultra-long context, and adjustable reasoning intensity within a single system. The focus of future LLM development will likely shift from “bigger” to “more efficient, more reliable, and easier to deploy.” For development teams, what truly matters is not any single headline benchmark, but whether the model can consistently complete tasks under real codebases, real toolchains, and real business constraints—and deliver results reliably at a controllable cost.
