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 →

Model: Gemma 4GPU: M4 Pro 64GB
Compare setup details

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

Apple hardware
generation:
86.6 tokens/s
prompt processing (prefill):
1545.7 tokens/s
quant:
Q8_0 (GGUF)
kv:
F16

User reports Gemma 4 E2B at 86.6 t/s generation and 1545.7 t/s prompt processing on an M4 Pro with 64GB unified memory. Setup is dasLLAMA with Q8_0 weights, f16 KV cache, and one Metal GPU; the session requested 640 positions and no speculative decoding. The figures are native PP512 and TG128 counts over five repetitions, not one 512-in/128-out request.

Oct 13, 2026
Apple hardware
generation:
46.2 tokens/s
prompt processing (prefill):
770.2 tokens/s
quant:
Q8_0 (GGUF)
kv:
F16

User reports Gemma 4 E4B at 46.2 t/s generation and 770.2 t/s prompt processing on an M4 Pro 64GB. Setup is dasLLAMA with Q8_0 weights, f16 KV cache, and one Metal GPU, with 640 positions allocated. The figures are native PP512 and TG128 counts, not one 512-input/128-output request, and no longer-context performance is inferred.

Oct 13, 2026
Apple hardware
generation:
30.9 tokens/s
prompt processing (prefill):
298.5 tokens/s
quant:
Q4_K_M (GGUF)
kv:
F16

User reports Gemma 4 12B at 30.9 t/s generation and 298.5 t/s prompt processing on an M4 Pro with 64 GB unified memory. Setup is dasLLAMA version 16 with Q4_K_M weights and f16 KV cache, one GPU, 640 positions allocated. The figures are native PP512 and TG128 means over five repetitions, not a single 512-input/128-output request; a separate four-stream run reached 34.18746480210349 t/s summed scheduler throughput.

Oct 13, 2026
Apple hardware
generation:
60.4 tokens/s
prompt processing (prefill):
818.7 tokens/s
quant:
UD-Q4_K_M (GGUF)
kv:
F16

User reports Gemma 4 26B-A4B-it at 60.4 t/s generation and 818.7 t/s prompt processing on an M4 Pro with 64 GB unified memory. Setup is dasLLAMA 0.6.4 with UD-Q4_K_M weights, f16 KV cache, and one Metal GPU, with 640 positions allocated. The figures are native PP512 and TG128 counts over five repetitions, not a single 512-input/128-output request.

Oct 13, 2026
Apple hardware
generation:
78.2 tokens/s
prompt processing (prefill):
1558.9 tokens/s
quant:
Q8_0 (GGUF)
kv:
F16

User reports Gemma 4 E2B at 78.2 t/s generation and 1558.9 t/s prompt processing on an M4 Pro 64GB. Setup is llama.cpp with Q8_0 weights, Metal backend, -ngl 99, and 10 CPU threads on one physical GPU. The figures are native llama-bench PP512 and TG128 means over five repetitions at depth 0, not a single 512-input/128-output request.

Oct 13, 2026
Apple hardware
generation:
42.4 tokens/s
prompt processing (prefill):
786.5 tokens/s
quant:
Q8_0 (GGUF)
kv:
F16

User reports Gemma 4 E4B at 42.4 t/s generation and 786.5 t/s prompt processing on an M4 Pro 64GB. Setup is llama.cpp with Q8_0 weights, Metal backend, -ngl 99 and 10 CPU threads, on one physical GPU. The figures are native llama-bench PP512 and TG128 means over five repetitions at depth 0, not a single 512-input/128-output request.

Oct 13, 2026
Apple hardware
generation:
29.1 tokens/s
prompt processing (prefill):
284.5 tokens/s
quant:
Q4_K_M (GGUF)
kv:
F16

User reports Gemma 4 12B at 29.1 t/s generation and 284.5 t/s prompt processing on an M4 Pro 64GB. Setup is llama.cpp with Q4_K_M, Metal backend, -ngl 99, and 10 CPU threads. The figures are native llama-bench PP512 and TG128 means over five repetitions at depth 0, not a single 512-input/128-output request.

Oct 13, 2026
Apple hardware
generation:
54.2 tokens/s
prompt processing (prefill):
730.9 tokens/s
quant:
UD-Q4_K_M (GGUF)
kv:
F16

User reports Gemma 4 26B-A4B at 54.2 t/s generation and 730.9 t/s prompt processing on an M4 Pro 64GB. Setup is llama.cpp with UD-Q4_K_M, Metal backend, -ngl 99, 10 CPU threads, and one physical GPU. The figures are separate native tests: PP512 and TG128 at depth 0, five repetitions each, not a single 512-input/128-output request.

Oct 13, 2026
Apple hardware
generation:
78.3 tokens/s
prompt processing (prefill):
1236.0 tokens/s
quant:
MLX affine mixed 3.40 bpw (MLX)

User reports Gemma 4 E4B at 78.3 t/s generation and 1236 t/s prompt processing on a single M4 Pro Mac mini with 64 GB unified memory. Setup is MLX 0.32.0 with MLX-LM 0.31.3, an affine mixed 3.40 bpw text-only conversion, batch 1, greedy temperature 0, thinking enabled. Source medians are 1,236.00 PP and 78.32 TG over 2,048 prompt tokens and 235 generated tokens; ranges are 1,233.55-1,236.60 PP and 78.22-78.52 TG. The author reports quality losses versus its bf16 comparator, including MMLU-Pro-400 -9 percentage points.

Oct 11, 2026
Showing 1–9 of 9
Page 1 of 1

Community benchmarks snapshot

Records by GPU

AMD Strix Halo 128GB355NVIDIA RTX 3090299NVIDIA RTX 5090208NVIDIA RTX 3060 12GB113NVIDIA DGX Spark101NVIDIA RTX 5060 Ti 16GB99NVIDIA RTX Pro 6000 Blackwell96AMD Radeon AI PRO R9700 32GB95NVIDIA RTX 5070 Ti84AMD RX 7900 XTX84

Records by model

3668 total
Qwen3.81786
Qwen3.6342
Gemma 4189
DeepSeek V4 Flash152
Qwen3.5148
DeepSeek V4.1 Flash137
other914

Records by engine

2619 total
llama.cpp1177
Strata453
vLLM235
MLX109
Ollama107
other538

Use cases

coding 1070agentic 760long-context 528tool-use 320vision 190summarization 93math 87creative-writing 67multilingual 37rp 22text-generation 9reasoning 3
coding1070agentic760long-context528tool-use320vision190summarization93math87creative-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 active859Qwen3.8 27B848Qwen3.6 35B · 3B active250DeepSeek V4 Flash 284B · 13B active135DeepSeek V4.1 Flash 552B · 16B active130Inkling 2 Mini 26B · 3.4B active111Qwen3.6 27B81Gemma 4 26B · 4B active70

Quants

Q4_K_M405UD-Q4_K_XL211NVFP4186IQ3_S154Q8_0119IQ3_XXS1194-bit110IQ4_XS90Q4_K_XL86Q483