Open-Source LLM MoE Architecture Explained: Total Parameters, Active Parameters, and Key Design Choices
This article breaks down the architecture of large open-source Mixture of Experts (MoE) models, using a sample model with 744B total parameters and 40B active parameters. It explains why sparse activation decouples knowledge capacity from inference cost, examines two key design choices—multi-token prediction and sparse attention—and outlines a practical framework for reading benchmark rankings and deploying such models on the cloud. Developers will gain a structured understanding of the numbers and mechanisms that matter more than leaderboard positions.
1. Introduction: Why Parameter Count Is No Longer the Whole Story
Over the past two years, the capability curve of open-source large models has risen noticeably. One trend stands out: across composite intelligence indices from several independent third-party evaluation organizations, the open-source camp has closed in on the top-tier closed-source systems overseas, and has even overtaken them in certain individual categories. Take a recent open-source model as an example: it scores 50 on a composite index, ranking first among open-source models, and also ranks first among open-source entries in arena-style blind tests for general conversation and code generation, putting it in the same tier as the best closed-source models overseas.
It is worth stressing that these leaderboards are only a rough external yardstick. What truly determines engineering feasibility are the architectural choices inside the model: how parameters are organized, how many are activated during inference, how attention is compressed, and how training data is mixed. This article takes a class of ultra-large sparse models—those with 744B total parameters and 40B active parameters—as a sample and offers a structured breakdown aimed at developers.
2. The Basics: Sparsification Is the Mainstream Answer for Ultra-Large Models
The model in question can be summarized as follows: it uses a Mixture of Experts (MoE) architecture, with roughly 744B total parameters, about 40B activated per inference pass, 256 experts, and 80 layers.
Compared with the previous generation, the changes concentrate in three places: total parameters increased from about 355B to 744B (a doubling), active parameters rose from about 32B to 40B (roughly 1.25x), and the pre-training corpus grew from about 23T tokens to 28.5T tokens (about 27T for pre-training and about 1.5T for mid-training).
These numbers reveal a key engineering fact: total parameters determine the upper bound of knowledge capacity, while active parameters determine the cost of a single inference pass. Once the two are decoupled, a model can scale up capacity without a linear increase in inference overhead. An active size of 40B roughly corresponds to the compute demand of a mid-sized dense model, which means a 744B “brain” can be deployed within a relatively controlled compute budget. This is precisely why sparse architectures have been widely adopted across the industry.
3. Two Key Designs Among the Three Major Architectural Changes
3.1 Multi-Token Prediction
Traditional autoregressive training predicts only the next token at each step, which yields a low density of supervision signals. Multi-token prediction lets the model predict tokens at several future positions in parallel from the same location, with three effects:
- Denser training signal: one forward pass yields multiple supervision targets, improving sample efficiency;
- More forward-looking representations: the model is forced to learn longer-range dependency structures rather than local co-occurrence;
- Faster inference: the extra prediction heads naturally support speculative decoding—a lightweight draft head guesses several consecutive tokens, which the backbone then verifies and accepts in a single pass.
Illustrative expression (pseudocode):
# Training stage: one forward pass outputs distributions for n future positionsh = backbone(tokens) # backbone representationlogits = [head_i(h) for i in range(n)] # n prediction headsloss = sum(ce(logits[i], targets[i]) for i in range(n))
3.2 Sparse Attention (DSA)
In long-context scenarios, the memory and compute of full attention grow quadratically with sequence length. Sparse attention pushes complexity back to roughly linear by “selectively interacting with only a subset of past positions.” In engineering practice, it is usually combined with chunking, local windows, and a small number of global anchor tokens, delivering clear gains on tasks such as long-document understanding and repository-level code context. The trade-off is that the sparse pattern must be designed carefully to avoid pruning critical intermediate information.
4. How to Read Leaderboards: A Reusable Evaluation Framework
A single score is not enough to support a selection decision. It is advisable to cross-check at least four kinds of evidence:
- Composite intelligence index: reflects average cross-task capability, suitable for initial screening;
- Blind-test arena ranking: reflects human preference and is sensitive to expression style;
- Code and tool-calling benchmarks: closest to real development scenarios;
- Your own business dataset: run a regression on 200–500 real samples, and give it the highest weight.
Be sure to watch for data contamination and prompt sensitivity: the same model can fluctuate by several percentage points under different prompt templates, so evaluations should fix the template, fix decoding parameters, and average over multiple runs.
5. Deploying on the Cloud: From Selection to Launch
- Resource preparation: GPU instances and high-speed interconnect networks are prerequisites for long context and high concurrency;
- Model hosting: deploy inference services through a container platform, and use object storage to hold weights and datasets;
- Inference acceleration: enable KV Cache reuse, continuous batching, quantization, and speculative decoding;
- Observability: use logging services and monitoring alerts to track time-to-first-token latency, throughput, and memory usage;
- Quality gate: run the business regression set before launch, and set quality thresholds and a canary rollout strategy.
For scenarios like this, Baidu AI Cloud can provide a general combination of capabilities spanning compute, containerized deployment, and monitoring and operations, helping teams keep the inference cost of ultra-large sparse models within a predictable range.
6. Conclusion
744B total parameters, 40B active, 256 experts, and 80 layers, together with multi-token prediction and sparse attention, form a clear engineering throughline: trade sparsification for capacity, and structural innovation for efficiency. For developers, understanding these three numbers and two mechanisms holds more long-term value than memorizing any leaderboard position.
