Trillion-Parameter Sparse LLMs: Architecture Evolution and Open-Source Practices
This article examines the technical evolution from dense to sparse trillion-parameter large language models, using a recently open-sourced 1.6-trillion-parameter MoE model as a case study. It covers the core architectural innovations—including cross-layer shortcut connections, zero-compute experts, sparse attention, and N-gram embeddings—along with full-stack training on domestic compute clusters, multi-precision deployment options (BF16, FP8, INT8), and practical takeaways for developers evaluating sparse models for long-context and agentic workloads.
1. Background: The Inevitable Shift from Dense to Trillion-Parameter Sparse Models
In recent years, the parameter count of large language models has kept climbing, but scaling dense architectures alone faces clear bottlenecks: training compute costs grow linearly or even superlinearly with parameter count, inference latency struggles to meet online service requirements, and memory pressure keeps deployment barriers high. Mixture-of-Experts (MoE) architectures offer a way out—total parameters can reach the trillion scale, while each token activates only a small fraction of them, striking a balance between capability ceiling and compute cost.
In 2026, a major internet company released and open-sourced a sparse model with 1.6 trillion total parameters, activating roughly 48 billion parameters per token on average, with a dynamic activation range between 33 and 56 billion. This design means the model can take a “lightweight path” for simple tasks while mobilizing more experts for complex reasoning—allocating compute on demand. Notably, the model completed a full pre-training, fine-tuning, and inference pipeline on a 50,000-card domestic compute cluster, validating the feasibility of non-traditional GPU technology routes for ultra-large-scale training.
2. Core Architecture: Three Sparse Computing Innovations
2.1 MoE Variant with Cross-Layer Shortcut Connections
In traditional MoE architectures, routing and expert computation at each layer operate independently, leading to redundant computation and communication overhead. This model introduces cross-layer shortcut connections, allowing expert outputs from adjacent layers to be reused through shared channels and reducing redundancy in cross-layer information transfer. From an engineering perspective, this brings two direct benefits: first, it reduces inter-expert communication volume, which is critical on tens-of-thousands-of-cards clusters where cross-node communication is often the training throughput bottleneck; second, it smooths gradient flow, improving training stability.
2.2 Zero-Compute Experts
Another noteworthy design is the “zero-compute expert.” During routing, some tokens are assigned to expert nodes that perform no matrix multiplication—these experts only handle information passing or gating functions. This effectively gives the routing system an “escape hatch”: when a token does not require deep computation, it can skip expensive expert forward passes, further compressing average activation cost. This also explains how the model maintains a relatively low average activation of around 48 billion parameters despite 1.6 trillion total parameters.
2.3 Sparse Attention and N-gram Embedding
Native support for a 1M-token context window is another highlight. Full attention computation is clearly infeasible at a million-token window while keeping compute and memory costs acceptable. The model adopts a sparse attention mechanism that prunes low-importance token interactions through structured attention patterns, reducing long-sequence attention complexity from quadratic to near-linear. Meanwhile, N-gram Embedding introduces local n-gram features into the input sequence, compensating for the fine-grained semantic loss that sparsification may cause, and providing clear benefits for tasks such as code understanding and long-document retrieval.
3. Training Engineering: A Full-Stack Pipeline on Domestic Compute
Training ultra-large-scale models is not just an algorithm problem—it is a systems engineering problem. Since 2023, the project has pursued a “model–chip co-design” approach with domestic compute vendors, meaning model design is optimized jointly with chip characteristics rather than building a cluster first and adapting the model afterward. The core value of this approach lies in:
- Operator-level co-optimization: customizing fused kernels for the compute unit characteristics of domestic chips to improve MFU (Model FLOPs Utilization);
- Communication topology optimization: adjusting the all-to-all communication strategy for expert parallelism based on the cluster network architecture, reducing cross-machine communication waits;
- Fault tolerance and elastic scheduling: hardware failures are inevitable on ten-thousand-card clusters over weeks-long training runs, requiring robust checkpoint-resume mechanisms and automatic removal of failed nodes.
Pre-training data exceeds 30T tokens, covering Chinese, English, multilingual, and code corpora; data mixture ratios and cleaning pipelines are equally critical to final model quality.
4. Open-Source Strategy and Multi-Precision Deployment
The official open-source release provides three precisions—BF16, FP8, and INT8—each targeting different deployment scenarios:
| Precision | Typical Scenario | Trade-offs |
|---|---|---|
| BF16 | Offline tasks with high accuracy requirements | Highest memory footprint |
| FP8 | High-throughput online inference | Requires hardware FP8 support |
| INT8 | Resource-constrained environments | Quantization accuracy loss must be validated |
Developers can choose the appropriate version based on their hardware. Taking the FP8 version as an example, it typically delivers nearly 2× memory savings and a noticeable throughput improvement on the same hardware, but the impact of quantization on downstream tasks should be confirmed through evaluation. A practical approach is to compare each precision variant on a business regression benchmark before deciding on the production deployment plan:
# Example: multi-precision model evaluation workflow (pseudocode)for precision in ["bf16", "fp8", "int8"]:model = load_model(precision)scores = evaluate(model, benchmark_suite)log(precision, scores)
5. Extension Toward Long-Horizon Agents
Building on version 2.0, subsequent iterations further strengthened native visual understanding and agentic coding capabilities. While maintaining trillion-scale total parameters and roughly 48 billion activated parameters, the model’s capabilities expanded from dialogue and code completion to multi-step, long-horizon agent tasks. This reflects an industry trend: the evaluation of foundation models is shifting from static benchmarks toward long-horizon planning, tool use, and error recovery in real-world tasks.
6. Takeaways for Developers
- Sparsity is the mainstream route in the trillion-parameter era—understanding MoE routing and activation mechanisms helps with inference optimization and cost estimation;
- Long-context capability requires native architectural support—mechanisms like sparse attention are more reliable than post-hoc extrapolation;
- Multi-precision open-source releases lower the barrier to experimentation—small and mid-sized teams can validate business value with lower-precision versions before committing compute resources;
- The trend toward compute self-sufficiency is clear—the validated full-stack pipeline on domestic compute provides a new reference point for technology selection.
Overall, this open-source practice demonstrates a complete technical loop for ultra-large-scale sparse models—from architectural innovation and compute adaptation to ecosystem openness—offering reusable engineering experience for the industry and giving developers more diverse options for model selection and deployment.
