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 32GB
Compare setup details

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

Gemma 4 31B

M4 32GB · Ollama · 4,096 ctx

Apple hardware
generation:
5.3 tokens/s
prompt processing (prefill):
90.0 tokens/s
quant:
Q4_K_M (GGUF)

User reports Gemma 4 31B at 5.3 t/s generation and 90 t/s prompt processing on an M4 32GB Mac mini. Setup is Ollama 0.30.5 with GGUF Q4_K_M and num_ctx=4096, 100% GPU offload, 20.29 GB loaded memory including KV cache. The figures are three-run averages from a fixed Chinese long-form prompt; 4096 is the configured context, not measured input length, and per-run counters are unpublished.

Oct 13, 2026

Gemma 4 26B (4B active)

M4 32GB · Ollama · 4,096 ctx

Apple hardware
generation:
32.0 tokens/s
prompt processing (prefill):
657.0 tokens/s
quant:
Q4_K_M (GGUF)

User reports Gemma 4 26B-A4B at 32 t/s generation and 657 t/s prompt processing on an M4 32GB Mac mini. Setup is Ollama 0.30.5 with GGUF Q4_K_M and num_ctx=4096, 100% GPU offload, 17.37 GB loaded memory including KV cache. Both figures are three-run averages; the 400-character prompt instruction is not an output-token count, and 4096 is the configured context, not measured input length.

Oct 13, 2026

Gemma 4 12B

M4 32GB · Ollama · 4,096 ctx

Apple hardware
generation:
12.5 tokens/s
prompt processing (prefill):
236.0 tokens/s
quant:
Q4_K_M (GGUF)

User reports Gemma 4 12B at 12.5 t/s generation and 236 t/s prompt processing on an Apple Mac mini M4 with 32 GB unified memory. Setup is Ollama 0.30.5 with GGUF Q4_K_M and num_ctx=4096, reporting 100% GPU offload and 8.05 GB loaded memory including KV cache. Both figures are three-run averages; the 4096 is the configured context, not measured input length, and the prompt asks for at least 400 Chinese characters.

Oct 13, 2026
Apple hardware
generation:
29.9 tokens/s
prompt processing (prefill):
566.0 tokens/s
quant:
Q4_K_M (GGUF)

User reports Gemma 4 E4B at 29.9 t/s generation and 566 t/s prompt processing on an Apple Mac mini M4 with 32 GB unified memory. Setup is Ollama 0.30.5 with GGUF Q4_K_M at num_ctx=4096, with 100% GPU offload and 9.55 GB loaded memory including KV cache. The figures are source-reported three-run averages, with decode from eval_count/eval_duration and prompt processing from prompt_eval_count/prompt_eval_duration, excluding client and model-loading overhead.

Oct 13, 2026
Apple hardware
generation:
55.0 tokens/s
prompt processing (prefill):
1089.0 tokens/s
quant:
Q4_K_M (GGUF)

User reports Gemma 4 E2B at 55 t/s generation and 1089 t/s prompt processing on an Apple Mac mini M4 with 32 GB unified memory. Setup is Ollama 0.30.5 with GGUF Q4_K_M at num_ctx=4096 and 100% GPU offload, using the Ollama library gemma4:e2b tag. The figures are a three-run average (54.97 t/s decode, 1089 t/s prompt) from a fixed Chinese long-form prompt; reported loaded memory is 7.06 GB including KV cache.

Oct 13, 2026

Gemma 4 12B

M4 32GB · Ollama · 8,192 ctx

Apple hardware
generation:
8.7 tokens/s
prompt processing (prefill):
110.4 tokens/s
quant:
Q4_K_M (GGUF)
kv:
Q8
flash attention:
on

User reports Gemma 4 12B at 8.7 t/s generation and 110.4 t/s prompt processing on an M4 32GB Mac mini. Setup is Ollama 0.30.5 with Q4_K_M and q8_0 KV cache, num_ctx=8192, flash attention enabled, one card. The row is the first long-context tier: 5713 actual input tokens and 512 actual output tokens, not a full 8192-token prompt or an average. The source TTFT estimate is 64.5 s and request wall time 123.4 s.

Oct 13, 2026
Apple hardware
generation:
16.7 tokens/s
prompt processing (prefill):
245.5 tokens/s
quant:
Q4_K_M (GGUF)
kv:
Q8
flash attention:
on

User reports Gemma 4 E4B at 16.7 t/s generation and 245.5 t/s prompt processing on an M4 32GB Mac mini. Setup is Ollama 0.30.5 with Q4_K_M and q8_0 KV cache at 8192 context, one Mac mini M4 with 32 GB unified memory. The figure is a single long-context row with 5709 actual input and 505 actual output tokens, not an average or a full 8192-token prompt; the source TTFT estimate is 23.53 s.

Oct 13, 2026
Showing 1–7 of 7
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