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 4-bit Quantization?
LLMs

What is 4-bit Quantization?

Updated September 27, 2026 Read 3 min

4-bit quantization stores a model's weights using only four bits each, cutting memory use to roughly a quarter of 16-bit precision and making large models runnable on consumer hardware.

Contents 11
  1. 01Key takeaways
  2. 024-bit quantization explained in simple terms
  3. 03The memory maths
  4. 04How 16 levels can be enough
  5. 05Common 4-bit formats
  6. 06Quality impact
  7. 07When to use 4-bit
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

4-bit quantization stores a model’s weights using four bits each instead of 16, reducing memory use to roughly a quarter with a modest quality cost. It is the level that makes large open-weight models practical on consumer GPUs and laptops, and it underpins QLoRA fine-tuning.

Key takeaways

  • Four bits allow only 16 distinct values per weight, plus a scale per group.
  • A 7-billion-parameter model needs about 3.5 GB for weights at 4-bit, versus 14 GB at 16-bit.
  • Common formats include NF4, GPTQ 4-bit, AWQ 4-bit and GGUF K-quants.
  • Quality loss is usually small for general chat, larger for maths and code.
  • Group size and calibration strongly affect results.

4-bit quantization explained in simple terms

Imagine recording every measurement in a workshop to the nearest millimetre rather than the nearest micrometre. Almost every job still comes out fine, the notebook is far smaller, and only the most precise work suffers. Four-bit quantization makes that trade for model weights.

The memory maths

Model size16-bit weights8-bit4-bit
7Babout 14 GB7 GBabout 3.5 GB
13Babout 26 GB13 GBabout 6.5 GB
70Babout 140 GB70 GBabout 35 GB

Real usage is higher because of the attention cache and activations, but the pattern is what matters: 4-bit turns a multi-GPU model into a single-GPU one.

How 16 levels can be enough

Weights are quantized in groups, often 32, 64 or 128 values, each with its own scale factor. Within a group, weights are mapped to 16 levels spread across the group’s range. Because weights within a small group tend to be similar in magnitude, the error per weight stays small. Smaller groups mean better accuracy and slightly more overhead for storing scales.

Worked example: a group of 64 weights ranging from −0.12 to +0.12 is mapped onto 16 levels spaced about 0.016 apart. A weight of 0.071 becomes the nearest level, 0.072, an error of 0.001. Averaged over billions of weights, such errors have limited effect on output.

Common 4-bit formats

FormatNotes
NF44-bit NormalFloat, designed for normally distributed weights; used in QLoRA
GPTQPost-training method using calibration data to minimise error
AWQActivation-aware; protects the most important weights
GGUF K-quantsMixed-precision schemes such as Q4_K_M, widely used in llama.cpp

Quality impact

For general conversation and writing, 4-bit models are often hard to distinguish from 16-bit. Degradation is more noticeable in:

  • Multi-step maths and arithmetic.
  • Code generation and debugging.
  • Long-context reasoning.
  • Less-resourced languages.

A useful rule from practical experience: a larger model quantized to 4-bit usually beats a smaller model at 16-bit for the same memory budget, though this should be tested on your own tasks.

When to use 4-bit

  • Running models locally on consumer hardware.
  • Serving large models on limited GPUs.
  • Fine-tuning with QLoRA.
  • Cost-sensitive, high-volume deployments where small quality losses are acceptable.

Limitations

  • Clear quality loss on precision-sensitive tasks.
  • Speed gains depend on hardware support for low-precision operations.
  • Formats are not interchangeable across tools.
  • Quantized checkpoints must match the runtime that produced them.

Common Use Cases

01

Local LLMs

Run capable models on laptops and consumer GPUs.

02

QLoRA fine-tuning

Fine-tune large models on a single GPU.

03

Edge deployment

Fit models onto memory-constrained devices.

04

Cost reduction

Serve larger models on cheaper hardware.

05

Private deployments

Host models on modest on-premises servers.

06

Prototyping

Test large models before investing in bigger infrastructure.

Frequently Asked Questions

Storing model weights using four bits each, cutting memory to about a quarter of 16-bit precision.

Roughly 3.5 GB for weights, plus additional memory for the attention cache and activations.

Usually only slightly for general chat, with larger effects on maths, code and long reasoning.

4-bit NormalFloat, a data type designed for normally distributed weights, used in QLoRA.

Often yes for the same memory budget, though it depends on the task and should be tested.

Related Terms

  • Model Quantization
  • 8-bit Quantization
  • QLoRA
  • GPTQ
  • AWQ
  • GGUF

Related AI Terms

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 Prefix Tuning?Prefix tuning is a parameter-efficient fine-tuning method that learns trainable vectors inserted into the attention keys and values…What is an Attention Mechanism?An attention mechanism is a technique that lets a neural network focus on the most relevant parts of…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 Multi-Head Attention?Multi-head attention runs several attention operations in parallel, each with its own learned projections, so a model can…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. 024-bit quantization explained in simple terms
  3. 03The memory maths
  4. 04How 16 levels can be enough
  5. 05Common 4-bit formats
  6. 06Quality impact
  7. 07When to use 4-bit
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

AI Topic

  • LLMs

Related Terms

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

Quick Navigation

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

Details

Updated
September 27, 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}