Speed Benchmarks: LLM Inference on Consumer CPUs & iGPUs

Typical token generation rates for quantized LLMs via llama.cpp range from ~2 tokens/s on older CPUs with 8GB RAM, to ~10-45 tokens/s on modern laptop CPUs (e.g., Intel Core i7-13700H) or iGPUs (e.g., AMD Radeon RX Vega 7), varying greatly by model size and specific hardware.

The top 3

  1. Top Consumer CPUs & iGPUs for Local LLM Inference: Apple M-series chips lead in integrated graphics performance for llama.cpp, with the M4 Max achieving ~75 tokens/second and the M3 Ultra reaching ~145 tokens/second on Llama 3 8B Q4 models. AMD's Ryzen AI 9 HX 375 processor can deliver up to 50.7 tokens/second for Meta Llama 3.2 1b Instruct, showcasing strong iGPU capabilities. For CPU-only inference, high memory bandwidth is crucial, with modern Intel Core i9 and AMD Ryzen 9 processors offering competitive speeds depending on memory configuration.
  2. Key Hardware Specs Boosting Local LLM Inference Speed: LLM inference speed on consumer hardware is primarily bottlenecked by memory bandwidth, with fast DDR5 RAM significantly outperforming DDR4 for CPU or hybrid offloading. Essential CPU features include optimized SIMD instruction sets like AVX, AVX2, AVX512 (Intel/AMD), and NEON (ARM), which accelerate matrix computations. For iGPUs, sufficient VRAM and optimized drivers are critical for offloading model layers, as exceeding VRAM forces layers onto slower system RAM. Furthermore, utilizing physical CPU cores (disabling hyperthreading or E-cores on some Intel CPUs) can improve performance for matrix math.
  3. Fastest Consumer CPUs & iGPUs for Local LLM Inference: Intel Core Ultra series (e.g., 9 185H) and AMD Ryzen APUs (e.g., 7840HS, 8840U) with powerful integrated GPUs frequently lead benchmarks, offering surprisingly strong performance for local LLM inference, often rivaling or exceeding older discrete GPUs for specific model sizes.

Sources

Open the full topic