Sparse Everything: How Mixture-of-Experts Became the Default Inference Pattern for Production AI in 2026

In 2023, running a Mixture-of-Experts model meant joining a very small club of labs willing to wrestle with experimental infrastructure. In 2026, not running sparse is what demands an explanation. Llama 4, DeepSeek V4, Qwen 3.5, Kimi K2, Mistral Large 3: every flagship open-weight release of the past eighteen months is a sparse model. Over 60% of open-source model releases in 2025 used MoE architecture. The tipping point has passed.

This article explains what drove that shift, what it means for the infrastructure layer, and where the cost calculus still favors dense models. If you are deciding how to deploy language models in production today, your model's architecture is no longer separable from the architecture of your serving system.

What Sparse Routing Actually Does

A dense transformer passes every token through every parameter on every forward pass. A Mixture-of-Experts model routes each token to a small subset of specialized subnetworks called experts, and runs only those. A learned gating function scores each expert and picks the top-k highest scorers for each token.

The numbers are dramatic. DeepSeek V4 has 1.6 trillion parameters total but activates roughly 49 billion per token, about 3% of the model's capacity per inference step. Llama 4 Maverick activates approximately 17 billion of its 400 billion parameters. Qwen 3.5 follows the same ratio. The pattern is consistent: models carrying 10 to 40 times more total capacity than a comparable dense model, running at the compute cost of the smaller active slice.

The basic gating mechanism is straightforward at the code level:

import torch
import torch.nn.functional as F

class TopKRouter(torch.nn.Module):
    def __init__(self, d_model: int, num_experts: int, top_k: int):
        super().__init__()
        self.gate = torch.nn.Linear(d_model, num_experts, bias=False)
        self.top_k = top_k

    def forward(self, x: torch.Tensor):
        # x: (batch, seq_len, d_model)
        logits = self.gate(x)                          # (batch, seq_len, num_experts)
        scores = F.softmax(logits, dim=-1)
        topk_scores, topk_indices = scores.topk(self.top_k, dim=-1)

        # Normalize so active expert weights sum to 1
        topk_scores = topk_scores / topk_scores.sum(dim=-1, keepdim=True)
        return topk_scores, topk_indices               # route each token to top_k experts only

The gating network is tiny, but its decisions determine which fraction of the model activates. Everything downstream flows from this routing step: memory footprint, latency, GPU utilization, and cost.

From Proof of Concept to Unavoidable Default

The timeline is worth tracing because the speed of convergence is striking.

Mixtral 8x7B (December 2023) was the first openly available MoE model that actually worked well at inference time. It demonstrated that sparse routing could beat a same-compute dense baseline rather than merely approximate it. DeepSeek V3 (December 2024) made the business case undeniable by outperforming closed proprietary models while being permissively licensed and roughly 6x cheaper to serve per token than a comparable dense architecture. Meta's decision to ship Llama 4 as a sparse model in early 2025 was the signal the industry needed: if Meta's flagship open model is MoE, the format is mainstream.

By mid-2025, holdouts were treating their dense-model defaults as legacy choices that needed justification rather than the other way around. The argument for dense had always been "simpler to serve." As serving infrastructure matured, that argument eroded.

Modern Routing Has Moved Well Beyond Top-K

Production MoE systems in 2026 do not use static top-k routing. The field has evolved rapidly in three directions.

RL-based adaptive routing replaces the fixed-k constraint with a policy that decides per-layer how many experts to activate, based on the complexity or novelty of the current token. Reinforced Adaptive Routing (RAR) trains a controller that dynamically adjusts routing depth, activating more experts for complex reasoning steps and fewer for routine token generation. The result is better quality per FLOP rather than a fixed compute budget.

Speculative decoding tuned for sparse patterns has proven surprisingly effective. Because a sparse model's activation patterns are structured and partially predictable, a smaller draft model can propose token sequences that the target MoE verifier accepts at a higher rate than with dense models. Experiments on Qwen2-57B-A14B show 2.29x throughput improvement. Systems like MoESD extend this further: the verification step itself uses fewer experts, and the router learns to prefer paths that speculative verification already validated, creating a self-reinforcing efficiency loop.

Predictive expert caching addresses the memory-bandwidth problem rather than the compute problem. Systems like ExpertFlow implement Predictive Locality-aware Expert Caching (PLEC): they forecast which experts will be needed in upcoming layers, prefetch their weights from CPU to GPU memory ahead of the routing decision, and apply a real-time correction mechanism to handle mispredictions. FineMoE, a similar approach, cuts end-to-end latency by 47% and improves expert cache hit rate by 39% compared to naive on-demand loading. The routing decision is no longer just a model-internal detail; it drives explicit memory-scheduling logic in the serving layer.

The Cost Algebra Has Inverted

The naive story about MoE cost savings is: activate 5% of parameters, pay 5% of compute, profit. The actual story is more interesting.

Sparse models require all parameters to be resident in memory even though only a fraction activates per token. A model with 1.6 trillion parameters in FP8 occupies over 1.6 terabytes of memory. Serving DeepSeek V4 in production requires either a very large multi-GPU cluster or a carefully engineered CPU-offloading strategy. The compute is cheap; the memory is expensive.

This creates a clear utilization threshold. At high throughput (GPUs running at 80% or more utilization), MoE wins decisively. The compute savings dominate, and the fixed memory cost is amortized across thousands of concurrent requests. Spot instance pricing for MoE inference on B200 GPUs shows approximately 78% savings over on-demand pricing, translating to over $460 per day saved on an 8-GPU cluster at production scale.

At low utilization, the math inverts. A dense 13B model idles cheaply and can scale to zero. A sparse model serving the same effective capacity must keep hundreds of gigabytes of parameters warm and ready. If your traffic is spiky, unpredictable, or low-volume, a dense model may cost less despite worse per-token efficiency. This is not a temporary limitation; it is a structural property of the architecture.

The decision rule is roughly:

Situation Winner
High throughput, sustained load Sparse MoE
Spiky or low-volume traffic Dense
Active parameters under ~50B total Dense (overhead negligible)
Multimodal, multi-domain workloads Sparse with modality-specific experts

Infrastructure Had to Catch Up

Choosing a sparse model in 2026 means choosing your serving stack first. The model and the infrastructure are now co-designed rather than independent choices.

vLLM 1.0 (January 2025) shipped MoE-native dispatch logic and integrated FlashInfer with autotuning specifically for expert kernels. Expert parallelism (distributing different experts across GPUs rather than tensor-parallel-splitting dense layers) became a first-class serving strategy. TensorRT-LLM followed with custom attention kernels, in-flight batching across sparse routing boundaries, and quantization down to FP4 and INT4 that preserves per-expert precision. On H100 with FP8 quantization and 64 concurrent requests, TensorRT-LLM reaches over 10,000 output tokens per second for large MoE models.

Hardware pulled its weight too. The B200 GPU delivers substantial improvements in memory-bandwidth-bound MoE operations compared to the H100, making expert weight access significantly less punishing. The combination of hardware progression and software maturation in vLLM and TensorRT-LLM is what made serving 1.6T sparse models a routine engineering task rather than a research project.

A production vLLM deployment for a large sparse model today looks something like this:

# Serve DeepSeek V4 with expert parallelism across 8 GPUs
vllm serve deepseek-ai/DeepSeek-V4 \
  --tensor-parallel-size 4 \
  --pipeline-parallel-size 2 \
  --enable-expert-parallel \
  --quantization fp8 \
  --max-model-len 131072 \
  --gpu-memory-utilization 0.92

The --enable-expert-parallel flag routes MoE dispatch to a dedicated communication schedule that co-locates experts with the tokens that need them, rather than treating expert weights as part of a tensor-parallel shard. This seemingly small flag represents a significant rethinking of how parallelism maps onto sparse computation.

Pipeline parallelism for MoE models introduces a specific problem: pipeline bubbles. Because different experts process different tokens at different times, some GPUs idle while waiting for routing decisions to complete. Systems like FineMoE address this with expert grouping strategies that cluster co-activated experts onto the same device, reducing cross-device communication latency and keeping pipeline stages more evenly loaded. Semantic Parallelism, proposed in early 2025, takes this further by co-scheduling model placement and data routing based on semantic similarity of incoming tokens, so requests that tend to activate the same experts land on the same GPU.

Sparse Routing Beyond Text

MoE architectures initially proved themselves on language modeling, but the underlying idea applies equally to any task where different inputs benefit from different specialized capacity. The 2026 crop of multimodal models makes this concrete.

GLM-5 (February 2026) is a 744B total parameter MoE with 40B active, and it integrates DeepSeek Sparse Attention to handle million-token context windows while keeping memory costs manageable. Sparse attention and sparse expert routing interact: both reduce the quadratic cost of processing long sequences and large parameter counts, and together they make a model viable that would be completely impractical as a dense architecture.

Multimodal MoE models route images, text, and audio to specialized expert pathways. An image token activates vision experts; a code snippet activates code-specialized experts; a reasoning-heavy prompt activates analytic experts. This is not just an efficiency trick. It is an architectural argument that generalization across modalities does not require a single monolithic network, but rather a sparse ensemble where each member has developed genuine specialization.

The Case for Dense Models

Not every workload benefits from switching to sparse. The case for dense models survives in a few well-defined situations.

Models under roughly 50 billion parameters carry dense overhead small enough to be negligible. A 13B dense model is cheaper to serve than a 13B-active-parameter MoE model with 100B total parameters, because the sparse model requires holding 87B of dormant experts in memory. The complexity cost of MoE is real and only pays off at sufficient scale.

Low-traffic deployments, edge inference, and workloads where GPU clusters cannot be kept at high utilization all favor dense. The "scale to zero" property of dense serving (you can shut it down when idle) has significant cost implications in environments where traffic is bursty. Sparse models that offload expert weights to CPU memory can partially address this, but with latency penalties that may be unacceptable for interactive applications.

Fine-tuning is also still easier on dense models. Routing instabilities during MoE fine-tuning remain an active research problem. Expert collapse, where the gating function concentrates load on a small number of experts and others stop being updated, requires explicit load-balancing loss terms and careful monitoring. Production teams doing frequent fine-tuning cycles often keep a dense model as their adaptation layer and a sparse model as their serving layer.

What This Means If You Are Deploying Now

The practical checklist has changed. Teams building LLM infrastructure in 2026 need to evaluate:

  1. Model selection: Is the active parameter count what you pay for, or the total parameter count? Verify with your cloud provider. Most charge on active compute, but memory costs follow total size.
  2. Serving framework: vLLM and TensorRT-LLM both have production-grade MoE support, but configuration for expert parallelism is distinct from tensor parallelism. Read the docs for your specific model family.
  3. Utilization target: If you cannot sustain 70 to 80% GPU utilization, run the numbers on a dense alternative before committing to MoE.
  4. Latency requirements: Expert caching systems like ExpertFlow can dramatically reduce tail latency on sparse models, but add infrastructure complexity. Evaluate whether the latency improvement justifies the operational overhead.
  5. Fine-tuning cadence: Frequent fine-tuning is harder with MoE. Build load-balancing monitoring into your training pipeline.

Conclusion

Mixture-of-Experts is no longer a research architecture or a specialist choice. It is the structural baseline that most new production AI systems are built on, because sparse activation provides efficiency advantages that dense scaling cannot replicate at the same cost. The infrastructure has caught up: vLLM, TensorRT-LLM, and dedicated systems like ExpertFlow and FineMoE make serving sparse models at scale a solved engineering problem rather than an ongoing research challenge.

The subtler lesson is about the coupling between model and infrastructure that MoE forces. Dense models could be served by any generic GPU serving system with minimal configuration. Sparse models demand that you understand routing patterns, memory scheduling, expert parallelism, and utilization economics before you can get the promised efficiency. That coupling is a reasonable price to pay for a 6 to 10x compute saving at scale, but it means the job of an AI infrastructure engineer in 2026 is harder, more specific, and more interesting than it was two years ago.

Subscribe to Marvin G6 | Engineering, AI & Automation

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe