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: Phi-4
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:
56.8 tokens/s
prompt processing (prefill):
1537.5 tokens/s
quant:
Q4_K_M (GGUF)
flash attention:
on

User reports Phi-4 at 56.8 t/s generation and 1537.5 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:
164.9 tokens/s
prompt processing (prefill):
5412.7 tokens/s
quant:
Q4_K_M (GGUF)
flash attention:
on

User reports Phi-4 at 164.9 t/s generation and 5412.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:
165.0 tokens/s
prompt processing (prefill):
5416.2 tokens/s
quant:
Q4_K_M (GGUF)
flash attention:
on

User reports Phi-4-mini Q4_K_M at 165 t/s generation and 5416.2 t/s prompt processing on an M5 Max with 48GB unified memory. Setup is llama.cpp build 11146 with Metal, n_gpu_layers=99 and flash attention enabled, run as separate llama-bench microtests. The figures are native tg128 and pp512 tests, not one 512-input/128-output request or server concurrency; context length is unspecified.

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

User reports Phi-4 at 56.3 t/s generation and 1534.2 t/s prompt processing on an M5 Max 48GB. Setup is llama.cpp build 11146 with Metal, GGUF 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; context length is unspecified.

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

User reports Phi-4 at 190.8 t/s generation and 6281.4 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 from a five-trial mean, not a best-of sweep; the source also lists pp128 3728.47, pp256 5040.15 and tg256 192.31 t/s.

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

User reports Phi-4 at 62.1 t/s generation and 1685.9 t/s prompt processing on an M5 Max 48GB. Setup is MLX with 4-bit weights, batch size 1, unquantized KV cache and no speculative decoding, on one Mac Studio with 18 CPU cores and 40 GPU cores. The headline uses pp512=1685.9 and tg128=62.05 from a five-trial mean; retained values also include pp128=1177.05, pp256=1469.71, tg256=62.51, and peak MLX allocator memory of 8.912 GB.

Oct 13, 2026
Showing 1–6 of 6
Page 1 of 1

Community benchmarks snapshot

Records by GPU

AMD Strix Halo 128GB351NVIDIA RTX 3090283NVIDIA RTX 5090201NVIDIA RTX 3060 12GB101NVIDIA DGX Spark100NVIDIA RTX 5060 Ti 16GB92NVIDIA RTX Pro 6000 Blackwell88AMD Radeon AI PRO R9700 32GB87NVIDIA RTX 5070 Ti81AMD RX 7900 XTX70

Records by model

3435 total
Qwen3.81611
Qwen3.6340
Gemma 4188
DeepSeek V4 Flash150
Qwen3.5147
DeepSeek V4.1 Flash114
other885

Records by engine

2401 total
llama.cpp1171
Strata249
vLLM234
MLX108
Ollama107
other532

Use cases

coding 1011agentic 684long-context 476tool-use 303vision 180summarization 88math 83creative-writing 64multilingual 36rp 22text-generation 9reasoning 3
coding1011agentic684long-context476tool-use303vision180summarization88math83creative-writing64

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 27B836Qwen3.8 125B · 6B active701Qwen3.6 35B · 3B active248DeepSeek V4 Flash 284B · 13B active133DeepSeek V4.1 Flash 552B · 16B active101Qwen3.6 27B81Gemma 4 26B · 4B active63GLM-5.3 320B · 18B active58

Quants

Q4_K_M404UD-Q4_K_XL194NVFP4182Q8_01194-bit110IQ3_XXS91IQ3_S89IQ4_XS87Q4_K_XL83Q481