Top Quantization Bit-Depths for Speed-Accuracy Balance

4-bit quantization (e.g., INT4) is often considered the 'sweet spot' for production, reducing memory by up to 75% with minimal accuracy loss (typically 1-5% with advanced techniques). 8-bit quantization (INT8) offers even less quality degradation (under 1%) and 50% memory reduction, making it a low-risk starting point, while going below 4-bit usually results in significant accuracy drops.

The top 3

  1. Q4_K_M: The Optimal Balance for Most LLMs: Q4_K_M is widely considered the best general-purpose quantization, offering up to 75% memory reduction, such as shrinking a 7B model to ~4.4 GB, with often less than 1% quality loss, making it ideal for consumer hardware.
  2. Q8_0 & FP8: Near-Lossless Quality, Higher Memory: Q8_0 (8-bit) quantization delivers near-lossless accuracy, retaining over 99% of original model quality, while FP8 precision can process 2.2 times more tokens per second than FP16 on NVIDIA H100 GPUs, making them ideal when accuracy is critical and more memory is available.
  3. Q2_K & Q3_K_M: Max Compression for Scarcest RAM: Q2_K and Q3_K_M offer the most aggressive memory compression, significantly reducing model size to enable LLMs on extremely low-resource devices, though with a more noticeable impact on accuracy, making them suitable for simpler tasks or when fitting the model is the absolute priority.

Sources

Open the full topic