A block of glass on a metal base with the layers of a neural network inside it, tokens running through them as fronts of green light – rendered with lightBench

Deep analysis · 14 systems · benchmark version 7

Local AI in depth

How fast a language model runs on the processor – and why memory matters more than cores. From all counted lightBench runs.

  • 14systems counted
  • 180tokens/s text (median)
  • 686tokens/s prompt (median)
  • TinyStories 42Mreference model
Straight to the results ↓
Local AI: a language model writes textA neural network as layers of nodes, on the right the stream of generated words. Schematic – drawn from the measured data, not to scale.Once upon a time there was …
Schematic – drawn from the measured data, not to scale.

01Processors

Prompt and text per processor

Prompt processing reads the text in (many words at once), text generation writes word by word. Median per processor model.

Prompt processing

AMD Ryzen 9 7950X3D1,180 tokens/s · 1
AMD Ryzen 7 5700X992 tokens/s · 1
AMD Ryzen 7 5700X3D955 tokens/s · 1
AMD Ryzen 7 8845HS856 tokens/s · 2
Intel Core Ultra 7 155H730 tokens/s · 1
Apple M1 Max691 tokens/s · 1
AMD Ryzen 5 3600681 tokens/s · 1
Intel Core i3-10100T363 tokens/s · 1
LG V60 ThinQ 5G (timelm)299 tokens/s · 1
Raspberry Pi 5 Model B Rev 1.1178 tokens/s · 2

Text generation

AMD Ryzen 9 7950X3D362 tokens/s · 1
AMD Ryzen 7 5700X3D284 tokens/s · 1
AMD Ryzen 7 5700X277 tokens/s · 1
AMD Ryzen 7 8845HS271 tokens/s · 2
AMD Ryzen 5 3600210 tokens/s · 1
Intel Core Ultra 7 155H196 tokens/s · 1
Apple M1 Max165 tokens/s · 1
Intel Core i3-10100T109 tokens/s · 1
LG V60 ThinQ 5G (timelm)74.8 tokens/s · 1
Intel Core i3-6100T59.4 tokens/s · 1

Median per processor model, the small number is the number of systems; grey bars: fewer than 3. 12 models measured.

02Bandwidth

Bandwidth sets the pace

For every new word the model reads all its weights from memory. More GB/s therefore means more tokens per second.

Memory bandwidth vs text generation

Each dot is a processor model (median of its systems), its size the number of systems. Point at a dot for its values.

  • AMD
  • Intel
  • Apple
  • Other
20501002005005102050100200Read bandwidth (GB/s) →↑ Text generation (tokens/s)
Apple M1 Max · 113.2 GB/s · 165 tokens/s · 1 systemsIntel Core i3-6100T · 19.7 GB/s · 59.4 tokens/s · 1 systemsIntel Core i3-10100T · 13.7 GB/s · 109 tokens/s · 1 systemsIntel Core i7-13620H · 12.9 GB/s · 59.1 tokens/s · 1 systemsLG V60 ThinQ 5G (timelm) · 16.1 GB/s · 74.8 tokens/s · 1 systemsAMD Ryzen 9 7950X3D · 59.9 GB/s · 362 tokens/s · 1 systemsIntel Core Ultra 7 155H · 34.7 GB/s · 196 tokens/s · 1 systemsAMD Ryzen 7 5700X3D · 35.4 GB/s · 284 tokens/s · 1 systemsAMD Ryzen 5 3600 · 35.6 GB/s · 210 tokens/s · 1 systemsAMD Ryzen 7 5700X · 30.7 GB/s · 277 tokens/s · 1 systemsRaspberry Pi 5 Model B Rev 1.1 · 9.4 GB/s · 50.5 tokens/s · 2 systemsAMD Ryzen 7 8845HS · 53.2 GB/s · 271 tokens/s · 2 systems
Rank correlation
0.78
Tokens/s per GB/s
5.38tokens/s / GB/s
Read bandwidth (median)
32.7GB/s

Spearman rank correlation over 14 systems: 1 would mean more bandwidth always means more tokens/s, 0 no relation.

03Threads

What more cores bring

Prompt processing spreads well over many cores, text generation hardly at all – it waits for memory.

Prompt processing

1–4 threads172 3
6–8 threadstoo few
10–12 threads768 4
14–16 threads955 3
20–24 threadstoo few
32+ threadstoo few

Text generation

1–4 threads51.6 3
6–8 threadstoo few
10–12 threads238 4
14–16 threads277 3
20–24 threadstoo few
32+ threadstoo few

Median per thread count; groups below 3 systems without a bar. Processors with more threads are often faster in other ways too – this shows a tendency, not a pure thread effect.

04Platform

Apple unified memory vs x86

Same task, different memory: inside the chip package, soldered LPDDR or modules with DDR4 and DDR5.

PlatformSystemsText generationPromptRead GB/sRAM
Apple (unified memory) too few1––––
with DDR5 modules too few2––––
with DDR4 modules327795535.416 GB

Measured on the processor, without a graphics card. Apple chips share a wide memory inside the package with the graphics; desktop systems with modules mostly use two channels.

05Large models

And with a large model?

lightBench measures a small reference model and – if you opt in in the app – a real model with 1.1 billion parameters. For 8 to 70 billion parameters there is only an estimate – derived from the measured bandwidth.

Large AI model: not measured yet. The optional extra test came with a newer app version – older results don’t have it and show “not measured”; the values appear here with the first runs that do it.

Estimate from memory bandwidth – not measured

tokens/s ≈ measured read bandwidth ÷ size of the model file

GroupRead bandwidth8B ≈ 4.9 GB14B ≈ 9.0 GB32B ≈ 19.9 GB70B ≈ 42.5 GB
Typical system14 systems32.7 GB/s≈ 6.7≈ 3.6≈ 1.6too large for 16 GB≈ 0.8too large for 16 GB
with DDR4 modules3 systems35.4 GB/s≈ 7.2≈ 3.9≈ 1.8too large for 16 GB≈ 0.8too large for 16 GB

Upper bound: generating reads every weight once per token. Model sizes at 4-bit quantisation (Q4); real programs usually reach about half to three quarters of it. lightBench only measured the small reference model TinyStories 42M (Llama, bf16) on the processor – it partly fits in the cache and so cannot be scaled up directly.

Guide: local AI on the PC →

Only server-accompanied runs from benchmark version 7 on count – each test only with its current measuring method –, one entry per device (the median of its last three runs). All values are medians; groups are compared from 3 systems on. Methodology →

How fast is your PC?

One download, one click – lightBench runs without installation and compares you with everyone else in about 12 minutes.

Get lightBench for free