mistralai · text · mixture of experts

Mixtral-8x7B-v0.1

mistralai/Mixtral-8x7B-v0.1

Mixtral-8x7B-v0.1 at Q4_K_M is exactly 26,441,532,864 bytes (24.63 GiB / 26.44 GB) — an effective 4.529 bits per weight, not the nominal 4. Its KV cache at 32K is 4.00 GiB.

From the file· summed from 1 file(s)From the file· KV per layer
Parameters
46.7B
total, not active
Architecture
llama
32 layers
Context
32,768
native (config.json)
License
apache-2.0

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
Q2_K14.57 GiB15,644,034,4962.680TheBloke
Q2_K16.12 GiB17,309,132,9922.965bartowski
Q2_K16.12 GiB17,309,182,8482.965NousResearch
Q3_K_M18.96 GiB20,363,355,5843.488TheBloke
Q3_K_S19.03 GiB20,430,424,2563.500bartowski
IQ3_S19.03 GiB20,430,424,2563.500bartowski
Q3_K_S19.03 GiB20,430,474,9443.500NousResearch
IQ3_M19.96 GiB21,428,668,6083.671bartowski
Q3_K_M21.00 GiB22,544,353,4723.862bartowski
Q3_K_M21.00 GiB22,544,404,1603.862NousResearch
Q3_K_L22.51 GiB24,167,549,1204.140bartowski
Q3_K_L22.51 GiB24,167,599,8084.140NousResearch
IQ4_XS23.63 GiB25,372,043,4564.346bartowski
Q4_024.63 GiB26,441,492,6724.529bartowski
Q4_K_M24.63 GiB26,441,532,8644.529TheBloke
Q4_024.63 GiB26,441,532,8644.529TheBloke
Q4_024.63 GiB26,441,544,4484.529NousResearch
IQ4_NL24.91 GiB26,743,482,5604.581bartowski
Q4_K_S24.91 GiB26,743,482,5604.581bartowski
Q4_K_S24.91 GiB26,743,534,3364.581NousResearch
Q4_K_M26.49 GiB28,446,369,9844.873bartowski
Q4_K_M26.49 GiB28,446,421,7604.873NousResearch
Q5_K_S30.02 GiB32,229,238,9765.521bartowski
Q5_030.02 GiB32,229,238,9765.521bartowski
Q5_K_M30.02 GiB32,229,279,1685.521TheBloke
Q5_030.02 GiB32,229,279,1685.521TheBloke
Q5_030.02 GiB32,229,291,7765.521NousResearch
Q5_K_S30.02 GiB32,229,291,7765.521NousResearch
Q5_K_M30.95 GiB33,227,483,3285.692bartowski
Q5_K_M30.95 GiB33,227,536,1285.692NousResearch
Q6_K35.74 GiB38,378,719,4246.574bartowski
Q6_K35.74 GiB38,378,759,6166.574TheBloke
Q6_K35.74 GiB38,378,773,3126.574NousResearch
Q8_046.22 GiB49,624,221,8888.500bartowski
Q8_046.22 GiB49,624,262,0808.500TheBloke
Q8_046.22 GiB49,624,279,7448.500NousResearch

KV cache by context

computed per layer
ContextKV cache (f16)Flat formulaOverstated byFull / windowed / recurrent
4,0960.50 GiB0.50 GiB32 / 0 / 0
8,1921.00 GiB1.00 GiB32 / 0 / 0
16,3842.00 GiB2.00 GiB32 / 0 / 0
32,7684.00 GiB4.00 GiB32 / 0 / 0
65,5368.00 GiB8.00 GiB32 / 0 / 0
131,07216.00 GiB16.00 GiB32 / 0 / 0

Compare with

same modality, comparable size

Will it run on your card?

full quant x context sweep

Why other calculators give a different number

A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 24.47 GiB. The real file is 24.63 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from config.json
Layers
32
Attention heads
32
KV heads
8
Head dim
128
Hidden size
4096
Vocab
32,000
Sliding window
none
SWA period
MLA
no
Experts
8
Experts per token
2
use_sliding_window

Questions people ask

How much VRAM does Mixtral-8x7B-v0.1 need?
Q4_K_M is exactly 26,441,532,864 bytes (24.63 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
How large is Mixtral-8x7B-v0.1's KV cache?
4.00 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
Is Mixtral-8x7B-v0.1 a mixture-of-experts model?
Yes — 8 experts, 2 routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
Which quantization of Mixtral-8x7B-v0.1 should I use?
Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.