• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
Best Free Web Resources — local AI tools and hardware guides

Best Free Web Resources

Local AI Tools & Digital Engineering Resources

What can I run?
  • AI Tools
    • Start: Local LLMs
    • Ollama Models & VRAM
    • LM Studio Models
    • GPU Comparison
    • AI Hardware Matrix
    • Local LLM Directory
    • VRAM Calculator
    • Hardware Compare
    • Local Model Recommender
    • API Pricing & ROI
  • Local AI Guides
  • Web Resources
    • Inspiration
    • Photography
    • Games
    • SEO
    • Tutorial
      • Coding
      • WordPress
    • Resume/CV
    • Graphics
      • Logo
    • Freebies
Illustration comparing 16-bit, 8-bit and 4-bit weights, for a quantization guide

Quantization Guide for Local LLMs: Q4_K_M vs Q8_0 vs FP8 (DeepSeek R1 Examples)

September 15, 2026 by Rupesh Kumar

When you download a model for Ollama or LM Studio, you’ll see labels like Q4_K_M, Q8_0 or FP8. These are quantization levels: ways of compressing a model’s weights so it takes less memory and runs faster, at some cost to accuracy. This guide uses the DeepSeek R1 distills as examples, but the same rules apply to Qwen, Gemma, gpt-oss and other models. It explains what each format means, how much memory it needs, and which one to pick.

Quick Answer

  • Q4_K_M: the default choice for most people. It’s about a third of the size of FP16, with a small quality loss that’s usually hard to notice in everyday use.
  • Q5_K_M / Q6_K: use these if you have spare memory and want a bit more quality.
  • Q8_0: close to full quality at about half the size of FP16. Good if memory isn’t tight.
  • Below 4-bit (Q3, Q2, IQ2): only when you must squeeze a big model in. Quality drops noticeably, especially on smaller models.
  • FP8 / FP4 (NVFP4, MXFP4): GPU-oriented formats used by runtimes such as vLLM, and by some models that ship natively in them (gpt-oss uses MXFP4).

Memory Needed by Format (Weights Only)

Model Q4_K_M (~4.8 bits) Q5_K_M (~5.7 bits) Q6_K (~6.6 bits) Q8_0 (~8.5 bits) FP16
R1 distill 8B ~4.8GB ~5.7GB ~6.6GB ~8.5GB ~16GB
R1 distill 14B ~8.4GB ~9.9GB ~11.5GB ~14.8GB ~28GB
R1 distill 32B ~19GB ~23GB ~26GB ~34GB ~64GB
R1 distill 70B ~42GB ~50GB ~57GB ~74GB ~140GB

Add memory for the KV cache (context) and runtime overhead on top of these figures. Our VRAM Calculator does the full calculation for your context length.

How Much Quality Do You Lose?

Quantization quality is usually measured with perplexity (how “surprised” a model is by real text) and task benchmarks. Published results from the llama.cpp project and the community show a consistent pattern:

  • Q8_0 is nearly indistinguishable from full precision in most tests.
  • Q6_K and Q5_K_M show very small losses.
  • Q4_K_M shows a small but measurable loss. It’s widely considered the best size-to-quality trade-off.
  • Below 4 bits, losses grow quickly. Smaller models suffer more than large ones.
  • Larger models tolerate quantization better. A 32B model at Q4 generally outperforms a 14B model at Q8 of similar size.

Reasoning models like DeepSeek R1 produce long chains of thought, so small errors can compound. If you notice odd reasoning at low bit-widths, step up a level. We don’t publish perplexity numbers of our own. For exact figures, see the llama.cpp perplexity discussions and the model publishers’ quantization notes.

Newer Quantization Techniques

  • i-quants (IQ formats) and importance matrices: llama.cpp can use calibration data to keep the most important weights more precise, which improves quality at low bit-widths.
  • Dynamic quantization: some publishers keep sensitive layers at higher precision, and this has made very low-bit versions of huge models (like the full 671B R1) usable.
  • FP8 and FP4 on GPUs: NVIDIA’s Ada and Blackwell GPUs accelerate FP8, and Blackwell adds native FP4. Formats like NVFP4 and MXFP4 let GPU runtimes run large models efficiently.
  • KV cache quantization: storing the context cache at 8-bit can save a lot of memory for long conversations, with little quality impact.

Which Should You Choose?

  1. Pick the largest model that fits your memory at Q4_K_M, with room for context.
  2. If you have leftover memory, move up to Q5_K_M, Q6_K or Q8_0 of the same model.
  3. Only drop below 4-bit to run a much bigger model you couldn’t otherwise fit.

For how memory, bandwidth and speed relate, see How Much RAM and VRAM Do You Need? To run the models, follow How to Run DeepSeek R1 Locally. You can also compare models in the Local LLM Directory.

FAQ

Is Q4_K_M good enough?

For most chat, writing and coding use, yes. It’s the most popular choice for local models.

Does quantization make models faster?

Usually, yes. Smaller weights mean less data to read per token, and memory bandwidth is the main speed limit on consumer hardware.

Sources

llama.cpp project (quantization types and perplexity tooling), DeepSeek model cards, OpenAI gpt-oss-20b model card (MXFP4).

Updated September 11, 2026: removed perplexity and speed figures that weren’t from our own testing, and added current formats (FP4, i-quants, KV cache quantization).

⚡ Free Interactive Tools

Work out what your hardware can actually run

Free calculators and directories, sized from real model weights — before you download gigabytes or order a card:

📦 Ollama Models & VRAM Memory cost + pull command 🗜️ GGUF Size Calculator File size at every quant level ⚡ VRAM & KV Calculator Weights, cache and overhead 🚀 Start: Local LLMs Hardware, runner and first model

Filed Under: Coding, Technology, Tips Tagged With: DeepSeek R1, FP8, GGUF, Local AI, Ollama, Perplexity, Quantization, VRAM

About Rupesh Kumar

Rupesh Kumar founded Best Free Web Resources in 2010 and edits the site. He writes about free web resources, web development and running open AI models locally. Learn more: About BFWR & our editorial standards → · Follow on X (@bestfreewebres) →

Primary Sidebar

⚡ FREE INTERACTIVE TOOLS

Local AI Hardware & VRAM Matrix

Benchmark your PC or Mac for local AI, calculate VRAM requirements, and compare cloud API costs vs local hardware ROI.

🚀 New here? Start with Local LLMs → 💻 Hardware Matrix (75 Devices) → 📚 Local LLM Directory (30 Models) → 🎮 AI GPU Comparison → ⚡ VRAM & KV Cache Calculator → 💰 API Pricing & Break-Even → 🍎 Mac VRAM Unlocker (90% Boost) →
📦 Ollama 🖥️ LM Studio ⚙️ llama.cpp 🚦 vLLM 💬 Open WebUI 🎨 ComfyUI 🔒 Self-Hosted 📊 VRAM Tiers 🎯 Recommender ⚖️ Comparisons

Search

  • Facebook
  • Instagram
  • RSS
  • Twitter
  • YouTube

Footer

Latest Guides

  • Mac mini M6 for Local AI: Which Configuration to Buy, and Why 16GB Is Slower
  • LM Studio Bionic: What It Does, What It Costs, and What Stays Local
  • llmfit: How the Local LLM Fit Checker Works, and How Far to Trust It
  • How to Run GLM-5.3-Flash Locally: 321B, MIT Licence, and the Memory It Takes
  • Why Modern Online Slots Feel Different Even When the Basic Format Looks the Same
  • How to Run Qwen3.8-Flash-Next Locally: Memory, Speed and the Licence Catch

AI Tools & Calculators

  • What can I run?
  • VRAM Calculator
  • GGUF Size Calculator
  • Fine-tuning VRAM
  • LoRA Training VRAM
  • Image Generation VRAM
  • Mac VRAM Optimizer

Browse & Compare

  • Models Directory (30 models)
  • Hardware Matrix (75 devices)
  • Image Models
  • Model Licences
  • Comparisons
  • Model Recommender
  • API Pricing & ROI

Guides & Resources

  • Technology
  • Coding
  • Tutorials
  • Freebies
  • Graphics

Copyright © 2026 · Best Free Web Resources · All Rights Reserved.  |  About · Privacy Policy · Contact · AI Tools Hub