Q8_0
Q8_0 is an 8-bit integer quantization format in llama.cpp that balances high accuracy with good compression, offering near-lossless quality for many LLMs.
Q8_0 is an 8-bit quantization type in the GGUF/llama.cpp ecosystem. It stands for '8-bit, version 0' and uses a block size of 32, with each block storing a scale in FP16 and 32 weight values as 8-bit signed integers. This scheme yields an effective average bitrate of about 8.5 bits per weight due to the overhead of the per-block scale. Q8_0 is often considered the 'sweet spot' for quantization because it preserves over 99.9% of the original FP16 model's accuracy for most tasks, while reducing memory usage by nearly 50% compared to FP16. This makes it ideal for scenarios where model quality is paramount, and memory savings are still beneficial, such as running larger models on high-end consumer GPUs with 24GB VRAM. In llama.cpp, Q8_0 is the default quantization level for many users who want to deploy models with minimal degradation. Compared to Q4_K_M, Q8_0 uses about twice the memory but offers significantly better perplexity, especially on smaller models. On the hardware side, Q8_0 benefits from INT8 tensor cores when available, but even on CPUs, integer operations are efficient. The format is widely supported across all GGUF-based tools. It is also commonly used as a cache format for KV-cache quantization in some implementations. For anyone uncertain about which quantization to use, Q8_0 is a safe bet that rarely disappoints in terms of quality, though memory-constrained setups may need to drop to Q4 or Q5 variants. The '0' in the name indicates the schema version, but it is the only widely deployed version in llama.cpp.
Q8_0 loses significant accuracy; in reality, it is nearly indistinguishable from FP16 for most LLM tasks.
Related terms
Concepts you'll usually encounter alongside this one.
FP16 is a 16-bit floating-point format used in AI inference and training to reduce memory use and accelerate computation while maintaining acceptable precision.
INT8 is an 8-bit integer quantization format that significantly reduces model memory and speeds up inference by mapping floating-point values to 256 discrete levels.
Q4_K_M is a 4-bit quantization method in llama.cpp that combines 4-bit quantization for most weights with higher precision for important weights using a block size of 32.
GGUF is a binary format for storing quantized LLM models, designed for efficient CPU and GPU inference, superseding GGML.
Used in benchmarks
Workloads on MyAI Bench that involve Q8_0.
Mentioned in tutorials
Hands-on guides that put this concept to work.
Squeeze a 70-billion-parameter model onto a single RTX 4090 by quantizing weights to 4 bits. Quality stays high, VRAM usage drops to 24 GB.
What quantization actually does to a model, why Q4_K_M is the default sweet spot, and when to deviate. A practical reference for picking quants.
See how this term affects your memory budget.
Real numbers, real chips, every workload.
Picks for builders, by use case.
Stay Ahead of the AI Curve
Get weekly AI hardware news, benchmark updates, and deals in your inbox. Founding-subscriber list, be one of the first.