AI State of the Art
Mistral/Mistral Models: Complete Catalog/13 min
Section 240

Mixtral 8x7B: First Major Open-source MoE

Listen as a podcast →
Status as of July 2026

Mixtral 8x7B is no longer served by Mistral's API. The open-mixtral-8x7b endpoint (version v0.1) was deprecated on 30 November 2024 and retired on 30 March 2025, the same day as Mistral 7B. This page describes a historical model.

The retirement hits the API endpoint, not the weights. Mixtral 8x7B is still downloadable from Hugging Face under Apache 2.0 and still heavily used there. A granted Apache 2.0 licence cannot be revoked: nobody owes you renewed access, but nobody can take back what you already received.

The consequence is asymmetric and worth remembering. Open weights: a retirement costs you rehosting work, never a right. A Premier model (proprietary, reachable only through the API): retirement is final, there is nothing to rehost. When you are negotiating a dependency on a model, that is the first question to ask. See the model lifecycle.

Mixtral 8x7B: The Moment Open-Source Caught Up with the Giants

December 2023. A French startup just a few months old publishes a 46 billion parameter model as open-source. Free. Apache 2.0 license. And Mistral announces that it "matches or outperforms GPT3.5 on most standard benchmarks", GPT-3.5 Turbo being, at the time, the most widely used proprietary model in the world.

The entire industry turns around: "How is this possible with so few resources?"

The answer fits in three letters: MoE. And Mixtral 8x7B is its masterful demonstration.

Mixtral of Experts

The Mixture-of-Experts Architecture: The Heart of the Innovation

In a classic (so-called "dense") transformer, every token passes through ALL the model's layers. It's as if, for every question asked in a hospital, you gathered all the doctors from every department to answer it together. Efficient? Not at all.

Mixtral does the opposite. Each feed-forward layer (FFN) is replaced by 8 independent "experts", specialized mini neural networks. For each token, a routing network (the "gate network") selects the 2 most relevant experts. The other 6 stay idle.

The concrete result: the model has 46.7 billion parameters in total, but only 12.9 billion are activated for each token. Inference therefore costs the same as a dense 13B parameter model, while benefiting from the representational capacity of a much larger model. It's like having the knowledge of a team of 8 specialists, but only paying for 2 consultations each time.

The Routing Network: Who Decides What?

The router is a surprisingly simple mechanism: a linear network that takes a token's hidden representation and produces a score for each of the 8 experts. The 2 experts with the highest scores are activated, and their outputs are combined in a weighted average by their softmax scores.

In formal terms, for a token x:

  • The router computes G(x) = Softmax(TopK(x . W_g, k=2))
  • The output is: y = Sum_i G(x)_i . E_i(x), where only the 2 selected experts contribute
Origins of MoE

The Mixture-of-Experts idea dates back to the work of Jacobs et al. in 1991, but its application to transformers was popularized by Google's Switch Transformer (2021) and GShard. What makes Mixtral historic is that it was the first to make this architecture accessible as open-source at large scale, proving that it worked just as well in practice as on paper.

Technical Specifications

ParameterValue
Total parameters46.7 billion
Active parameters per token12.9 billion
Number of experts8 per layer
Active experts per token2 (top-2 routing)
Transformer layers32
Model dimension4096
Expert dimension (FFN)14,336
Maximum context32,768 tokens
Vocabulary32,000 tokens
LicenseApache 2.0

Performance That Shook the Industry

Mixtral 8x7B didn't just "do well." It redefined what an open-source model could accomplish.

Vs LLaMA 2 70B. Mixtral matches or surpasses LLaMA 2 70B on the majority of benchmarks, while being 6x faster at inference. Why? Because it only activates 12.9B parameters per token instead of 70B. Same quality, fraction of the cost.

Vs GPT-3.5 Turbo. On standard benchmarks (MMLU, HellaSwag, ARC, WinoGrande), Mixtral achieves performance comparable to OpenAI's most popular commercial model. A free, downloadable model going toe-to-toe with a flagship commercial product: that's an earthquake.

Multilingual. Mixtral excels particularly in French, German, Spanish, and Italian, thanks to training on diverse multilingual data. For European users, it was a breath of fresh air.

Code. The model demonstrates solid code generation performance, approaching CodeLlama 34B on the HumanEval benchmark.

The real game-changer: the performance/cost ratio

The genius of Mixtral isn't being the absolute best model. It's offering the best performance-to-inference-cost ratio ever seen. LLaMA 2 70B-level performance at a 13B inference cost: Mixtral made high-quality LLMs accessible to budgets that couldn't afford giant models.

Mixtral 8x7B Instruct: Alignment via DPO

The Instruct version of Mixtral was fine-tuned via DPO (Direct Preference Optimization) to follow instructions and produce helpful, safe responses. It scored 8.30 on MT-Bench, a mark out of 10 awarded by a judge model, not to be confused with an Elo rating. Mistral presented it at the time as the best open-source model, at a level comparable to GPT-3.5.

DPO is an elegant alternative to RLHF (Reinforcement Learning from Human Feedback). Instead of training a separate reward model then optimizing with reinforcement learning (a complex and unstable process), DPO directly optimizes human preferences in a single step. Simpler, more stable, and often just as effective.

The Practical Implications of MoE

The Memory vs Compute Paradox

Here's a subtle but crucial point: even though Mixtral only activates 12.9B parameters per token, all 46.7B total parameters must be loaded into GPU memory. The VRAM requirement is therefore that of a 47B model, even though each operation only costs the equivalent of a 13B model.

The arithmetic is simple and you can redo it yourself: at 16 bits each parameter takes 2 bytes, so 46.7 billion parameters weigh roughly 90 GB, before you add the KV cache. That means at least two 80 GB datacenter GPUs.

Quantized to 4 bits, each parameter drops to half a byte: about 26 GB for the weights. Much better, but beware a common mistake: 26 GB does not fit on a consumer graphics card, where even the most generous models top out at 24 GB. Running Mixtral 8x7B in 4 bits requires either a professional 40 or 80 GB GPU, or two consumer cards, or offloading part of the weights to system RAM with the slowdown that implies. The contrast with Mistral 7B, which fits in 4 GB, is a difference of kind, not degree.

Expert Specialization: More Subtle Than You'd Think

Frequent question: "Does one expert handle math, another code, another poetry?" In reality, no. Analysis of routing patterns reveals that specialization operates at the level of syntactic and semantic structures, not knowledge domains. One expert might specialize in conditional structures, another in lists and enumerations. It's finer, more flexible, and ultimately more powerful.

Load Balancing: Avoiding "Teacher's Pet" Experts

Without precaution, the router could systematically favor 2-3 experts and ignore the others. The favorites would improve (more training data), the others would stagnate: a vicious cycle. Mixtral uses an auxiliary load balancing loss that penalizes this unequal distribution, forcing a fair distribution of tokens across all 8 experts.

Limitations of the MoE architecture

MoE isn't without trade-offs. The full model is larger in memory than a dense model of equivalent performance, routing adds slight complexity, and distributing experts across multiple GPUs requires efficient inter-GPU communication. These constraints are particularly sensitive on limited hardware or in edge configurations.

The Impact on the Industry: A Before and After

Democratization of MoE. Before Mixtral, MoE models existed mostly in Google's internal labs (GShard, Switch Transformer). Mixtral democratized this architecture by proving it worked in real-world conditions, and by making it downloadable by anyone.

Competitive pressure. The Apache 2.0 release triggered a chain reaction. Meta accelerated development of LLaMA 3, and other labs started seriously exploring MoE architectures.

Fine-tuning ecosystem. Thousands of fine-tuned Mixtral variants flourished on Hugging Face: specializations for code, for specific languages, for technical domains. An open-source model that generates its own ecosystem is proof that it hit the mark.

Mixtral 8x7B remains one of the most influential models in recent AI history. It demonstrated that the MoE architecture was the path forward for reconciling performance and efficiency, and that open-source could rival proprietary giants.