Nice To E-Meet You!



    What marketing services do you need for your project?

    Mixture-Of-Experts Explained: Why Ergo Uses Only 55B Of Its 1.1T Parameters

    Last updated: December 2, 2026

    A mixture-of-experts (MoE) model splits most of its layers into many smaller sub-networks, called experts, and sends each token through only a few of them. That is why Amazon Ergo has 1.1 trillion parameters in total but uses only about 55 billion, roughly 5 percent, for any single token.

    MoE gives a model the knowledge capacity of a very large network with the per-token compute cost of a much smaller one. The trade-off is memory: all the experts still have to be loaded.

    How Routing Works

    Each MoE layer has a small router network. For every token, the router scores the experts and picks the top few. In Ergo, each of the 63 MoE layers has 256 routed experts plus one shared expert that every token uses. The router picks 8 routed experts per token, so 9 experts do the work and 247 sit idle for that token.

    Different tokens pick different experts, so over a long text the whole network gets used.

    Total vs Active Parameters

    Model Total parameters Active per token
    Amazon Ergo 1.1T 55B
    Kimi K3.1 Pro 2.8T 104B
    DeepSeek V4-Pro 1.6T 49B
    Muse Spark Open 816B 42B
    gpt-oss-120b 117B 5.1B

    Active parameters drive compute per token, and so speed and serving cost. Total parameters drive memory: Ergo’s smallest checkpoint is still 626 GB.

    Why MoE Models Are Fast

    Because only a fraction of the weights work on each token, an MoE model generates text faster than a dense model of the same total size. Ergo pairs this with sliding-window attention, where three of every four layers look only at the last 512 tokens and every fourth layer looks at the full context, which cuts the cost of long inputs.

    The Trade-Offs

    • Memory: every expert must sit in GPU memory, so hardware needs are set by total size.
    • Load balancing: routers must spread work across experts, or some GPUs sit idle.
    • Fine-tuning: training all experts is expensive, so adapter methods are common.

    A Simple Analogy

    Think of a dense model as one generalist who reads every question in full and answers it alone. A mixture-of-experts model is more like a large firm with hundreds of specialists and a receptionist. Each question goes to the receptionist (the router), who passes it to a handful of the most relevant specialists, while one generalist (the shared expert) reviews every question. The firm knows far more than any one person, but each question only takes up a few people’s time.

    The catch is that the whole firm has to be in the building, even if most people are idle at any moment. In model terms, every expert has to be loaded into GPU memory.

    A Short History Of MoE

    The idea of mixing expert networks dates back to the early 1990s. Google brought it to large language models with sparsely gated MoE layers in 2017 and the Switch Transformer in 2021. Mistral’s Mixtral popularized open MoE models in late 2023, and DeepSeek’s V2 and V3 models pushed the design further with many small experts plus shared experts.

    By 2026, nearly every frontier open model uses MoE, including Amazon Ergo, Kimi K3.1 Pro, DeepSeek V4, Qwen3.8’s flagship, Muse Spark Open and Mistral Large 4.

    Dense vs MoE Compared

    Dense model Mixture-of-experts
    Compute per token All parameters Active parameters only
    Memory needed Total parameters Total parameters
    Speed at the same total size Slower Faster
    Training complexity Simpler Needs load balancing
    Fine-tuning Straightforward Often adapter-based
    Example Gemma 4 31B, Qwen3.8-27B Amazon Ergo, Kimi K3.1 Pro

    Other Efficiency Tricks In Ergo

    MoE is one of several design choices that make Ergo practical. Its sliding-window attention limits most layers to the most recent 512 tokens. Amazon ships quantized checkpoints in MXFP4 and MXFP8, which shrink memory needs. A 3.24 billion parameter DSpark draft model enables speculative decoding, guessing several tokens ahead for the big model to confirm in one step. And on AWS, the Trainium3SR system splits prompt processing and token generation across different chips, which powers Ergo’s Turbo mode. Read more in Trainium3 vs Nvidia.

    What MoE Means For Your Budget

    • Hosted APIs: you pay per token, so low active parameters usually mean lower prices.
    • Self-hosting: you pay for memory, so total parameters set your hardware bill.
    • Small teams: a hosted MoE model is usually cheaper than self-hosting a dense one of similar quality.
    • Large steady workloads: self-hosted MoE models can be very efficient once the hardware is in place.

    For concrete numbers, see Ergo on Bedrock vs self-hosting and our single-GPU model list.

    Common Misunderstandings

    • Active parameters are not a smaller model hiding inside a big one; different tokens use different experts.
    • MoE does not reduce memory needs; all experts must be loaded.
    • A higher total parameter count does not always mean a smarter model; training data and methods matter as much.
    • Experts do not map neatly to topics like math or code; routing is learned and often less tidy.

    Ergo’s MoE Design In Numbers

    Spec Value
    Total parameters 1.1 trillion
    Active per token 55 billion
    Layers 64 (1 dense, 63 MoE)
    Routed experts per MoE layer 256
    Experts chosen per token 8 routed plus 1 shared
    Attention Sliding window of 512 tokens on three of every four layers, full attention on the fourth
    Context window 1,048,576 tokens
    Maximum output 131,072 tokens

    Does More Experts Mean Better Results?

    Not automatically. Ergo’s benchmark table on Hugging Face shows Kimi K3.1 Pro, with about twice the active parameters, leading most public benchmarks, while Ergo leads Amazon’s internal FMR-Bench and FrontierSWE v2. Smaller-active models such as DeepSeek V4.1 Flash, with 8 to 16 billion active, still score near the top of open leaderboards. Data quality, training methods and post-training for agentic work matter as much as raw size.

    How Routing Affects Serving

    Because each token may use experts spread across many GPUs, MoE serving engines split experts across devices (expert parallelism) and move tokens to the right GPU. That makes fast interconnects important. It also explains why tools such as vLLM and SGLang add model-specific support for each new MoE architecture, and why Amazon worked with both to support Ergo from day one.

    How MoE Models Are Trained

    Training an MoE model adds problems that dense models do not have. If the router sends most tokens to a few favorite experts, the others never learn and the GPUs that hold them sit idle. To prevent this, labs add load-balancing terms to the training objective or adjust routing so tokens spread across experts. Shared experts, like Ergo’s, give every token a common path for general knowledge, which lets routed experts specialize further.

    MoE training also needs careful distribution across many accelerators, because experts live on different devices and tokens must move between them. This is a major reason why only well-funded labs train trillion-parameter MoE models.

    MoE In Models You Already Use

    Model Total Active Origin
    Amazon Ergo 1.1T 55B US
    Kimi K3.1 Pro 2.8T 104B China
    Qwen3.8 flagship 2.4T 95B China
    DeepSeek V4-Pro 1.6T 49B China
    Mistral Large 4 About 1.05T About 52B France
    Muse Spark Open 816B 42B US
    DeepSeek V4.1 Flash 552B 8B to 16B China
    Nemotron 3.5 Super 120B 12B US

    Is Dense Coming Back?

    Dense models remain popular below about 30 billion parameters, where their simplicity and easy fine-tuning win, as with Gemma 4 31B and Qwen3.8-27B. Above that size, nearly every recent open release is MoE, because the efficiency gains are too large to ignore. Expect that split to continue.

    MoE And Speculative Decoding

    Ergo pairs its MoE design with speculative decoding. A small 3.24 billion parameter draft model, called DSpark, guesses several upcoming tokens. The full model then checks those guesses in one pass, accepting the ones it agrees with. Because checking several tokens at once costs about the same as generating one, accepted guesses come almost free. This works with dense models too, but it is especially useful for MoE models, where each forward pass involves moving tokens between experts across GPUs.

    The result for users is faster output with no change in quality, because the full model still decides every token.

    Questions To Ask When Comparing MoE Models

    • How many parameters are active per token? This drives speed and price.
    • What is the total size? This drives self-hosting hardware.
    • Which quantized checkpoints are available? Smaller formats cut memory.
    • Do your serving engines support the architecture?
    • How does it score on benchmarks that match your work?

    Why This Matters For Coding Agents

    Coding agents make many calls, each generating hundreds or thousands of tokens. A model with low active parameters keeps each call fast and cheap, which lets an agent try more fixes and run more tests in the same time and budget. That is the practical reason labs building coding models, from Amazon to Moonshot and DeepSeek, have converged on MoE: it lets them offer frontier capacity at prices agents can afford to call hundreds of times a day.

    When you compare models for agents, look at output speed and output price together. Ergo’s combination of 55 billion active parameters, more than 400 tokens per second on Bedrock and $3 per million output tokens is a direct result of these design choices.

    Key Takeaways

    Mixture-of-experts models store a lot of knowledge but only use a small part of it for each token. That makes them fast and affordable to run per token, but heavy to host because all experts must sit in memory. Ergo uses 55 billion of its 1.1 trillion parameters per token, with 8 of 256 routed experts plus a shared expert in each layer. When comparing models, read active parameters as a guide to speed and cost, total parameters as a guide to hardware, and benchmarks on your own tasks as the guide to quality.

    What It Means for Buyers

    When comparing models, look at both numbers. Active parameters predict speed and token price; total parameters predict the hardware you need to self-host. Our open-weight coding models list shows both for each model.

    How We Researched This Guide

    This explainer uses architecture details from Amazon’s Ergo model card and the published configurations of other open models. Read more about our research process.

    Frequently Asked Questions

    What is a mixture-of-experts model?

    It is a model whose layers contain many expert sub-networks, with a router that sends each token through only a few of them, so only part of the model runs per token.

    Why does Ergo only use 55 billion parameters?

    Its router selects 8 of 256 routed experts, plus one shared expert, in each MoE layer for every token, which adds up to about 55 billion active parameters.

    Are MoE models cheaper to run?

    Per token, yes, because compute depends on active parameters. But they still need enough memory to hold all parameters, so hardware costs remain high for self-hosting.

    What is a shared expert?

    An expert that every token passes through, alongside the routed experts. Ergo has one shared expert per MoE layer.

    Is GPT or Claude a mixture-of-experts model?

    Closed labs rarely publish architecture details, so it is not confirmed for most closed models. Most leading open models use MoE.

    Why do MoE models need so much memory?

    Every expert must be ready in case the router picks it, so the full set of weights stays loaded even though only a few run per token.

    How many experts does Ergo use per token?

    Eight routed experts plus one shared expert in each MoE layer, out of 256 routed experts per layer.

    Does MoE make models less accurate?

    Not inherently. Well-trained MoE models match or beat dense models of similar compute cost. Quality depends on data, training and post-training more than on the architecture alone.

    Which open models are not MoE?

    Many smaller models are dense, including Gemma 4 31B, Qwen3.8-27B, Muse Glimmer 30B and OLMo 3.1 32B.

    Why is Ergo’s download so large if only 55B parameters are active?

    Because the file holds all 1.1 trillion parameters. Every expert must be stored and loaded, even though each token only uses a few.

    Conclusion

    Mixture-of-experts is how open models like Ergo, Kimi and DeepSeek reach trillion-parameter scale while staying fast. Read active parameters as a guide to speed and cost, and total parameters as a guide to the hardware you will need.

      Once a week you will get the latest articles delivered right to your inbox