mistralai · text · mixture of experts
Mixtral-8x22B-Instruct-v0.1
mistralai/Mixtral-8x22B-Instruct-v0.1Mixtral-8x22B-Instruct-v0.1 at Q4_K_M is exactly 85,593,307,840 bytes (79.71 GiB / 85.59 GB) — an effective 4.869 bits per weight, not the nominal 4. Its KV cache at 32K is 7.00 GiB.
From the file· summed from 2 file(s)From the file· KV per layer
Parameters
141B
total, not active
Architecture
llama
56 layers
Context
65,536
native (config.json)
License
apache-2.0
Shipped quantizations
● exact bytes, summed from published files
| Quant | Size● | Exact bytes● | Effective bpw● | Tensors● | Publisher |
|---|---|---|---|---|---|
| IQ1_S | 27.61 GiB | 29,648,894,432 | 1.687 | — | MaziyarPanahi |
| IQ1_M | 30.49 GiB | 32,737,212,896 | 1.862 | — | MaziyarPanahi |
| Q2_K3 shards | 48.53 GiB | 52,108,606,272 | 2.964 | — | MaziyarPanahi |
| IQ3_XS3 shards | 54.23 GiB | 58,234,125,120 | 3.313 | — | MaziyarPanahi |
| Q3_K_S3 shards | 57.28 GiB | 61,504,109,376 | 3.499 | — | MaziyarPanahi |
| Q3_K_M2 shards | 63.14 GiB | 67,795,565,248 | 3.857 | — | MaziyarPanahi |
| Q3_K_L2 shards | 67.60 GiB | 72,585,722,560 | 4.129 | — | MaziyarPanahi |
| IQ4_XS2 shards | 71.12 GiB | 76,360,596,160 | 4.344 | — | MaziyarPanahi |
| Q4_K_S2 shards | 74.96 GiB | 80,484,645,568 | 4.579 | — | MaziyarPanahi |
| Q4_K_M2 shards | 79.71 GiB | 85,593,307,840 | 4.869 | — | MaziyarPanahi |
| Q5_K_S4 shards | 90.32 GiB | 96,980,843,424 | 5.517 | — | MaziyarPanahi |
| Q5_K_M4 shards | 93.11 GiB | 99,975,576,480 | 5.687 | — | MaziyarPanahi |
| Q8_04 shards | 139.16 GiB | 149,424,847,776 | 8.500 | — | MaziyarPanahi |
KV cache by context
computed per layer
| Context | KV cache (f16)● | Flat formula | Overstated by | Full / windowed / recurrent |
|---|---|---|---|---|
| 4,096 | 0.88 GiB | 0.88 GiB | — | 56 / 0 / 0 |
| 8,192 | 1.75 GiB | 1.75 GiB | — | 56 / 0 / 0 |
| 16,384 | 3.50 GiB | 3.50 GiB | — | 56 / 0 / 0 |
| 32,768 | 7.00 GiB | 7.00 GiB | — | 56 / 0 / 0 |
| 65,536 | 14.00 GiB | 14.00 GiB | — | 56 / 0 / 0 |
| 131,072 | 28.00 GiB | 28.00 GiB | — | 56 / 0 / 0 |
Compare with
same modality, comparable size
Will it run on your card?
full quant x context sweep
Radeon RX 6500 XT 4GBGeForce RTX 3050 6GBGeForce RTX 5050 8GBGeForce RTX 3080 10GBGeForce RTX 2080 Ti 11GBGeForce RTX 5070 12GBGeForce RTX 5060 Ti 16GBApple M3 Pro 18GBGeForce RTX 3080 Ti 20GBGeForce RTX 5090 D V2 24GBGeForce RTX 5090 D 32GBApple M5 Max 36GBApple M5 Pro 48GBApple M5 Max 64GBApple M3 Ultra 96GBApple M5 Max 128GBApple M2 Ultra 192GBApple M3 Ultra 256GBApple M3 Ultra 512GB
Why other calculators give a different number
A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 73.67 GiB. The real file is 79.71 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.
Architecture
from config.json
Layers
56
Attention heads
48
KV heads
8
Head dim
128
Hidden size
6144
Vocab
32,768
Sliding window
none
SWA period
—
MLA
no
Experts
8
Experts per token
2
use_sliding_window
—
Questions people ask
- How much VRAM does Mixtral-8x22B-Instruct-v0.1 need?
- Q4_K_M is exactly 85,593,307,840 bytes (79.71 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-8x22B-Instruct-v0.1's KV cache?
- 7.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-8x22B-Instruct-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-8x22B-Instruct-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.