Skip to content
Query Feedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  1. Home /
  2. AI Glossaries /
  3. LLMs /
  4. What is Model Quantization?
LLMs

What is Model Quantization?

Updated September 21, 2026 Read 3 min

Model quantization reduces the precision of a model's numbers, for example from 16-bit to 8-bit or 4-bit, so it uses less memory and runs faster, usually with only a small loss in quality.

Contents 11
  1. 01Key takeaways
  2. 02Model quantization explained in simple terms
  3. 03The memory maths
  4. 04How quantization works
  5. 05Types of quantization
  6. 06Popular methods and formats
  7. 07Quantization vs distillation vs pruning
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

Model quantization is a technique that stores and computes a model’s numbers, mainly its weights, with fewer bits, for example 8-bit or 4-bit instead of 16-bit. This shrinks the model’s memory footprint and often speeds up inference, making it possible to run large models on smaller GPUs, laptops and phones. The trade-off is usually a small loss in accuracy.

Key takeaways

  • Fewer bits per number means smaller, cheaper, often faster models.
  • A 7-billion-parameter model needs about 14 GB at 16-bit, 7 GB at 8-bit and about 3.5 GB at 4-bit, for weights alone.
  • Post-training quantization is fast; quantization-aware training preserves more quality.
  • Popular methods and formats include GPTQ, AWQ, bitsandbytes and GGUF.
  • Very low bit levels, such as 2–3 bits, can noticeably hurt quality.

Model quantization explained in simple terms

Imagine storing prices as ₹1,249.3781 when ₹1,249 is good enough. Rounding saves space with little practical loss. Quantization rounds a model’s billions of numbers to simpler values that fit in fewer bits. Do it carefully and the model behaves almost the same. Round too aggressively and it starts making more mistakes.

The memory maths

PrecisionBytes per parameter7B model (weights only)70B model (weights only)
FP32 (32-bit)4about 28 GBabout 280 GB
FP16 / BF16 (16-bit)2about 14 GBabout 140 GB
INT8 (8-bit)1about 7 GBabout 70 GB
4-bit0.5about 3.5 GBabout 35 GB

Real memory use is higher, because running a model also needs space for the key-value cache and activations. Still, 4-bit quantization can let a 70-billion-parameter model fit on hardware that could never hold it at 16-bit.

How quantization works

A group of weights is mapped from a wide range of precise values onto a small set of levels. For 4-bit, there are only 16 possible levels. Each group stores a scale (and sometimes a zero point) to convert levels back to approximate real values during computation.

Worked example: suppose a group of weights ranges from −1.0 to +1.0 and we use 8-bit integers (−127 to 127). The scale is 1.0 ÷ 127 ≈ 0.00787. A weight of 0.4321 becomes round(0.4321 ÷ 0.00787) = 55, stored as the integer 55. When used, it is converted back: 55 × 0.00787 ≈ 0.4329. The error, less than 0.001, is tiny, and across billions of weights such small errors usually have little effect.

Types of quantization

TypeWhen appliedNotes
Post-training quantization (PTQ)After trainingFast and cheap; most common for LLMs
Quantization-aware training (QAT)During trainingModel learns to cope with low precision; better quality, more effort
Weight-onlyWeights quantized, activations kept higher precisionCommon for LLM inference
Weight and activationBoth quantizedBigger speed gains; harder to keep quality

Popular methods and formats

  • GPTQ (2022): post-training method using calibration data to minimise error.
  • AWQ (2023): protects the most important weights based on activations.
  • bitsandbytes: a library for 8-bit and 4-bit loading, used in QLoRA fine-tuning.
  • GGUF: a file format used by llama.cpp and tools like Ollama to run quantized models locally on CPUs and consumer GPUs.

Quantization vs distillation vs pruning

  • Quantization: same model, fewer bits per number.
  • Distillation: train a smaller model to imitate a larger one.
  • Pruning: remove weights or parts of the network.

These are often combined.

Limitations

  • Quality loss increases at very low bit widths.
  • Some tasks, such as maths, code and less common languages, can be more sensitive.
  • Speed gains depend on hardware support for low-precision maths.
  • Different formats and tools are not always compatible.

Common Use Cases

01

Running LLMs locally

Fit capable models on laptops and consumer GPUs using 4-bit formats.

02

Cutting cloud inference costs

Serve more requests per GPU with smaller quantized models.

03

On-device AI

Run language and vision models on phones and edge hardware.

04

Efficient fine-tuning

Use 4-bit base models in QLoRA to fine-tune on a single GPU.

05

Low-latency applications

Speed up responses where hardware supports low-precision maths.

06

Private deployments

Self-host models on modest hardware to keep data in-house.

Frequently Asked Questions

Storing and computing a model's numbers with fewer bits, such as 8-bit or 4-bit, to reduce memory and speed up inference.

Usually slightly at 8-bit and 4-bit, and more noticeably at very low bit levels such as 2–3 bits.

About 14 GB at 16-bit, 7 GB at 8-bit and 3.5 GB at 4-bit for weights, plus extra memory for running.

A model file format used by llama.cpp and related tools to run quantized models locally.

Quantization keeps the same model with lower precision. Distillation trains a new, smaller model to mimic a larger one.

Related Terms

  • Model Distillation
  • Small Language Model
  • LLM Inference
  • QLoRA
  • Open-Weight Model
  • GGUF

Related AI Terms

What is Self-Attention?Self-attention is a mechanism where each position in a sequence attends to every other position in the same…What is Positional Encoding?Positional encoding is the method transformers use to represent the order of tokens in a sequence, because the…What is an Attention Head?An attention head is a single attention unit inside a transformer layer, with its own query, key and…What is Multi-Head Attention?Multi-head attention runs several attention operations in parallel, each with its own learned projections, so a model can…What is Prefix Tuning?Prefix tuning is a parameter-efficient fine-tuning method that learns trainable vectors inserted into the attention keys and values…What is RoPE (Rotary Positional Embedding)?RoPE (rotary positional embedding) encodes a token's position by rotating its query and key vectors by an angle…

Contents

  1. 01Key takeaways
  2. 02Model quantization explained in simple terms
  3. 03The memory maths
  4. 04How quantization works
  5. 05Types of quantization
  6. 06Popular methods and formats
  7. 07Quantization vs distillation vs pruning
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

AI Topic

  • LLMs

Related Terms

  • What is Self-Attention?
  • What is Positional Encoding?
  • What is an Attention Head?
  • What is Multi-Head Attention?
  • What is Prefix Tuning?
  • What is RoPE (Rotary Positional Embedding)?

Quick Navigation

  • Common Use Cases
  • Frequently Asked Questions
  • Related Terms
  • Back to top

Details

Updated
September 21, 2026
Read
3 min
  • Forum
  • Submit a tool
  • Submit Guest Post
  • List Your Startup
  • Privacy Policy
  • Editorial Policy
  • Account
  • Contact
  • AI Productivity
  • AI Video
  • AI Coding
  • AI Chatbots
  • Sales
  • AI Business
  • View All Tools

Subscribe our Newsletter

Get weekly exclusive content - No spam.

Copyright © 2026 -  Query Feedz

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}