AI & Emerging Interfaces

Four-Bit Quantization Cuts Local AI Models by 75%

Four-bit quantization cuts local AI models to a quarter of FP16 size. Here is how GGUF, MLX, NVFP4 and Q-numbers map to your hardware, and what each tradeoff costs.

  • AuthorPriya Raman
  • ChannelAI & Emerging Interfaces
  • Filed
  • Read4 min
Four-Bit Quantization Cuts Local AI Models by 75%
axonite / pixabay
  • Four-bit quantization cuts model size by roughly 75% versus FP16; a 27B model needs about 54 GB at full precision.
  • GGUF suits Windows/Linux; Apple's MLX is often faster on M1-or-newer Macs; NVFP4 targets RTX 50 series and DGX Spark.
  • LM Studio needs macOS 14+ (no Intel) and 16 GB RAM with 4 GB VRAM on Windows.
  • Bart reports DeepSeek V4 Flash initially failed in oMLX until an engine update fixed it.
  • A 16 GB machine may expose only 12 GB to the model, leaving an 8 GB model about 4 GB for conversation memory.

Four-bit quantization shrinks an open AI model to roughly a quarter of its FP16 size — that is the single number that decides whether a 27-billion-parameter model, 54 GB at full 16-bit precision, fits on the laptop you already own. The rest is plumbing: which file format your hardware loads, which app opens it, and how much memory you leave for the conversation itself.

That is the substance of a new explainer from Bart (Bart Explains Local AI), and the claims hold up under stress-testing, with one caveat attached to nearly every promise.

Which format does your machine actually want?

GGUF is the starting point for Windows and Linux, including machines with NVIDIA or AMD cards, and it runs without a graphics card at all. Built for the free llama.cpp engine, it can split a model between graphics memory and system memory — useful, but a split model runs slightly slower. No free lunch there.

On Apple silicon Macs with M1 or newer chips, start with MLX. Apple built it for those machines, and it is often faster than GGUF on the same hardware. Watch the naming: MLX files say "4-bit" or "8-bit" where GGUF files say Q4 or Q8.

NVFP4 is NVIDIA's four-bit format for newer hardware — RTX 50 series cards and DGX Spark. Newer chips run it directly and a speed benefit is expected on those devices. Older NVIDIA cards get no boost. It takes about as much memory as Q4 and can appear inside a GGUF file name, running on Mac GPUs in newer llama.cpp builds.

What do the Q numbers buy you?

Quantization reduces the precision of a model's billions of stored numbers. Moving from 16 bits to four bits cuts size by roughly 75%, though reduced precision can affect answer quality. The tradeoff is real, not theoretical.

  • Q4 — roughly a quarter of the original size; a small quality drop most people cannot distinguish
  • Q6 — smaller than Q8; try it if memory is spare
  • Q8 — about half the original size; quality nearly identical to the original
  • Q3 and Q2 — even less space, but answers may become noticeably worse

Leave a few gigabytes free for conversation memory. A 16 GB computer might have only 12 GB available for this work; an 8 GB model then leaves about 4 GB for the conversation. Fill everything with the model and it slows down and forgets.

The letters matter too. In Q4_K_M, K means the recipe retains more precision for important parameters while compressing others; M means medium, with S, L and XL at small, large and extra large. IQ2 and IQ3 hold up better under extreme compression. On Macs, oMLX uses OQ4-style names, where a final E — as in OQ4E — signals extra care with important numbers. Unsloth's UD files use a dynamic recipe that decides per-layer compression. Unsloth, bartowski and mlx-community are the most frequently seen uploaders — but anyone can publish, and some versions do not work well.

Which app runs what?

A GGUF engine cannot open an MLX model, and vice versa. Free LM Studio searches Hugging Face, labels files by whether they fit your machine, and supports GGUF (via llama.cpp, on Mac, Windows and Linux) plus MLX on Apple silicon. Its Mac build needs macOS 14 or later and drops Intel Macs; on Windows the maker recommends at least 16 GB RAM and 4 GB dedicated graphics memory. Ollama supports both formats, defaulting to MLX on supported Macs, and one command exposes a model to other AI apps. The buttonless llama-server underlies both and usually supports brand-new models first.

All four apps can serve models to coding editors and AI agents — local models that other apps talk to as they would ChatGPT or Claude, without data leaving the computer.

What does not get said loudly enough?

Safetensors files are the large full-precision originals, mostly for servers; most home apps cannot open them, so check before downloading. GPTQ and AWQ target graphics-card servers running vLLM. New models can need an engine update: Bart notes DeepSeek V4 Flash initially failed in oMLX and worked only after one. And search and download still need an internet connection, even when running is local. Trust the uploader — the file runs on your machine.

His verdict: format matters more than Q number. A mismatched format means the model will not open at all, while an off Q number is a gentle tradeoff between size and sharpness. As local toolchains consolidate around llama.cpp, that hierarchy of failure modes looks set to hold.

Source: geeky-gadgets.com

More from Priya Raman

Priya Raman

Show full bio

Market editor covering technology and product news in Product and interaction design, design systems at Interface Wire.

189 articles

Related articles

« Previous articleNext article »