Small language models (SLMs) such as Llama, Qwen, Phi and Gemma bring language capabilities to edge devices, but fitting them into tight memory and compute budgets usually requires aggressive quantization—and every bit removed puts accuracy at risk. In this talk, we use llama.cpp to examine how far SLMs can be quantized and what quantization it costs. We introduce the GGUF model format and llama.cpp’s block quantization schemes, from 8-bit Q8_0 to 4-bit Q4_K_M and sub-4-bit IQ formats. We then compare 8-bit, 4-bit and sub-4-bit versions of Qwen, Llama and Phi-4 using perplexity and MMLU accuracy. Next, we show how importance-aware and mixed-precision quantization, careful selection of calibration data and protection of sensitive layers recover accuracy at low bit widths. Attendees will leave with practical guidelines for choosing quantization formats that balance model size, speed and accuracy on edge devices.

