Notes

Mixtral

A model that costs as little to run as a 13-billion-parameter one, but scores like a 70-billion-parameter one, sounds like cheating. Mixtral is Mistral AI's family of sparse mixture-of-experts models, and it gets there by keeping a large pool of parameters around while using only a fraction of them on any given token.

Eight experts, two at a time

In Mixtral 8x7B each transformer block holds eight separate feed-forward networks instead of one. A small router looks at every token and sends it to the two it judges most suitable, then blends their outputs. The totals come to roughly 47 billion parameters stored and about 13 billion touched per token — the attention layers are shared, which is why the total is not simply eight times seven.

The trade it makes

Compute per token stays small, so generation is fast and cheap. Memory does not: every expert has to be resident in GPU memory even though most sit idle for any one token. Mixtral therefore needs the hardware of a 47B model and runs at the speed of a 13B one — an excellent bargain when you have the VRAM, and no help at all when you do not.

Why the release mattered

It landed in December 2023 under Apache 2.0 with a 32k context window, the first strong open-weight MoE model most people could actually download. It outscored Llama 2 70B on most benchmarks at a fraction of the inference cost, and it pushed serving stacks such as vLLM and llama.cpp to handle expert routing properly. A larger 8x22B sibling followed.

Mixtral is Mistral AI's family of open-weight sparse mixture-of-experts models. Each transformer block carries eight feed-forward experts and a router sends every token to two of them, so Mixtral 8x7B stores roughly 47 billion parameters but uses about 13 billion per token. That makes generation as cheap as a mid-sized model while scoring like a far larger one, at the cost of needing memory for all experts at once.

Imagine a clinic with eight specialists instead of one general doctor. Every patient is sent to the two whose expertise fits best, so each visit stays quick even though the clinic as a whole knows a great deal. Mixtral works like that. It is a freely downloadable AI model made of several internal sub-models, and for every word it processes it consults only a couple of them. The answers are as good as those from a much bigger model, and they come back faster and cheaper. The catch is that all eight specialists still need an office, so the computer has to hold the whole model in memory.