MoE Model Architecture Explained: Total Parameters vs. Active Parameters

    Mixture of Experts (MoE) has become a leading architecture for large language models, but it splits "model size" into two distinct dimensions: total parameters and active parameters. This article explains what each metric means, how sparse activation works, the routing and load-balancing challenges MoE introduces, and how to build a practical evaluation framework for choosing the right MoE model based on latency, cost, and quality.

    MoE Model Architecture Explained: Total Parameters vs. Active Parameters

    Why “Model Size” Needs to Be Reconsidered

    In the era of dense models, parameter count was almost the only yardstick for model scale: 7B, 70B, 175B — the bigger the number, the stronger the model and the more expensive the inference. Simple and straightforward. But as Mixture of Experts (MoE) has become the dominant technical approach for both mainstream open-source and commercial large models, the word “scale” now carries at least two distinct meanings.

    If you only read a parameter sheet without understanding its structure, it’s easy to misjudge: a model with over a trillion total parameters may have a per-inference compute cost comparable to a dense model of only tens of billions of parameters; conversely, a model with fewer than 100B total parameters may deliver remarkable inference efficiency because its active parameters are kept extremely low. To properly evaluate MoE models, you first need an analytical framework built on two dimensions: total parameters and active parameters.

    Total Parameters: The Model’s “Storage Capacity”

    Total parameters are the sum of all weights in the model, including:

    • The weights of all expert networks — the bulk of parameters in an MoE model;
    • Shared modules such as attention layers, embedding layers, and normalization layers;
    • The router (gating network) and various auxiliary modules.

    Total parameters essentially represent the model’s pool of knowledge and skills. The larger the pool, the more domain knowledge, linguistic patterns, and reasoning strategies the model can hold, and the finer the division of labor among experts can be. This is the core competitive advantage of large-total-parameter models.

    But the costs are equally obvious:

    1. Storage and loading costs: A model approaching 700B parameters requires hundreds of gigabytes of memory even with FP8 or INT8 quantization. Single-machine deployment is basically infeasible, requiring tensor parallelism and expert parallelism across multiple GPUs and machines.
    2. Communication complexity: When experts are distributed across devices, tokens must be routed and moved between devices (All-to-All communication), and cross-node bandwidth often becomes the bottleneck.
    3. Operational overhead: Distributed deployment, failure recovery, and elastic scaling are significantly more complex than for small and mid-sized models. Production-grade serving typically depends on mature container platforms, distributed storage, and monitoring and alerting systems.

    Active Parameters: The “Compute Budget” per Token

    The key idea behind MoE is sparse activation: after each token enters the model, the router selects Top-K experts (e.g., 2 out of 8, or 8 out of 256) based on gating scores to participate in the computation, while the remaining experts stay dormant. Therefore, what actually determines the compute per forward pass is the active parameters per token, not the total parameters.

    A few representative approaches in the industry illustrate the range of this metric:

    • A leading open-source model series uses roughly 671B total parameters with about 37B active — an activation ratio of around 5.5%;
    • A model family focused on ultra-long context and Agent capabilities is commonly cited at 1T total parameters with about 32B active;
    • A newer architecture pursuing maximum inference efficiency compresses the active parameters of an 80B total-parameter model down to around 3B — an activation ratio below 4%.

    Active parameters approximate the “per-token forward compute budget,” but they are not equivalent to real-world latency. Actual inference speed is also constrained by:

    • Expert parallelism communication overhead: the more dispersed the experts, the more frequent the token scheduling;
    • Batch size: MoE’s throughput advantage is clear at large batch sizes, while communication takes up a larger share at small batch sizes;
    • KV Cache footprint: the number of attention heads, layers, and context length determine memory pressure, independent of the MoE structure;
    • Quantization precision and serving framework: engineering optimizations such as kernel tuning, continuous batching, and speculative decoding often matter more than the architecture itself.

    Routing and Load Balancing: MoE’s Hidden Challenges

    Sparse activation brings efficiency, but it also introduces two classic engineering problems.

    The first is routing quality. Whether the router learns a sensible division of labor directly determines whether experts become genuinely “specialized.” A common phenomenon early in training is that a few experts get selected disproportionately (winner-takes-all), leaving a large portion of parameters effectively unused. Mainstream solutions include auxiliary load-balancing losses, loss-free bias adjustment strategies, and limiting the number of devices each token can be routed to.

    The second is the tension between load balancing and capacity. During inference, each expert is typically assigned a capacity limit (Capacity Factor), and tokens exceeding it are dropped or rerouted. Setting capacity too tight risks accuracy loss; setting it too loose wastes memory and bandwidth. This is why MoE models with similar parameter profiles can still differ significantly in measured performance and inference cost.

    Building a Proper Evaluation Checklist

    For developers, evaluating an MoE model should involve tracking at least the following dimensions rather than a single “parameter count”:

    Dimension What to Look At
    Total parameters Knowledge capacity ceiling, minimum deployment resources
    Active parameters Per-token compute, theoretical inference cost
    Number of experts / Top-K Sparsity level, routing granularity
    Context length and KV structure Memory and latency for long-text scenarios
    Open-source license and ecosystem Fine-tuning, quantization, and inference framework support

    Then weight these factors against your own use case: high-concurrency online services should prioritize active parameters and KV efficiency; knowledge-intensive, low-volume offline tasks can tolerate larger total parameters; for private deployment, you need to account for multi-GPU interconnect and operational costs, and leverage cloud platform offerings such as container services, object storage, and logging services to reduce engineering burden where necessary.

    Conclusion

    The MoE architecture decouples “how big the model is” from “how much it computes per pass”: total parameters define the capability ceiling, while active parameters determine the cost floor. Only by understanding what each of these numbers means — along with the routing, parallelism, and engineering constraints behind them — can you make rational model selection decisions: neither blindly worshipping trillion-parameter models nor being misled by marketing around ultra-low active parameters, but instead weighing the trade-offs within your own triangle of latency, cost, and quality.