meta-llama · vision language · mixture of experts

Llama-4-Maverick-17B-128E-Instruct

meta-llama/Llama-4-Maverick-17B-128E-Instruct

Llama-4-Maverick-17B-128E-Instruct at Q4_K_M is exactly 242,767,153,440 bytes (226.09 GiB / 242.77 GB) — an effective 4.836 bits per weight, not the nominal 4.

From the file· summed from 5 file(s)From the file· KV from mirror (mirror:unsloth/Llama-4-Maverick-17B-128E-Instruct)
Parameters
402B
total, not active
Architecture
llama4
48 layers
Context
1,048,576
native (config.json)
License
llama4

Shipped quantizations

exact bytes, summed from published files
QuantSizeExact bytesEffective bpwTensorsPublisher
TQ1_02 shards92.59 GiB99,421,158,9121.981GeorgyGUF
UD-TQ1_098.45 GiB105,711,920,8322.106unsloth
UD-IQ1_S3 shards111.20 GiB119,399,114,7842.379unsloth
UD-IQ1_S3 shards112.48 GiB120,769,472,5442.406unsloth
UD-IQ1_M3 shards117.57 GiB126,239,967,2322.515unsloth
UD-IQ1_M3 shards118.78 GiB127,539,546,1442.541unsloth
UD-IQ2_XXS3 shards124.85 GiB134,055,135,2322.671unsloth
UD-IQ2_XXS3 shards125.91 GiB135,196,116,9922.693unsloth
UD-IQ2_M3 shards131.54 GiB141,235,914,7842.814unsloth
Q2_K3 shards135.64 GiB145,645,120,5442.901unsloth
Q2_K3 shards135.64 GiB145,645,120,5442.901unsloth
Q2_K_L3 shards135.87 GiB145,887,578,1442.906unsloth
Q2_K_L3 shards135.87 GiB145,887,578,1442.906unsloth
UD-IQ3_XXS4 shards157.10 GiB168,681,080,9603.360unsloth
UD-IQ3_XXS4 shards157.69 GiB169,314,814,0803.373unsloth
Q3_K_S4 shards160.80 GiB172,655,990,4003.439unsloth
Q3_K_S4 shards160.80 GiB172,655,990,4003.439unsloth
Q3_K_M4 shards177.95 GiB191,068,984,9603.806unsloth
Q3_K_M4 shards177.95 GiB191,068,984,9603.806unsloth
IQ4_XS5 shards199.61 GiB214,324,857,1204.270unsloth
IQ4_XS5 shards199.61 GiB214,324,857,1204.270unsloth
UD-IQ4_XS5 shards205.52 GiB220,673,767,1684.396unsloth
IQ4_NL5 shards210.26 GiB225,767,442,6564.497unsloth
IQ4_NL5 shards210.26 GiB225,767,442,6564.497unsloth
Q4_05 shards211.19 GiB226,766,211,2964.517unsloth
Q4_K_S5 shards212.15 GiB227,799,058,6884.538unsloth
Q4_K_S5 shards212.15 GiB227,799,058,6884.538unsloth
Q4_K_M5 shards226.09 GiB242,767,153,4404.836unsloth
Q4_K_M5 shards226.09 GiB242,767,153,4404.836unsloth
Q4_16 shards233.50 GiB250,714,806,6244.995unsloth
Q4_16 shards233.50 GiB250,714,806,6244.995unsloth
Q5_K_S6 shards256.76 GiB275,693,627,7765.492unsloth
Q5_K_S6 shards256.76 GiB275,693,627,7765.492unsloth
Q5_K_M6 shards264.93 GiB284,467,259,7765.667unsloth
Q5_K_M6 shards264.93 GiB284,467,259,7765.667unsloth
UD-IQ2_M7 shards273.65 GiB293,827,825,6645.853unsloth
Q6_K7 shards306.19 GiB328,773,622,7526.550unsloth
Q6_K7 shards306.19 GiB328,773,622,7526.550unsloth
Q8_09 shards396.57 GiB425,817,094,0488.483unsloth
Q8_09 shards396.57 GiB425,817,094,0488.483unsloth

KV cache by context

unresolved

This model declares a 8,192-token sliding window, but we could not establish which layers use it. Its architecture publishes the layout as a per-layer array inside the model file rather than as a period in config.json, and we have not yet ingested that array.

A flat context × layers × heads figure would be substantially too high, so we are not showing one. This is tracked as a known gap rather than filled with a guess.

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 210.38 GiB. The real file is 226.09 GiB, because a quantization is a mixture and some tensors are always kept at higher precision.

Architecture

from mirror:unsloth/Llama-4-Maverick-17B-128E-Instruct
Layers
48
Attention heads
40
KV heads
8
Head dim
128
Hidden size
5120
Vocab
202,048
Sliding window
8192
SWA period
MLA
no
Experts
128
Experts per token
1
use_sliding_window

Questions people ask

How much VRAM does Llama-4-Maverick-17B-128E-Instruct need?
Q4_K_M is exactly 242,767,153,440 bytes (226.09 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
Is Llama-4-Maverick-17B-128E-Instruct a mixture-of-experts model?
Yes — 128 experts, 1 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 Llama-4-Maverick-17B-128E-Instruct 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.