Quantization Trade-offs for LLM Inference on Apple Silicon: A Practical Speed, Memory, and Accuracy Benchmark

Deploying large language models (LLMs) on consumer hardware typically requires quantization to reduce memory footprint and increase inference speed, but the practical trade-offs of this compression are not well characterized on Apple Silicon, where most existing benchmarks focus on NVIDIA GPU deployments. We present a systematic evaluation of three inference frameworks — MLX, llama.cpp, and their respective 4-bit and 8-bit quantization schemes — across three open-weight language models (Llama-3.2-3B, Qwen2.5-3B, and Phi-3.5-mini) on an Apple M4 MacBook Air. We find that MLX consistently outperforms llama.cpp in generation speed, that 8-bit quantization achieves perfect accuracy while 4-bit shows a measurable accuracy cost concentrated in code and arithmetic tasks, and that peak memory usage is driven primarily by each model's default context-window allocation rather than by quantization level.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-09-14
DOI
https://doi.org/10.5281/zenodo.22738012
Primary Topic
Natural Language Processing Techniques
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Quantization Trade-offs for LLM Inference on Apple Silicon: A Practical Speed, Memory, and Accuracy Benchmark

Sameer Ahmed
Zenodo (CERN European Organization for Nuclear Research)
Natural Language Processing Techniques
preprint

Quantization Trade-offs for LLM Inference on Apple Silicon: A Practical Speed, Memory, and Accuracy Benchmark

Sameer Ahmed
preprint en

Abstract

Deploying large language models (LLMs) on consumer hardware typically requires quantization to reduce memory footprint and increase inference speed, but the practical trade-offs of this compression are not well characterized on Apple Silicon, where most existing benchmarks focus on NVIDIA GPU deployments. We present a systematic evaluation of three inference frameworks — MLX, llama.cpp, and their respective 4-bit and 8-bit quantization schemes — across three open-weight language models (Llama-3.2-3B, Qwen2.5-3B, and Phi-3.5-mini) on an Apple M4 MacBook Air. We find that MLX consistently outperforms llama.cpp in generation speed, that 8-bit quantization achieves perfect accuracy while 4-bit shows a measurable accuracy cost concentrated in code and arithmetic tasks, and that peak memory usage is driven primarily by each model's default context-window allocation rather than by quantization level.

Zenodo (CERN European Organization for Nuclear Research)
Osmania University (IN)
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.