Mixtral 8x7B stores 47B total parameters across eight experts per layer while activating only 13B parameters per token, matching or beating dense Llama 2 70B and GPT-3.5 across reasoning, coding, and math benchmarks at roughly one-fifth the active compute.

  • 8 SwiGLU experts with Top-2 routing in every layer: Built on Mistral 7B’s backbone (dim = 4,096, 32 layers, 32K context, GQA with 32 query and 8 KV heads), Mixtral replaces all 32 feed-forward blocks with eight 14,336-hidden-dim SwiGLU experts and sums the top two softmax-weighted outputs.
  • 5x fewer active parameters than Llama 2 70B: Mixtral leads Llama 2 70B on MMLU (70.6% vs. 69.9%), HumanEval (40.2% vs. 29.3%), MBPP (60.7% vs. 49.8%), MATH maj@4 (28.4% vs. 13.8%), and GSM8K maj@8 (74.4% vs. 69.6%).
  • Multilingual and alignment gains: Upsampling multilingual pretraining data pushed Mixtral 6.5 to 8.3 percentage points past Llama 2 70B on French, German, Spanish, and Italian MMLU (70.9%–72.5% vs. 64.2%–66.0%), while reducing bias on BBQ (56.0% vs. 51.5%).
  • Mixtral Instruct hit 1121 LMSys Arena Elo: Fine-tuned with SFT and DPO, Mixtral 8x7B Instruct scored 8.30 on MT-Bench and ranked ahead of GPT-3.5 Turbo (1117 Elo), Claude-2.1 (1117), Gemini Pro (1111), and Llama 2 70B Chat (1077).
  • Routers cluster by syntax and sequence locality, not topic: Across The Pile, expert usage stays near uniform (1/8) across ArXiv, PubMed, and Wikipedia, yet consecutive tokens repeat the same first-choice expert 23.6%–28.4% of the time at layer 15 (versus 12.5% random).
Mixtral 8x7B (13B active) vs. Llama 2 70B and Mistral 7B (higher is better, %)
MMLU (5-shot)Mixtral: 70.6 | Llama 2 70B: 69.9 | Mistral 7B: 62.5
GSM8K (8-shot maj@8)Mixtral: 74.4 | Llama 2 70B: 69.6 | Mistral 7B: 50.0
MBPP (3-shot code)Mixtral: 60.7 | Llama 2 70B: 49.8 | Mistral 7B: 50.2
HumanEval (0-shot) & MATH (4-shot maj@4)HumanEval 40.2 vs. 29.3 | MATH 28.4 vs. 13.8

Source: Jiang et al. (2024), Table 2. All models re-evaluated on Mistral’s pipeline (hand-verified MBPP subset).

Sparse routing on a Mistral 7B backbone

Mixtral decouples total knowledge capacity from per-token FLOPs by turning every transformer block’s feed-forward sub-layer into a sparse Mixture of Experts. Rather than alternating MoE and dense layers like GShard, Mixtral places eight experts at every layer 0..31. A linear gate computes logits x * Wg, takes the Top-2 coordinates, normalizes them with softmax, and computes a weighted sum over only those two SwiGLU blocks (y = sum Softmax(Top2(x * Wg))_i * SwiGLU_i(x)).

Because every token selects 2 of 8 FFN blocks while sharing attention, embeddings, and norms, each forward pass touches only 13B parameters even though the checkpoint holds 47B parameters (fewer than 8 x 7B = 56B because attention layers are shared). Mixtral also expands Mistral 7B’s sliding window to a full dense 32,768-token context, achieving 100% passkey retrieval across every depth and sequence length while reducing perplexity monotonically on Proof-Pile.

What routers actually specialize on

A common intuition holds that MoE routers partition knowledge by topic: one expert for Python, another for calculus, another for French. Section 5 of the paper refutes this cleanly. Across subsets of The Pile (ArXiv LaTeX, GitHub, Gutenberg, PhilPapers, PubMed Abstracts, StackExchange, and Wikipedia), the distribution of selected experts at layers 0, 15, and 31 stays nearly uniform around 1/8, with only synthetic DM Mathematics showing minor skew.

Instead, routers specialize on syntax and local token transitions. Multi-token words such as self in Python or Question in English, plus code indentation tokens, reliably hit the same expert, and adjacent tokens show strong temporal locality in deeper layers.

Consecutive tokens repeating the same expert across The Pile (%)
Layer 0 (input)
13.6% – 14.9%
Top-1 repeat rate stays near 12.5% uniform random baseline (44.9%–49.9% top-2 vs. ~46% random).
Layer 15 (middle)
23.6% – 28.4%
Over 2x random top-1 repetition; top-2 overlap reaches 61.6%–67.0% across domains.
Layer 31 (output)
19.7% – 26.3%
Strong syntactic locality persists (44.5%–53.6% top-2), enabling expert caching.

Source: Jiang et al. (2024), Section 5 and Table 5.

Caveats and builder takeaway

Active parameter count tracks arithmetic compute, not VRAM footprint or wall-clock serving latency. Serving Mixtral still requires holding 47B parameters in memory (only ~33% less than Llama 2 70B), and at small batch sizes decode is memory-bandwidth-bound: because different tokens in a batch pick different pairs of experts, GPUs load more expert weights per step for lower arithmetic intensity unless batch sizes are large enough to saturate specialized sparse GEMM kernels such as MegaBlocks.

That same temporal locality cuts both ways in production. Under Expert Parallelism across GPUs, streaks of consecutive tokens routing to the same expert can oversubscribe one device and stall all-to-all dispatch; conversely, on memory-constrained single-GPU or CPU-offloaded setups, locality lets caches keep hot experts resident across adjacent tokens. As later architectures like DeepSeek-V3 pushed further with finer-grained routed plus shared experts, Mixtral remains the clean reference baseline for when sparse 13B-active routing beats a 70B dense model, and when VRAM or low-batch memory traffic erases the theoretical 5x speedup.