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 3GPU: M5 Max 48GB
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:
150.5 tokens/s
prompt processing (prefill):
5760.7 tokens/s
quant:
Q4_K_M (GGUF)
flash attention:
on

User reports Gemma 3 4B at 150.5 t/s generation and 5760.7 t/s prompt processing on an M5 Max 48GB. Setup is llama.cpp build 11146 with Metal, Q4_K_M weights, n_gpu_layers=99 and flash_attention=true. The figures are separate llama-bench microtests, tg128 and pp512, not one 512-input/128-output request or server concurrency throughput; context length is unspecified.

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

User reports Gemma 3 27B at 29.9 t/s generation and 751 t/s prompt processing on an M5 Max with 48GB unified memory. Setup is llama.cpp build 11146 with Metal, Q4_K_M weights, n_gpu_layers=99 and flash attention enabled. The figures are separate llama-bench microtests, tg128 and pp512, not one 512-input/128-output request or server concurrency throughput; context length is unspecified.

Oct 13, 2026
Apple hardware
generation:
294.9 tokens/s
prompt processing (prefill):
16750.2 tokens/s
quant:
Q4_K_M (GGUF)
flash attention:
on

User reports Gemma 3 1B at 294.9 t/s generation and 16750.2 t/s prompt processing on an M5 Max 48GB. Setup is llama.cpp build 11146 with Metal, Q4_K_M weights, n_gpu_layers=99, flash_attention=true and threads=0. The figures are separate llama-bench microtests, tg128 and pp512, not one 512-input/128-output request or server concurrency throughput; context length is unspecified.

Oct 13, 2026
Apple hardware
generation:
61.5 tokens/s
prompt processing (prefill):
1721.5 tokens/s
quant:
Q4_K_M (GGUF)
flash attention:
on

User reports Gemma 3 12B at 61.5 t/s generation and 1721.5 t/s prompt processing on an M5 Max 48GB. Setup is llama.cpp build 11146 with Metal, Q4_K_M weights, n_gpu_layers=99 and flash attention enabled. The figures are separate llama-bench microtests, tg128 and pp512, not one 512-input/128-output request or server concurrency throughput; context length is unspecified.

Oct 13, 2026
Apple hardware
generation:
176.2 tokens/s
prompt processing (prefill):
5550.3 tokens/s
quant:
4-bit (MLX)

User reports Gemma 3 4B 4-bit at 176.2 t/s generation and 5550.3 t/s prompt processing on an M5 Max 48GB. Setup is MLX with 4-bit weights and unquantized KV cache on one Mac Studio, batch size 1, no speculative decoding. The headline figures are pp512 and tg128, not a best-of sweep or an average across prompt lengths; the source also records pp128=2589.02, pp256=3725.55 and tg256=178.13 t/s.

Oct 13, 2026
Apple hardware
generation:
31.8 tokens/s
prompt processing (prefill):
854.4 tokens/s
quant:
4-bit (MLX)

User reports Gemma 3 27B at 31.8 t/s generation and 854.4 t/s prompt processing on an M5 Max with 48GB unified RAM. Setup is MLX with 4-bit weights, unquantized KV cache, batch size 1, and a 2048-token prefill step. The figures are arithmetic means of five trials from mlx-lm 0.31.3, with prompt processing including first-token work; peak MLX allocator memory was 16.69 GB.

Oct 13, 2026
Apple hardware
generation:
374.4 tokens/s
prompt processing (prefill):
17261.9 tokens/s
quant:
4-bit (MLX)

User reports Gemma 3 1B at 374.4 t/s generation and 17261.9 t/s prompt processing on an M5 Max 48GB. Setup is MLX with 4-bit weights and unquantized KV cache, batch size 1, one model invocation per process. The headline figures are pp512 and tg128 from a five-trial mean, not a best-of sweep or average across prompt lengths; the benchmark is synthetic text-token throughput, not end-to-end request throughput.

Oct 13, 2026
Apple hardware
generation:
66.9 tokens/s
prompt processing (prefill):
1834.9 tokens/s
quant:
4-bit (MLX)

User reports Gemma 3 12B 4-bit at 66.9 t/s generation and 1834.9 t/s prompt processing on an M5 Max 48GB. Setup is MLX with 4-bit weights and unquantized KV cache on one Mac Studio, batch size 1, greedy sampling, no speculative decoding. The figures are native engine phase rates: prompt speed includes first-token work, and the retained tg128 and pp512 come from the (512,128) run, not a best-of sweep or average.

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