Quantized LLM Speed: GPU, Apple Silicon, CPU Throughput Battle

NVIDIA RTX 5090 achieves 150-200 tokens/sec for 7B-14B quantized LLMs, while Apple M5 Pro handles 30B models at 40-60 tokens/sec, significantly outperforming CPU-only inference at 10-20 tokens/sec for 7B models.

The top 3

  1. NVIDIA GPUs Lead Raw Throughput for Quantized LLMs: High-end NVIDIA GPUs like the RTX 5090 deliver the fastest raw token generation, achieving 150-200 tokens/second on 7B-14B quantized models, while the RTX 4090 reaches ~125 tok/s for Llama 3 8B Q4_K_M.
  2. Apple Silicon Excels in Efficiency and Large Model Support: Apple M-series chips, leveraging unified memory, offer superior efficiency and the ability to run larger quantized models (e.g., 30B+) at 40-60 tok/s with significantly lower power consumption (around 25W), often surpassing single consumer GPUs limited by VRAM.
  3. CPU-Only Inference: A Slower, Memory-Bound Fallback: Pure CPU inference, even with modern instruction sets like AVX-512 or ARM NEON, typically yields 10-15 tokens/second for quantized Llama 3 8B Q4 models, making it a viable but significantly slower last-resort option due to memory bandwidth limitations.

Sources

Open the full topic