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: M5 Max 48GB
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:
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
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
Apple hardware
generation:
151.1 tokens/s
prompt processing (prefill):
3333.4 tokens/s
quant:
4-bit (MLX)

User reports Qwen3.6 35B-A3B at 151.1 t/s generation and 3333.4 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 figures are arithmetic means of five trials from mlx-lm 0.31.3; the prompt rate is a native engine phase rate with first-token work included, not client TTFT.

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

User reports Qwen 3 4B 4-bit at 186 t/s generation and 5505.7 t/s prompt processing on an M5 Max 48GB. Setup is MLX with 4-bit weights and unquantized KV cache on one Mac Studio with 48 GB unified RAM. The headline figures are pp512=5505.67 and tg128=185.98 tokens/s, not a best-of sweep or an average across prompt lengths; the benchmark is synthetic text-token throughput with batch size 1.

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

User reports Qwen3-32B-4bit at 28.4 t/s generation and 730.9 t/s prompt processing on an M5 Max with 48GB unified RAM. Setup is MLX via mlx-lm 0.31.3 with 4-bit weights and unquantized KV cache, batch size 1, one warmup plus five measured trials. The headline figures are pp512 and tg128, not a best-of sweep or average; peak MLX allocator memory was 19.151 GB.

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

User reports Qwen 3 30B-A3B 4-bit at 147.2 t/s generation and 3458.2 t/s prompt processing on an M5 Max 48GB. Setup is MLX with 4-bit weights and unquantized KV cache on one Mac Studio with 48 GB unified RAM. The figures are single-batch synthetic token rates, not end-to-end request throughput; peak MLX allocator memory was 17.755 GB.

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

User reports Qwen3-14B-4bit at 62.6 t/s generation and 1738.6 t/s prompt processing on an M5 Max with 48GB unified RAM. Setup is MLX with 4-bit weights and unquantized KV cache, batch size 1, one model per process. The stored figures are the pp512 and tg128 values from a five-trial mean; the source also records pp128=1145.62, pp256=1393.0, tg256=62.71 t/s.

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

User reports Qwen 3 1.7B at 366 t/s generation and 12362.2 t/s prompt processing on an M5 Max 48GB. Setup is MLX with 4-bit weights and unquantized KV cache on one Mac Studio with 18 CPU cores and 40 GPU cores. The figures are native engine phase rates at batch size 1, not end-to-end request throughput; the source lists tg128=365.99 and pp512=12362.19.

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

User reports Qwen 3 0.6B 4-bit at 570.6 t/s generation and 22693.8 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 the pp512 and tg128 rates, not a best-of sweep or average; the source also lists pp128=9042.7, pp256=12175.94 and tg256=594.11 t/s.

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

User reports Qwen 2.5 Coder 7B at 121.8 t/s generation and 3362.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 and 40 GPU cores. The headline uses pp512 and tg128, not a best-of sweep; the source also records tg256 at 122.5 t/s and pp128 at 2139.32 t/s.

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

User reports Qwen 2.5 Coder 32B at 28.4 t/s generation and 734.4 t/s prompt processing on an M5 Max 48GB. Setup is MLX with 4-bit weights, batch size 1, unquantized KV cache, one Mac Studio with 18 CPU cores and 40 GPU cores. The headline uses pp512 and tg128 from a five-trial mean, not a best-of sweep; peak MLX allocator memory was 19.119 GB.

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

User reports Qwen 2.5 Coder 14B at 60.8 t/s generation and 1719.3 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 48 GB unified RAM. The headline uses pp512=1719.28 and tg128=60.76 from a five-trial mean; the source also records pp128=1079.54, pp256=1358.9 and tg256=61.35.

Oct 13, 2026

QwQ 32B 4-bit; native pp512/tg128 summary

M5 Max 48GB · MLX

Apple hardware
generation:
28.4 tokens/s
prompt processing (prefill):
734.8 tokens/s
quant:
4-bit (MLX)

User reports QwQ-32B-4bit at 28.4 t/s generation and 734.8 t/s prompt processing on an M5 Max with 48GB unified RAM. Setup is MLX with 4-bit weights and unquantized KV cache, batch size 1, one warmup plus five measured trials per configuration. The headline figures are the pp512 and tg128 rates, not a best-of sweep or an average across prompt lengths; peak MLX allocator memory was 19.119 GB.

Oct 13, 2026

Mistral Small-3.1-24B-Instruct-2503 4-bit; native pp512/tg128 summary

M5 Max 48GB · MLX

Apple hardware
generation:
41.1 tokens/s
prompt processing (prefill):
1051.0 tokens/s
quant:
4-bit (MLX)

User reports Mistral-Small-3.1-24B-Instruct-2503-4bit at 41.1 t/s generation and 1051 t/s prompt processing on an M5 Max 48GB. Setup is MLX with 4-bit weights and unquantized KV cache on one machine, batch size 1, no speculative decoding. The stored 41.1 t/s is the tg256 figure; the headline pair is pp512=1050.95 and tg128=41.06, with pp128=723.28 and pp256=882.13. Peak MLX allocator memory was 13.762 GB.

Oct 13, 2026

Mistral Nemo-Instruct-2407 4-bit; native pp512/tg128 summary

M5 Max 48GB · MLX

Apple hardware
generation:
75.6 tokens/s
prompt processing (prefill):
2087.2 tokens/s
quant:
4-bit (MLX)

User reports Mistral-Nemo-Instruct-2407-4bit at 75.6 t/s generation and 2087.2 t/s prompt processing on an M5 Max 48GB. Setup is MLX with 4-bit weights, batch size 1 and unquantized KV cache, with peak MLX allocator memory of 7.48 GB. The figures are means of five trials after one warmup, with prompt speed taken at 512 tokens and generation at 128; the source records 75.57 t/s and 2087.16 t/s.

Oct 13, 2026

Mistral 7B-Instruct-v0.3 4-bit; native pp512/tg128 summary

M5 Max 48GB · MLX

Apple hardware
generation:
120.7 tokens/s
prompt processing (prefill):
3210.4 tokens/s
quant:
4-bit (MLX)

User reports Mistral-7B-Instruct-v0.3-4bit at 120.7 t/s generation and 3210.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 with 18 CPU cores and 40 GPU cores. The figures are arithmetic means of five trials at batch size 1, with pp512 and tg128 taken from the (512,128) configuration; the benchmark is synthetic token throughput, not end-to-end request throughput.

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