Quantization is the trick that shrinks giant AI models to fit consumer GPUs, with almost no quality loss. Here's what those Q4/Q5/Q8 labels actually mean — in plain English.
Ari Vale·Links and sources checked ·Updated ·Published ·10 min read
This page has referral links. As an Amazon Associate we earn from qualifying purchases.
Our Runpod referral code: nuninlts (link: https://console.runpod.io/signup?ref=nuninlts). A new account that signs up with Google through it and loads $10 gets a one-time bonus credit, a fixed $5 for European customers and a random $5 to $500 elsewhere (Runpod says most get $5), valid 90 days; we earn 3% of Pod and 5% of Serverless spend for the first 6 months (Runpod's referral docs).
Quantization is the trick that makes local AI possible on normal hardware: it stores an AI model's weights at lower precision — for example 4-bit numbers instead of the original 16-bit — which cuts the model's memory use by around 75% with almost no quality loss. A model that would need 48GB of VRAM at full precision fits in ~12GB at 4-bit. Without quantization, running capable AI models at home would require data-center GPUs; with it, a $220 used RTX 3060 runs models that rival cloud services. Those Q4, Q5, Q8 labels you see on model files are just quantization levels. Here's what they actually mean, in plain English.
Why does a 20 GB model file run on a 16 GB GPU?
Because the 20 GB file usually isn't the one people run, and with MoE models part of the model can sit in system RAM. We saw this asked on X about Thinking Machines' Inkling 2 Mini this week (@WorldStrategist asked how a model listed at about 20 GB runs on 16 GB). Three things are going on, and they apply to almost every new model.
1. The big file is the official checkpoint, not the quant. Inkling 2 Mini's own release is about 20 GB, stored in a mixed NVFP4 + MXFP8 format. Community GGUF builds shrink it further: Unsloth's 2-bit file is 8.5 GB and its 3-bit file 13.6 GB, both small enough for a 16 GB card.
2. MoE models don't need every expert on the GPU. Inkling 2 Mini has 26.4B parameters but uses only 3.4B per token. llama.cpp's --n-cpu-moe N keeps the expert weights of the first N layers in system RAM, so a 4-bit file bigger than your VRAM still runs, just slower. Unsloth's own memory table counts RAM + VRAM together, which is how a 17 GB 4-bit file runs with 16 GB of VRAM.
3. The file is not the whole bill. What you need is the weights plus the KV cache for your context plus about 0.8 GB of runtime overhead. A file that just fits can still fail once you ask for a long context.
Inkling 2 Mini, file size by version (GB, Hugging Face file lists read Nov 21, 2026). A 16 GB card holds about 17.2 decimal GB.
Full 16-bit (26.4B x 2 bytes, not published)about 52.8 GB
UD-Q8_K_XL (8-bit)22.9 GB
Official NVFP4 + MXFP8 checkpointabout 20.2 GB
UD-Q4_K_XL (Unsloth's pick)17.6 GB
UD-Q4_K_M (4-bit)16.6 GB
UD-Q3_K_XL (3-bit)13.6 GB
UD-IQ2_XXS (2-bit)8.5 GB
One more unit trap makes the gap look worse than it is: Hugging Face lists files in decimal gigabytes (1,000^3 bytes), while a "16 GB" graphics card holds 16 x 1,024^3 bytes, about 17.2 decimal GB. So the 16.6 GB 4-bit file is 15.5 GB in the units your GPU reports. It fits the bytes, but not with a context window and overhead on top, which is why people move a few experts to RAM or drop to 3-bit.
Inkling 2 Mini 3-bit with 32K of context, card by card
Inkling 2 Mini UD-Q3_K_XL at 32K context needs ≈14.5 GB
RTX 4060 8GB8 GBover 6.5 GB
RTX 3060 12GB12 GBover 2.5 GB
RTX 5060 Ti / 4060 Ti 16GB16 GBfits
RTX 3090 / 4090 24GB24 GBfits
Doesn't fit your card?
Rent a 24 GB+ GPU for the hours Inkling 2 Mini UD-Q3_K_XL at 32K context needs, then stop it.
Want the 4-bit or 8-bit file with a long context instead? Rent a 24 GB card by the hour.
13.6 GB file (12.7 GB in GPU units) + 1.0 GB KV cache at 32K (fp16, our engine) + 0.8 GB overhead. Below 16 GB, llama.cpp keeps some experts in system RAM with --n-cpu-moe.
Dense models are different. A dense model reads every weight for every token, so there is no cheap part to park in RAM. If a dense model's file is bigger than your VRAM, you either pick a smaller quant or offload whole layers (-ngl in llama.cpp), and every token then waits on the CPU's memory. Here is the same question for Qwen3.8 27B, a dense model, from our VRAM engine.
Qwen3.8 27B (dense), memory by quant from our VRAM engine (GB of 1,024^3 bytes, fp16 KV cache, Nov 21, 2026)
An AI model is billions of numbers (weights). By default each is stored at high precision — 16 bits — which is accurate but memory-heavy. Quantization rounds those numbers to fewer bits, like 4, which takes a quarter of the space. The clever part is that modern quantization methods are smart about which numbers to round and by how much, so the model's behavior barely changes — for most tasks, a 4-bit model's answers are indistinguishable from the full-precision version. It's a bit like a high-quality JPEG: much smaller than the raw image, but you can't tell the difference at a glance. That's the whole magic: you trade a tiny, usually-imperceptible amount of quality for a massive reduction in VRAM needed, which is what lets a 32-billion-parameter model run on a 24GB gaming GPU such as the RTX 3090 instead of needing a $30,000 data-center card.
What the quantization levels mean
Q8
Label
8-bit
Precision
Highest quality, ~half size, more VRAM
Q5
Label
5-bit
Precision
Great quality, a bit bigger than Q4
Q4_K_M
Label
4-bit
Precision
The sweet spot — near-lossless, ~quarter size
Q3 and below
Label
3-bit or less
Precision
Noticeable quality loss — tiny VRAM only
Label
Precision
Trade-off
Q8
8-bit
Highest quality, ~half size, more VRAM
Q5
5-bit
Great quality, a bit bigger than Q4
Q4_K_M
4-bit
The sweet spot — near-lossless, ~quarter size
Q3 and below
3-bit or less
Noticeable quality loss — tiny VRAM only
Quantization is like a smart JPEG for AI models — a quarter the size, near-identical output. · Unsplash
Which level should you use?
For almost everyone, the answer is Q4_K_M — 4-bit, and specifically the 'K_M' variant, which is the standard sweet spot. It gives you near-full quality at roughly a quarter of the memory, which is why it's what Ollama and LM Studio hand you by default and what the whole local-AI world runs on. Step up to Q5 or Q6 only if you have spare VRAM and want a touch more fidelity — the quality gain over Q4_K_M is small. Go to Q8 if you have plenty of VRAM and want maximum quality without running full 16-bit. And avoid Q3 and below unless you're desperate to squeeze a model into very limited VRAM — below Q4, the quality drop becomes noticeable, and you're usually better off running a smaller model at Q4 than a bigger one at Q3. Our 8GB, 16GB and 24GB model guides list the quant we would actually run on each card, and what AI can my PC run checks your own GPU. The practical rule: default to Q4_K_M, and only deviate if you have a specific reason. It's the setting that makes running AI locally work on the hardware you actually own.
Live price check
RTX 4090 rental prices right now
Pricier than usualToday's typical on-demand price is higher than on 100% of the last 30 days. If you can wait, it has been cheaper.
cheapest daypriciest day
Now vs usualThe typical on-demand price is $0.400/hr now, 21% above its 30-day median of $0.330/hr.
Lowest in 30 daysLowest typical on-demand price in the last 30 days: $0.330/hr on Nov 2 (Novita AI).
Last 7 daysOver the last 7 days the typical on-demand price is rising, up 21%.
Cheapest right nowCheapest on-demand right now: Lium at $0.330/hr, then Vast.ai at $0.332/hr.
Provider spreadThe same card costs 2.7× more on Runpod ($0.890/hr) than on Lium ($0.330/hr), so shop around.
Computed from our live prices as of . Compared like for like: the typical on-demand price is the median listing at the cheapest provider, today and on each past day. Vast.ai, Runpod, Lium and Novita, updated every hour, nothing typed by hand.
Quantization is a technique that stores an AI model's weights at lower numerical precision — for example 4-bit instead of the original 16-bit — to dramatically reduce how much memory the model uses. At 4-bit, it cuts VRAM requirements by roughly 75% with minimal quality loss, because modern quantization methods are smart about how they round the numbers. This is the key technology that lets large AI models run on consumer GPUs at home; without it, you'd need expensive data-center hardware. The Q4/Q5/Q8 labels on model files indicate the quantization level.
What does Q4, Q5, or Q8 mean for AI models?
They indicate the quantization level — how many bits are used to store each weight. Q4 means 4-bit (smallest and most memory-efficient), Q5 is 5-bit, and Q8 is 8-bit (larger, higher fidelity, using about half the memory of full 16-bit). Lower numbers mean smaller size and slightly lower quality; higher numbers mean more precision and larger files. Q4_K_M — a specific 4-bit method — is the sweet spot for local AI, offering near-lossless quality at roughly a quarter of the full model's memory. It's the recommended default.
Why does a 20 GB model file run on a 16 GB GPU?
Usually because the 20 GB file is the official checkpoint and people run a smaller quantized GGUF. Inkling 2 Mini's official release is about 20 GB, but Unsloth's 3-bit file is 13.6 GB and its 2-bit file 8.5 GB, both small enough for a 16 GB card. For MoE models, llama.cpp's --n-cpu-moe can also keep some expert weights in system RAM, which is why Unsloth lists memory needs as RAM plus VRAM. Remember to budget the KV cache and about 0.8 GB of overhead on top of the file.
Does a model need as much VRAM as its file size?
It needs at least the file size plus the KV cache for your context plus runtime overhead. Qwen3.8 27B at Q4_K_M is 15.7 GB of weights on our engine but about 18.5 GB in total at 32K of context, so it needs a 20 to 24 GB card. MoE models can run with less VRAM than the file by keeping experts in system RAM, at lower speed.
Does quantization reduce AI model quality?
Only slightly, and usually imperceptibly at 4-bit and above. Modern quantization methods like Q4_K_M are designed to minimize quality loss, so a 4-bit model's outputs are typically indistinguishable from the full-precision version for most tasks — similar to how a good JPEG looks the same as the original at a glance. Quality does drop noticeably below 4-bit (Q3 and lower), so those are only worth using to fit a model into very limited VRAM. For normal use, Q4_K_M gives you nearly full quality while using a quarter of the memory.
Quantization is the reason a normal PC can run capable AI — it shrinks models ~75% at 4-bit with near-zero quality loss, and Q4_K_M is the default to use. It's why cheap GPUs run big models. For the file formats that package it, see GGUF vs EXL2; to see the memory math for any model, use the VRAM calculator. To test a bigger quant before buying a card, see our Vast review and Runpod review. Source: Hugging Face.