Best CPU for Local LLM Inference in 2026: Why Memory Bandwidth Beats Core Count
Every CPU roundup ranks chips by cores and clocks. For local LLM token generation those are close to irrelevant — memory bandwidth sets the ceiling. Here's the equation, the platform bandwidth table, and which CPU to actually buy.
Compute Market Team
Our Top Pick

GMKtec EVO-X2 (Ryzen AI Max+ 395)
$1,999 – $3,649The Short Answer — September 2026
For local LLM inference, token generation speed is set by memory bandwidth, not CPU core count: a system generates roughly (memory bandwidth ÷ active bytes per token) tokens per second. That is why a quad-channel Ryzen AI Max+ 395 at 256 GB/s (AMD vendor spec) outruns a 16-core Ryzen 9 9950X on dual-channel DDR5-6000 at roughly 96 GB/s theoretical peak by more than 2× on the same model — despite having the same core count and a lower boost clock.
Search "best CPU for local LLM" and you get chips ranked by Cinebench scores and gaming frame rates. Not one of those rankings mentions the single number that decides how fast tokens come out of your machine. The result is a predictable and expensive mistake: buyers spend an extra $300 on core count that does nothing, then discover the model they wanted does not fit anyway.
This post is the correction. One equation, applied consistently, decides every recommendation below — including the recommendation, in most cases, to not upgrade your CPU at all.
The Short Answer: Buy Bandwidth, Not Cores
Past roughly eight fast modern cores, core count stops changing your tokens per second on inference workloads. Memory bandwidth keeps changing it linearly, all the way up. So the buying question is never "which CPU is fastest" — it is "how many GB/s can this platform feed, and does my model fit in the fast memory".
| Best for | Pick | Why |
|---|---|---|
| Best overall (you own a GPU) | Any current 8-core, dual-channel DDR5-6000 | Ryzen 7 9700X class or Core Ultra 5 class. The GPU does the work; the CPU only needs to not be in the way. |
| Best no-GPU box | Ryzen AI Max+ 395 (GMKtec EVO-X2) | 256 GB/s quad-channel LPDDR5X and up to 128GB unified. The only x86 consumer platform in this bandwidth class. |
| Best CUDA-native unified box | NVIDIA DGX Spark (GB10) | 128GB coherent unified memory with the CUDA stack intact. You pay a premium for not leaving the ecosystem. |
| Highest bandwidth without a tower | Mac Studio M4 Max | 546 GB/s unified memory (Apple vendor spec) — higher than an RTX 5060 Ti, with up to 192GB behind it. |
| Don't upgrade — buy VRAM instead | Keep your CPU, buy an RTX 5060 Ti 16GB or RTX 5070 Ti | 448–896 GB/s of GDDR7 beats every consumer CPU platform by 2–9×. If the model fits, this is the answer. |
"Adding CPU cores does not speed up token generation; adding memory bandwidth does." — Compute Market Team, editorial verdict, 13 September 2026
Why Token Generation Is a Memory-Bandwidth Problem
The mechanism is simple enough that you can do the arithmetic in your head, which is exactly why it should be in every CPU guide and is in almost none.
To produce one token, an autoregressive language model reads its active weights — every one of them, once. There is no way around this: the matrix multiplications that generate a token need the matrices, and the matrices live in memory. Then it does it again for the next token. Generation is therefore a loop that streams the model out of memory once per token, and the hardware limit is how fast memory can stream.
The equation
tokens per second ≈ memory bandwidth (GB/s) ÷ active bytes per token (GB)
"Active bytes" means the weights actually read per token. For a dense model that is the whole model at your chosen quantization. For a Mixture-of-Experts model it is a fraction of the total — which is the entire reason section five exists.
Work an example. A 7B dense model at 4-bit quantization is roughly 4GB of weights. Put it on a mainstream desktop with dual-channel DDR5-6000: two 64-bit channels at 6000 MT/s is 96 GB/s of theoretical peak bandwidth. 96 ÷ 4 = 24 tokens per second — and that is the ceiling, not the result. Real systems achieve somewhere around 70–80% of theoretical peak once you account for refresh, latency and controller overhead, so the honest number is closer to 17 tok/s, and measured community results on this class of hardware typically land lower still once KV cache traffic and sampling overhead are included.
Now scale the model instead of the hardware. The same machine running a 30B dense model at 4-bit is reading roughly 17GB per token: 96 ÷ 17 ≈ 5.6 tok/s theoretical, realistically around 4. Nothing about the CPU changed. The model got bigger, so the answer got slower, in direct proportion. That proportionality is the whole story, and it is why tokens per second is predictable from a spec sheet if you read the right line.
Two honest caveats. First, this describes generation. Prompt processing — the prefill pass that reads your input before the first token appears — is compute-bound, parallel, and does benefit from more cores and wider vector units. If you routinely feed 32K-token prompts, extra cores buy you a shorter wait for the first token and nothing after it. Second, techniques like speculative decoding change the effective bytes-per-token by generating several tokens per verification pass; they shift the constant in the equation, not the shape of it.
The Bandwidth Table: What Each Platform Actually Delivers
Here is the number that should be on every CPU comparison and is on none of them. Every figure is labelled vendor spec or theoretical peak, because the two get conflated constantly and the difference is 20–30%.
| Platform | Bandwidth | Memory config | Source / type |
|---|---|---|---|
| Desktop DDR5-4800, dual channel | ~77 GB/s | 2 × 64-bit | Theoretical peak (calculated) |
| Desktop DDR5-6000, dual channel (9950X, Core Ultra 9) | ~96 GB/s | 2 × 64-bit | Theoretical peak (calculated) |
| Apple M4 Pro (Mac Mini) | 273 GB/s | Unified LPDDR5X, 24GB | Apple vendor spec |
| AMD Ryzen AI Max+ 395 (Strix Halo) | 256 GB/s | 256-bit LPDDR5X-8000, up to 128GB | AMD vendor spec |
| NVIDIA GB10 (DGX Spark) | 273 GB/s | Coherent unified LPDDR5X, 128GB | NVIDIA vendor spec |
| Threadripper PRO, 8-channel DDR5-6400 | ~409 GB/s | 8 × 64-bit RDIMM | Theoretical peak (calculated) |
| Apple M4 Max (Mac Studio, 16/40) | 546 GB/s | Unified, up to 192GB | Apple vendor spec |
| RTX 5060 Ti 16GB (for contrast) | 448 GB/s | 16GB GDDR7 | NVIDIA vendor spec |
| RTX 3090 (used market, for contrast) | 936 GB/s | 24GB GDDR6X | NVIDIA vendor spec |
| RTX 5090 (the ceiling) | 1,792 GB/s | 32GB GDDR7 | NVIDIA vendor spec |
Read that table as a single sentence: a $2,000 desktop CPU platform delivers roughly 5% of an RTX 5090's memory bandwidth, and a six-year-old used RTX 3090 delivers nearly 10× what your DDR5 does. Bandwidth is what you are buying, and GDDR7 and GDDR6X exist precisely because system memory cannot do this job. The unified-memory platforms sit in the gap: two to five times a desktop, well short of a discrete card, and with vastly more capacity than either.
The Spillover Cliff: What Happens When Your Model Leaves VRAM
This is the section that decides most purchases, and the one the competing guides skip entirely.
Suppose a model runs comfortably on your GPU at 45 tok/s. You switch to a slightly larger quantization and now 10% of the layers do not fit in VRAM. Intuition says you lose about 10% of your speed. You do not. Because generation reads every active weight once per token, that 10% of layers is read over the PCIe bus from memory running at a fraction of the card's bandwidth — and the GPU waits for it every single token. The slow path sets the pace for the whole loop.
The mechanism produces a discontinuity rather than a slope. In practice, builders report dense-model configurations dropping from comfortable interactive speeds into low single-digit tokens per second the moment a meaningful slice of layers lands in system RAM — the exact figure depends on how much spills and on your memory bandwidth, but the shape is always the same: a cliff, not a ramp. You can predict the floor yourself with the equation, using system-RAM bandwidth and the bytes that live there.
Decision rule
The CPU does not rescue a model that does not fit — it caps it. If you can afford enough VRAM to hold your target model at your chosen quantization, the CPU question is moot: buy the VRAM and buy the cheapest current 8-core chip. Spend on the CPU platform only when you have decided that fitting the model matters more than running it fast.
That rule is why this post's most common recommendation is a GPU, not a processor. If your target is a 14–32B model, Phi-4 14B or Gemma 3 27B class, the money goes into a card. Our consumer GPU rankings for local LLMs and the AI GPU buying guide cover that decision properly, and the cheapest route to 32GB of VRAM is the post to read if the model is bigger than one 16GB card.
MoE Changed the Math (and Made the CPU Matter Again)
Everything above assumes a dense model, where "active weights" means "all the weights". Mixture-of-Experts models break that assumption, and that break is the reason the CPU answer is different in 2026 than it was in 2024.
An MoE model routes each token through a small subset of its expert tensors. A model with hundreds of billions of total parameters may activate only a few tens of billions per token. Return to the equation: total size sets your capacity requirement, but only the active fraction sets your bandwidth requirement. So parking rarely-touched expert tensors in cheap, slow system RAM while attention and shared tensors stay on the fast GPU stops being absurd and starts being the optimal layout.
Mainline llama.cpp exposes this directly with --n-cpu-moe N, which moves the MoE feed-forward tensors of the first N layers to the CPU while attention stays on the GPU. Tune N upward until the model fits in your VRAM, and no further. We covered the tuning, the starting values by card and the throughput numbers in depth in running 100B+ MoE models on a 16GB GPU — rather than repeat it, here is the part that changes what CPU and RAM you buy:
- It works on MoE, and only on MoE. A dense model has no rarely-used weights to park. Offloading one collapses throughput exactly as section four describes. Qwen 3 72B-class dense models are not candidates; the Qwen 3.5 and 3.6 MoE variants, DeepSeek V4-class models and the Llama 4 Scout and Maverick MoE variants are.
- System RAM capacity becomes a real spec, not a formality. You are now sizing RAM to hold expert tensors, which means 64GB minimum and 128GB if you are serious.
- System RAM bandwidth becomes a real spec too. The offloaded experts are still read per token. Dual-channel DDR5-6000 is the floor; this is the one desktop scenario where a quad-channel platform earns its price.
- Cores still do not matter. Even here, what you need is the memory controller. An 8-core chip with fast dual-channel memory beats a 16-core chip with slow memory.
Model-specific sizing lives in the individual hardware guides — Qwen 3.6, DeepSeek V4-Flash, GLM 5.2 and Kimi K2.6 all include the offload configuration that works for that model.
How Much System RAM — and What DDR5 Now Costs
Most RAM advice on the internet was written when 64GB cost $200. It does not any more, and the crossover calculations that advice implied have all moved.
As of 31 August 2026, a 64GB DDR5 kit ran $396–$607 against roughly $95 before the shortage, per Tom's Hardware's RAM Price Index; a 32GB DDR5-6000 kit was sitting around $375–$400 in early September 2026. The cause is supply-side rather than demand-side — DRAM manufacturers reallocated wafer capacity toward high-bandwidth memory for AI datacentre customers, shrinking the pool of conventional DDR5 reaching retail, as MSI's own memory-shortage explainer describes. We covered the consequences for build planning in the DRAM shortage buying guide.
| System RAM | What it buys you | Verdict at Sept 2026 prices |
|---|---|---|
| 32GB | Everything, if your model lives in VRAM | Correct default. Do not overbuy. |
| 64GB | The practical floor for MoE expert offload | Buy only if you have a specific MoE model in mind. |
| 128GB+ | Serious offload, multiple concurrent models, fine-tuning prep | A $700–$900 line item. Compare against a 24GB GPU before committing. |
That last row is the crossover worth staring at. At these prices, 128GB of DDR5 costs roughly what a used 24GB RTX 3090 costs at $699–$999 — and the 3090 delivers 936 GB/s against your DDR5's ~96 GB/s. If your model fits in 24GB, that comparison is not close. The RAM only wins when the model cannot fit in any card you can afford. Our RAM sizing guide for local AI works through the capacity side in detail, and build vs buy in 2026 covers how the memory spike shifted the whole build economy.
One genuine advantage of the high-bandwidth APU route is that it sidesteps the DDR5 spot market entirely. A GMKtec EVO-X2 at $1,999–$3,649 has its LPDDR5X — up to 128GB on the top SKU — priced into the machine, bought on a contract months ago, not off a shelf this month. In September 2026 that is a larger financial factor than most spec differences. The full review is in our Strix Halo mini PC deep dive and the Ryzen AI Max+ 395 review.
Recommended Builds by Budget
Four configurations, each derived from the equation rather than from a benchmark chart. Each one carries the honest line about who should not buy it.
1. The GPU-first tower — cheapest CPU that does not embarrass you
An 8-core Ryzen 7 or Core Ultra 5, a B-series board, 32GB of DDR5-6000, and every remaining dollar in the graphics card. This is the right build for most people reading this, and the CPU line is deliberately boring: RTX 5060 Ti 16GB at $429–$479 for models up to about 14B at 4-bit, or RTX 5070 Ti at $1,049–$1,299 if you want the 896 GB/s. Pair either with a Samsung 990 Pro — model weights are tens of gigabytes and load time is pure sequential read.
Who should not buy this: anyone whose target model is above 32B. You will spend the whole build and still hit the spillover cliff. Read the NVMe guide and the PSU guide before finalising the parts list.
2. The no-GPU bandwidth box — Ryzen AI Max+ 395
256 GB/s of quad-channel LPDDR5X and up to 128GB of it, in a box that draws a fraction of a tower's power. This is the only x86 consumer platform that turns "CPU inference" into a real answer rather than an apology, and the capacity means 70B-class models simply load. The GMKtec EVO-X2 is the mainstream way to buy it.
Who should not buy this: anyone who needs CUDA. The ROCm and Vulkan paths are workable for inference and thin for everything else, and if your target model fits in 16GB a $429 GPU is faster for a quarter of the price. See DGX Spark vs Strix Halo and Strix Halo vs Mac Studio M4 Max for the head-to-heads, and the mini PC for AI hub for the wider field.
3. The CUDA-native unified box — DGX Spark
128GB of coherent unified memory at 273 GB/s (NVIDIA vendor spec) with a 20-core Arm CPU and an intact CUDA stack, at $3,999. NVIDIA's IFA 2026 local-AI announcements on 3 September 2026 reinforced the direction of travel here, including a reported up-to-1.9× llama.cpp throughput gain on RTX 5090 and an RTX Spark N1X with a 128GB unified configuration slated for October — worth knowing before you commit, and covered in RTX Spark vs DGX Spark.
Who should not buy this: anyone optimising for tokens per dollar. This is a development and prototyping machine, and a Strix Halo box gets you the same memory capacity for roughly half the money if you can live without CUDA. Compare it honestly against a tower in DGX Spark vs RTX 5090.
4. The Apple route — highest bandwidth per watt
The Mac Studio M4 Max at $1,999–$5,999 quotes 546 GB/s of unified memory bandwidth with up to 192GB behind it — more bandwidth than an RTX 5060 Ti and six times the capacity of an RTX 5090. The Mac Mini M4 Pro at $1,399–$1,599 is the 273 GB/s, 24GB entry point. Both run MLX and llama.cpp well; MLX vs llama.cpp on Apple Silicon covers which runtime to use.
Who should not buy this: anyone doing training or fine-tuning, and anyone whose toolchain assumes CUDA. Start at the Apple Silicon for AI hub, then Mac Mini M4 Pro vs Mac Studio M4 Max to size the configuration, or Mac Studio M4 Max vs RTX 5090 for the capacity-versus-speed trade. On a budget, Mac Mini M4 Pro vs Beelink SER8 is the relevant entry-level comparison — the Beelink SER8 at $449–$599 runs DDR5-5600 in dual channel — about 90 GB/s of theoretical peak, so expect it to behave like the desktop rows at the top of the bandwidth table, not the unified-memory ones.
Budget mini PCs deserve one honest sentence rather than a section: the GMKtec M8 at $389–$459, GMKtec M6 Ultra at $429–$549 and Intel NUC 13 Pro at $600–$900 are all dual-channel machines — the DDR5 and LPDDR5 models land in the ~77–96 GB/s band, and the DDR4 NUC 13 Pro roughly half that. They run 7B models acceptably and anything larger slowly, by arithmetic, not by opinion. Our AI on a budget hub and the best mini PCs for AI rank that tier properly.
What Doesn't Matter (Stop Paying for It)
Short, blunt, and the section most likely to save you money.
- Core counts above 8–12. They cannot consume bandwidth that does not exist. A 9950X does not generate tokens faster than a 9700X on the same memory.
- High boost clocks. Same reason. You are waiting on memory, not on the ALU.
- PCIe 5.0 x16 vs x8 for a single inference GPU. Once weights are resident in VRAM, the bus carries activations and tokens, not the model. It matters for multi-GPU tensor parallelism and for loading time, not for single-card generation. See our PCIe explainer and the multi-GPU setup guide if you are actually going wide.
- AVX-512 as a purchase driver. Useful to the kernels, already handled by the runtime, and not the constraint on your throughput.
- Desktop NPUs and quoted TOPS figures. They do not carry large-model token generation in the mainstream local stacks today. A 50 TOPS badge is a laptop battery feature, not an inference spec. What an AI PC actually is covers why.
- Exotic RAM timings. Bandwidth is rate × channels. Latency tuning is a rounding error against that.
One thing that does matter and gets ignored: sustained power draw. A 575W TDP card under continuous inference is a different electricity bill from a 60–120W unified-memory box, and over three years that gap is real money — we costed it out here.
The Verdict
If your model fits in VRAM, buy the cheapest current 8-core CPU, 32GB of DDR5-6000, and put every remaining dollar into the graphics card. The CPU is not your bottleneck and no amount of it will become one in a useful direction.
If your model does not fit in VRAM, stop shopping for CPUs and start shopping for memory bandwidth attached to capacity — which in September 2026 means a Ryzen AI Max+ 395 box, a DGX Spark, or a Mac Studio, in that order of value. A desktop CPU upgrade is the one purchase that cannot solve this problem, and it is the one every generic roundup will sell you.
And if you are running MoE models specifically, the calculation genuinely is different: buy 64–128GB of the fastest system RAM your board supports, keep the GPU you have, and tune --n-cpu-moe. That is the single case in 2026 where the answer to "does the CPU matter" is yes.
Next steps: run your target model through the GPU advisor to see what it actually needs, check the benchmark database for measured numbers on the hardware you are considering, and start at the local LLM hub if you are still deciding what you want to run at all.
Sourcing and last verified
Bandwidth figures are labelled in the table as vendor specification (AMD, Apple, NVIDIA published specs) or theoretical peak calculated from channel width and transfer rate; neither is a measured result, and real throughput runs below both. DDR5 pricing reflects Tom's Hardware's RAM Price Index at 31 August 2026 and street pricing at 2 September 2026. Product price ranges are catalogue listing ranges. NVIDIA's local-AI announcements are dated 3 September 2026. --n-cpu-moe semantics reflect mainline llama.cpp. Editorial verdict: 13 September 2026 — re-check any figure before you spend against it.
Frequently Asked Questions
Does the CPU affect LLM speed?
It affects it far less than people expect, and not through the part of the spec sheet they read. If the model fits entirely in GPU VRAM, the CPU does almost nothing during token generation — it schedules work and feeds the GPU, and an 8-core chip does that as well as a 24-core one. The CPU only becomes the bottleneck when weights live in system RAM, and even then what limits you is the memory controller, not the cores. Token generation is a memory-bandwidth problem: you can generate roughly (memory bandwidth ÷ active bytes per token) tokens per second, and adding cores does not add bandwidth. The one thing extra cores do measurably help is prompt processing — the prefill pass over a long input, which is compute-bound rather than bandwidth-bound.
Can I run an LLM without a GPU?
Yes, and in 2026 it is a legitimate tier rather than a consolation prize — but only within limits you should understand before buying. On a normal dual-channel desktop with DDR5-6000 you get roughly 96 GB/s of theoretical peak bandwidth and meaningfully less in practice, which puts a 7B model at 4-bit quantization somewhere in the low-to-mid teens of tokens per second and a 30B dense model into single digits. That is usable for batch jobs and unusable for interactive chat. The change is on the high-bandwidth side: a Ryzen AI Max+ 395 box quotes 256 GB/s (AMD vendor spec) and Apple's M4 Max in the Mac Studio quotes 546 GB/s, which moves CPU-and-unified-memory inference into genuinely interactive territory for models a consumer GPU cannot hold at all.
Is 8 cores enough for AI?
For inference, yes, in almost every consumer configuration. Eight fast modern cores saturate a dual-channel memory controller during CPU-side token generation, so cores nine through sixteen have no additional bandwidth to consume and contribute close to nothing. The exceptions are narrow and worth naming: long-context prompt processing benefits from more threads, running several models or services concurrently benefits from more threads, and data preprocessing for fine-tuning is genuinely CPU-parallel. If your workload is 'load a model and chat with it', the money that would buy you a 16-core CPU buys more VRAM or more system RAM, and both of those change your results where the cores would not.
Does RAM speed matter for local LLM performance?
More than RAM capacity does, once you have enough capacity to hold the model. Bandwidth scales with transfer rate and channel count together, so DDR5-6000 in dual channel gives about 96 GB/s of theoretical peak while DDR5-4800 gives about 77 GB/s — a difference you can measure directly in tokens per second on any CPU-resident workload. The larger lever is channel count, not frequency: going from two channels to four roughly doubles the ceiling, which is exactly why a quad-channel LPDDR5X APU outruns a faster-clocked desktop chip on dual channel. Buy the highest-rate kit your board supports at its stated stable speed, and do not pay a premium for a marginal frequency bump.
Is a Ryzen AI Max+ 395 better than an RTX 5060 Ti for local LLMs?
They win different arguments and you should pick by model size. The RTX 5060 Ti 16GB delivers 448 GB/s of GDDR7 bandwidth against the Ryzen AI Max+ 395's 256 GB/s vendor-spec figure, so for any model that fits inside 16GB the GPU is faster and cheaper. Above 16GB the comparison inverts completely: the 5060 Ti has to spill layers into system RAM and falls off a cliff, while a 128GB Strix Halo box simply holds the model in unified memory and keeps generating at its bandwidth-set rate. The dividing line is whether your target model fits in 16GB at your chosen quantization, not which chip benchmarks higher.
Do I need an NPU for local LLM inference?
No, and the TOPS numbers on desktop CPU boxes are close to irrelevant to the workload this post is about. NPUs are designed for sustained low-power inference on small models — background transcription, image effects, on-device assistants — and the mainstream local-LLM stacks built on llama.cpp do not route large-model token generation through them in any way that changes your tokens per second today. An NPU is not a reason to choose one CPU over another for running a 30B model. Treat a quoted TOPS figure as a laptop battery-life feature, not an inference spec.