llamaperf

Local model performance on your hardware

Find which open-weight LLMs fit in your GPU or Mac and compare the speeds people report on setups like yours.

What runs on your hardware?

Pick your GPU or Mac, then read the speeds people reported on it, or estimate which models fit and how fast they run.

Free to use. No account needed. Memory estimates and community measurements are labelled separately.

Looking for a particular model?

Search for a model to see its reported speeds across GPUs and Macs.

Local model performance reports from the community

These are individual setups, not a controlled benchmark. Compare GPU count, quantization, context and offloading before comparing speeds. How to read a report →

GPU: M4 Max 128GB
Compare setup details (1 active)

Exact recorded values. Context may be a configured limit; matching filters does not establish identical prompts, offloading or concurrency.

Apple hardware
generation:
15.7 tokens/s
prompt processing (prefill):
255.7 tokens/s
quant:
Q8_0 (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.8-27B at 15.7 t/s generation and 255.7 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with Q8_0 GGUF, flash attention, F16 K/V cache, and requested GPU layers 99 on one Metal device. The headline is depth 0: PP512 255.725 and TG128 15.697 tokens/s, separate 512-token prefill and 128-token generation microbenchmarks rather than an end-to-end conversation. At prefix depth 16384, generation falls to 14.931 t/s.

Oct 13, 2026
Apple hardware
generation:
48.4 tokens/s
prompt processing (prefill):
880.3 tokens/s
quant:
Q8_0 (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.5-9B at 48.4 t/s generation and 880.3 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with Q8_0 GGUF, flash attention, F16 K/V, and 99 GPU layers requested on one Metal device. The headline is depth 0; at prefix depth 4096 generation is 47.519 t/s and at 16384 it is 45.097 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.

Oct 13, 2026
Apple hardware
generation:
78.8 tokens/s
prompt processing (prefill):
1567.5 tokens/s
quant:
Q8_0 (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.5-4B at 78.8 t/s generation and 1567.5 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with Q8_0 GGUF, flash attention, F16 K/V, 99 GPU layers requested, single sequence, five repetitions. The headline is depth 0; at prefix depth 4096 generation is 76.142 t/s and at 16384 it is 70.660 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.

Oct 13, 2026
Apple hardware
generation:
119.7 tokens/s
prompt processing (prefill):
2237.2 tokens/s
quant:
Q8_0 (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports SmolLM3-3B at 119.7 t/s generation and 2237.2 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with Q8_0 GGUF, flash attention, F16 K/V, requested GPU layers 99, single sequence, five repetitions. The headline is prefix depth 0; at prefix depth 4096 generation falls to 110.40 t/s and at 16384 to 89.60 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.

Oct 13, 2026
Apple hardware
generation:
168.6 tokens/s
prompt processing (prefill):
2142.9 tokens/s
quant:
Q4_K_M (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports SmolLM3 3B at 168.6 t/s generation and 2142.9 t/s prompt processing on an M4 Max 128GB. Setup is llama.cpp with Q4_K_M, flash attention and F16 K/V cache, single sequence, 99 GPU layers requested. The headline is depth 0; at prefix depth 4096 generation is 149.85 t/s and at 16384 it is 115.65 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.

Oct 13, 2026
Apple hardware
generation:
17.2 tokens/s
prompt processing (prefill):
246.3 tokens/s
quant:
UD-Q6_K_XL (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.8-27B at 17.2 t/s generation and 246.3 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with UD-Q6_K_XL GGUF, flash attention, F16 K/V, 99 GPU layers requested, single sequence. Figures are depth-0 llama-bench PP512 and TG128 microbenchmarks, not end-to-end; at prefix depths 4096 and 16384 generation falls to 16.94 and 16.29 t/s.

Oct 13, 2026
Apple hardware
generation:
19.7 tokens/s
prompt processing (prefill):
233.5 tokens/s
quant:
UD-Q5_K_XL (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.8-27B at 19.7 t/s generation and 233.5 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with UD-Q5_K_XL GGUF, F16 K/V cache, flash attention, and requested GPU layers 99 on one Metal device. The headline is depth 0; at prefix depth 4096 generation is 19.45 t/s and at 16384 it is 18.54 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.

Oct 13, 2026
Apple hardware
generation:
21.8 tokens/s
prompt processing (prefill):
236.6 tokens/s
quant:
UD-Q4_K_XL (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.8-27B at 21.8 t/s generation and 236.6 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with UD-Q4_K_XL GGUF, F16 K/V cache, flash attention, and 99 GPU layers requested on one Metal device. Figures are depth-0 llama-bench microbenchmarks: PP512 at 236.56 t/s and TG128 at 21.76 t/s, single sequence, five repetitions. At prefix depths 4096 and 16384, generation falls to 21.52 and 20.41 t/s.

Oct 13, 2026
Apple hardware
generation:
23.5 tokens/s
prompt processing (prefill):
249.0 tokens/s
quant:
UD-Q3_K_XL (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.8-27B at 23.5 t/s generation and 249 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with UD-Q3_K_XL GGUF, flash attention, F16 K/V, and 99 GPU layers requested on a single Metal device. The headline is depth 0; at prefix depths 4096 and 16384 generation falls to 23.07 and 21.77 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.

Oct 13, 2026
Apple hardware
generation:
24.8 tokens/s
prompt processing (prefill):
251.1 tokens/s
quant:
UD-Q2_K_XL (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.8-27B at 24.8 t/s generation and 251.1 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with UD-Q2_K_XL GGUF, flash attention, F16 K/V, 99 GPU layers requested, single sequence, five repetitions. Headline is depth 0: PP512 251.10 and TG128 24.76 tokens/s. At prefix depth 4096 generation falls to 24.23 t/s and at 16384 to 22.83 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.

Oct 13, 2026
Apple hardware
generation:
24.2 tokens/s
prompt processing (prefill):
250.4 tokens/s
quant:
UD-IQ3_XXS (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.8-27B at 24.2 t/s generation and 250.4 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with UD-IQ3_XXS GGUF, F16 K/V cache, flash attention, 99 GPU layers requested, single sequence. Headline is depth 0; at prefix depth 4096 generation is 23.81 t/s and at 16384 it is 22.34 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.

Oct 13, 2026
Apple hardware
generation:
24.2 tokens/s
prompt processing (prefill):
251.7 tokens/s
quant:
UD-IQ2_XXS (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.8-27B at 24.2 t/s generation and 251.7 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with UD-IQ2_XXS GGUF, F16 K/V cache, flash attention, and 99 GPU layers requested on a single Metal device. The headline is depth 0; at prefix depths 4096 and 16384 generation falls to 23.79 and 22.40 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.

Oct 13, 2026
Apple hardware
generation:
81.1 tokens/s
prompt processing (prefill):
1423.5 tokens/s
quant:
UD-Q4_K_M (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.6-35B-A3B at 81.1 t/s generation and 1423.5 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with UD-Q4_K_M GGUF, flash attention, F16 K/V, single sequence, 99 GPU layers requested. Figures are depth-0 llama-bench microbenchmarks: PP512 and TG128 separately, not end-to-end. At prefix depth 4096 generation falls to 77.79 t/s and at 16384 to 73.18 t/s.

Oct 13, 2026
Apple hardware
generation:
68.0 tokens/s
prompt processing (prefill):
832.1 tokens/s
quant:
Q4_K_M (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.5-9B at 68 t/s generation and 832.1 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with the Q4_K_M GGUF, flash attention, F16 K/V cache, requested GPU layers 99, single sequence, five repetitions. The headline is depth 0; at prefix depth 4096 generation is 66.41 t/s and at 16384 it is 61.83 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.

Oct 13, 2026
Apple hardware
generation:
101.4 tokens/s
prompt processing (prefill):
1476.8 tokens/s
quant:
Q4_K_M (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.5-4B at 101.4 t/s generation and 1476.8 t/s prompt processing on an M4 Max 128GB. Setup is llama.cpp b10794 with Q4_K_M and F16 K/V cache, single sequence, 99 GPU layers requested, flash attention. The headline is depth 0; at prefix depth 4096 generation is 97.37 t/s and at 16384 it is 88.73 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.

Oct 13, 2026
Apple hardware
generation:
93.6 tokens/s
prompt processing (prefill):
1301.4 tokens/s
quant:
Q4_K_M (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Nemotron 3 Nano at 93.6 t/s generation and 1301.4 t/s prompt processing on an M4 Max 128GB. Setup is llama.cpp with Q4_K_M, flash attention and F16 K/V, single sequence, 99 GPU layers requested. Figures are separate 512-token prefill and 128-token generation microbenchmarks at prefix depth 0, not an end-to-end run; at depth 4096 generation falls to 91.56 t/s and at 16384 to 87.96 t/s.

Oct 13, 2026
Apple hardware
generation:
91.8 tokens/s
prompt processing (prefill):
1277.1 tokens/s
quant:
Q4_K_M (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Nemotron 3 Nano at 91.8 t/s generation and 1277.1 t/s prompt processing on an M4 Max 128GB. Setup is llama.cpp with Q4_K_M, flash attention and F16 K/V, single sequence, GPU layers 99. The headline is depth 0; at prefix depth 4096 generation is 90.27 t/s and at 16384 it is 86.07 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.

Oct 13, 2026
Apple hardware
generation:
28.5 tokens/s
prompt processing (prefill):
253.9 tokens/s
quant:
UD-Q4_K_XL (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Muse-Glimmer-30B at 28.5 t/s generation and 253.9 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with UD-Q4_K_XL and F16 K/V cache, flash attention, 99 GPU layers requested, single sequence. Figures are separate 512-token prefill and 128-token generation microbenchmarks at prefix depth 0; at depth 4096 generation is 27.82 t/s and at 16384 it is 27.07 t/s.

Oct 13, 2026

Ling mini-2.0 / Q4_K_M / b10794 Metal / native PP512 TG128 / depth0

M4 Max 128GB · llama.cpp

Apple hardware
generation:
238.6 tokens/s
prompt processing (prefill):
4177.1 tokens/s
quant:
Q4_K_M (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports Ling-mini-2.0 at 238.6 t/s generation and 4177.1 t/s prompt processing on an M4 Max 128GB. Setup is llama.cpp with Q4_K_M, flash attention and F16 K/V, single sequence, 99 GPU layers requested. Figures are depth-0 microbenchmarks: PP512 and TG128 separately, not an end-to-end run. At prefix depth 4096 generation falls to 213.24 t/s and at 16384 to 172.28 t/s.

Oct 13, 2026
Apple hardware
generation:
123.1 tokens/s
prompt processing (prefill):
1577.0 tokens/s
quant:
MXFP4 (GGUF)
kv:
F16
flash attention:
on
mtp (multi-token prediction):
off

User reports gpt-oss-20b at 123.1 t/s generation and 1577 t/s prompt processing on a Mac Studio M4 Max with 128 GB unified memory. Setup is llama.cpp b10794 with MXFP4 GGUF, flash attention, F16 K/V, requested GPU layers 99, single sequence, five repetitions. The headline is depth 0; at prefix depth 4096 generation falls to 117.20 t/s and at 16384 to 105.36 t/s. These are separate 512-token prefill and 128-token generation microbenchmarks, not an end-to-end conversation.

Oct 13, 2026
Showing 1–20 of 33
Page 1 of 2

Community benchmarks snapshot

Records by GPU

AMD Strix Halo 128GB356NVIDIA RTX 3090300NVIDIA RTX 5090208NVIDIA RTX 3060 12GB113NVIDIA DGX Spark101NVIDIA RTX 5060 Ti 16GB99NVIDIA RTX Pro 6000 Blackwell96AMD Radeon AI PRO R9700 32GB95AMD RX 7900 XTX85NVIDIA RTX 5070 Ti84

Records by model

3677 total
Qwen3.81790
Qwen3.6342
Gemma 4189
DeepSeek V4 Flash152
Qwen3.5148
DeepSeek V4.1 Flash138
other918

Records by engine

2624 total
llama.cpp1180
Strata454
vLLM235
MLX109
Ollama107
other539

Use cases

coding 1073agentic 764long-context 531tool-use 324vision 190summarization 93math 87creative-writing 67multilingual 37rp 22text-generation 9reasoning 3
coding1073agentic764long-context531tool-use324vision190summarization93math87creative-writing67

Median generation t/s by GPU

On Qwen3.8 27B at 4-bit, plain single-GPU runs. Full ranking

RTX 509080RTX Pro 600067RTX 5070 Ti55M5 Ultra 256GB50RTX 409040RX 7900 XTX40RTX 309038RX 7800 XT 16GB35RTX 5090 Laptop 24GB34RX 7900 XT32

Prompt processing, same model

M5 Ultra 256GB1800RTX 40901949RX 7900 XTX640RTX 3090561RX 7900 XT800M3 Ultra 512GB372V100 32GB941Radeon AI PRO R9700 32GB1287RTX 3080 20GB997Arc Pro B70512

Reports by model size

Qwen3.8 125B · 6B active863Qwen3.8 27B848Qwen3.6 35B · 3B active250DeepSeek V4 Flash 284B · 13B active135DeepSeek V4.1 Flash 552B · 16B active131Inkling 2 Mini 26B · 3.4B active119Qwen3.6 27B81Gemma 4 26B · 4B active70

Quants

Q4_K_M407UD-Q4_K_XL212NVFP4186IQ3_S155IQ3_XXS119Q8_01194-bit110IQ4_XS90Q4_K_XL88Q483