Nine of twelve. That is how many benchmarks Mixtral 8x7B won against Llama 2 70B in Mistral AI’s own testing, and it also came out ahead of GPT-3.5 on five. The open model from the Paris company, released in December 2023, was tested on code generation, reading comprehension, mathematics, reasoning and knowledge.
The size story is where the shift is. Mixtral holds 46.7B parameters, yet InfoQ reported that it runs inference at the speed and cost of models one-third that size. Mistral’s own explanation is a routing trick. The model is a sparse mixture of experts: at every layer, for each token, a router network picks two of 8 distinct groups of parameters and adds their outputs. Only 12.9B parameters are used per token.
Where the idea comes from
None of this is new in principle. InfoQ noted that mixture-of-experts models date back to 1991, and Google applied the approach to Transformer-based language models in 2021. The usual goal is to grow a model while keeping training and inference time down. In a Transformer block, the feed-forward layers are replaced by a router plus a set of expert layers, and the router turns on only a subset during inference. Mixtral computes the block output by applying the softmax function to the top two experts.
Two models, one license
Mistral released two versions at once, the base Mixtral 8x7B and an Instruct model. Both have weights under the Apache 2.0 license, a context length of 32k tokens, and support for English, French, Italian, German and Spanish. Mistral also said the model shows strong performance in code generation.
The Instruct version was tuned with direct preference optimisation, or DPO, instead of the RLHF method behind ChatGPT. InfoQ said Stanford researchers developed DPO, that it “matches or improves response quality” compared with RLHF, and that it is simpler to put into practice. It draws on the same kind of dataset, paired responses with one ranked above the other, but skips the separate reward function that reinforcement learning needs.
On MT-Bench, the Instruct model scored 8.30. Mistral called that “the best open-weights model as of December 2023.” InfoQ, writing in January 2024, said the LMSYS leaderboard ranked it 7th, ahead of GPT-3.5, Claude 2.1 and Gemini Pro.
Running it
The weights are available on HuggingFace. Mistral has added support to the open-source vLLM project, and it serves Mixtral behind its mistral-small API endpoint, which was in beta. The company thanked CoreWeave and Scaleway for technical support during training.
Hardware was the main topic when Hacker News users picked it apart. Several pointed out that all 46.7B parameters must be loaded into RAM, even though speed would match a 13B model. One user wrote that it could fit on a MacBook Pro with integrated memory, and regretted buying a laptop with only 24Gb of RAM.
Mistral also flagged one limit. Without a moderation prompt or proper preference tuning, the model “will just follow whatever instructions are given.”





