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: M2 Max 64GB
Compare setup details (1 active)

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

Tone: positiveApple hardware
generation:
30.9 tokens/s
prompt processing (prefill):
549.0 tokens/s
quant:
W4W8 (MLX)
codingtool-uselong-context

User reports Inkling-2-Mini at 549 tok/s prefill and 30.9 tok/s decode on a 64 GB M2 Max, with 33.2 tok/s at MTP depth 2. Setup is experimental MLX Metal kernels with a mixed-precision W4W8 quant (5.52 bpw, 18 GB) and bundled DSpark MTP, benchmarked up to 32k context with 256 generated tokens. Other rows give 603 tok/s prefill with 29.9 tok/s adaptive decode, 543 tok/s with 28.2 tok/s, and 501 tok/s with 26.1 tok/s at 21.2 GB peak. Coding and tool-calling runs 37-48 tok/s at 75-89% acceptance, and a 512,444-token NIAH test scored 5/5 recall at 8.56 tok/s decode and 37.99 GB peak RAM after a 90.8 min cold prefill.

Nov 25, 2026
Apple hardware
generation:
93.0 tokens/s
prompt processing (prefill):
468.6 tokens/s
quant:
4-bit (source config) (MLX)

User reports Nemotron 3 at 93 t/s generation and 468.6 t/s prompt processing on an Apple M2 Max with 64GB unified memory. Setup is MLX with 4-bit quantization, a requested prompt length of 512 and generation cap of 128 at batch size 1, with no HTTP server involved. The figures are the mean of three retained trials after discarding Trial 1; peak memory was 18.974 in engine output units, and KV cache precision and prefill chunk size are unreported.

Oct 13, 2026
Apple hardware
generation:
18.0 tokens/s
prompt processing (prefill):
126.8 tokens/s
quant:
4-bit (source config) (MLX)

User reports Qwen 2.5 Coder 32B at 18 t/s generation and 126.8 t/s prompt processing on an M2 Max 64GB. Setup is MLX with 4-bit quantization, batch size 1, a requested 512-token prompt and 128-token generation cap, with peak memory 19.12 in engine output units. The stored figures are the three-trial means (TG 17.96 t/s, PP 126.82 t/s) rounded to 0.1 t/s; the source's CLI average includes a discarded fourth trial.

Oct 13, 2026
Apple hardware
generation:
88.9 tokens/s
prompt processing (prefill):
521.5 tokens/s
quant:
4-bit (source config) (MLX)

User reports Qwen3.5 35B-A3B at 88.9 t/s generation and 521.5 t/s prompt processing on a single Apple M2 Max with 64 GB unified memory. Setup is MLX with 4-bit quantization, a requested 512-token prompt and 128-token generation cap at batch size 1, with no drafter passed. The figures are three-trial means after discarding Trial 1; the source means are 88.85 t/s generation and 521.47 t/s prompt, and peak memory was 20.218 in engine output units.

Oct 13, 2026
Apple hardware
generation:
20.7 tokens/s
prompt processing (prefill):
91.4 tokens/s
quant:
4-bit (source config) (MLX)

User reports Qwen3.5 27B at 20.7 t/s generation and 91.4 t/s prompt processing on an Apple M2 Max with 64GB unified memory. Setup is MLX with 4-bit quantization, batch size 1, a requested prompt length of 512 and generation cap of 128, run directly via python -m mlx_lm benchmark with no HTTP server. The figures are the mean of three retained trials after discarding Trial 1; the source reports 20.71 t/s TG and 91.36 t/s PP, and peak memory of 16.302 in engine output units.

Oct 13, 2026
Apple hardware
generation:
52.6 tokens/s
prompt processing (prefill):
413.7 tokens/s
quant:
4-bit (source config) (MLX)

User reports GLM-4.7 at 52.6 t/s generation and 413.7 t/s prompt processing on a single Apple M2 Max with 64 GB unified memory. Setup is MLX with a 4-bit artifact, batch size 1, requested 512-token prompt and 128-token generation; KV cache precision and prefill chunk size are unreported. The figures are three-trial means after discarding Trial 1, with sample SD 0.04 for TG and 0.38 for PP; peak memory was 17.497 in engine output units.

Oct 13, 2026
Apple hardware
generation:
61.6 tokens/s
prompt processing (prefill):
465.2 tokens/s
quant:
4-bit mixed (config) (MLX)

User reports Gemma 4 26B-A4B at 61.6 t/s generation and 465.2 t/s prompt processing on an Apple M2 Max with 64GB of shared unified memory. Setup is MLX via the mlx_vlm text-only helper with a 4-bit mixed config, batch_size=1, requested 512-token prompt and 128-token generation cap, no HTTP server. The figures are three-trial means after discarding Trial 1; retained generation values were 61.389, 61.732 and 61.742 t/s, and peak memory was 15.255 GiB.

Oct 13, 2026
Apple hardware
generation:
117.8 tokens/s
prompt processing (prefill):
616.4 tokens/s
quant:
4-bit mixed (config) (MLX)

User reports LFM2 24B-A2B at 117.8 t/s generation and 616.4 t/s prompt processing on an M2 Max 64GB. Setup is MLX with a 4-bit mixed config, run directly via python -m mlx_lm benchmark with batch_size=1, a 512-token prompt and 128-token generation cap. The figures are three-trial means after discarding Trial 1; peak memory was 13.822 in engine output units, and KV cache precision, prefill chunk size and sampling settings are unreported.

Oct 13, 2026

Devstral Small-2505 / MLX-LM / requested PP512 TG128, 3 trials

M2 Max 64GB · MLX

Apple hardware
generation:
24.4 tokens/s
prompt processing (prefill):
104.2 tokens/s
quant:
4-bit (source config) (MLX)

User reports Devstral-Small-2505-4bit at 24.4 t/s generation and 104.2 t/s prompt processing on a single Apple M2 Max with 64 GB unified memory. Setup is MLX via python -m mlx_lm benchmark with 4-bit group 64 weights, a requested 512-token prompt and 128-token generation cap at batch size 1; KV cache precision is unreported. The figures are three-trial means after discarding Trial 1, with retained TG values of 24.434, 24.417 and 24.424 t/s; peak memory was 13.763 in engine units.

Oct 13, 2026
Apple hardware
generation:
85.5 tokens/s
prompt processing (prefill):
501.5 tokens/s
quant:
MXFP4-Q4 mixed (config) (MLX)

User reports gpt-oss 21B-A3.6B at 85.5 t/s generation and 501.5 t/s prompt processing on an M2 Max with 64GB unified memory. Setup is MLX with MXFP4-Q4 mixed quantization, run directly via python -m mlx_lm benchmark with batch_size=1, a requested prompt length of 512 and generation cap of 128. The figures are three-trial means after discarding Trial 1; peak memory was 11.713 in engine output units, and KV cache precision, prefill chunk size and sampling settings are unreported.

Oct 13, 2026
Apple hardware
generation:
62.7 tokens/s
prompt processing (prefill):
321.2 tokens/s
quant:
4-bit (source config) (MLX)

User reports Qwen3.5 9B at 62.7 t/s generation and 321.2 t/s prompt processing on an Apple M2 Max with 64GB unified memory. Setup is MLX with 4-bit quantization, a requested prompt length of 512 and generation cap of 128, batch size 1, no HTTP server. The figures are three-trial means after discarding Trial 1; retained generation trials were 62.651, 62.747 and 62.627 t/s, and peak memory was 5.87 in engine output units.

Oct 13, 2026
Apple hardware
generation:
72.9 tokens/s
prompt processing (prefill):
566.4 tokens/s
quant:
4-bit (source config) (MLX)

User reports Llama 3.1 8B at 72.9 t/s generation and 566.4 t/s prompt processing on a single Apple M2 Max with 64 GB unified memory. Setup is MLX via a direct python -m mlx_lm benchmark, 4-bit quantized, batch size 1, with a requested 512-token prompt and 128-token generation cap. The figures are three-trial means after discarding Trial 1; peak memory was 5.116 in engine output units, and KV cache precision and prefill chunk size are unreported.

Oct 13, 2026
Apple hardware
generation:
64.4 tokens/s
prompt processing (prefill):
491.1 tokens/s
quant:
4-bit (source config) (MLX)

User reports Granite 3.2 at 64.4 t/s generation and 491.1 t/s prompt processing on an M2 Max 64GB. Setup is MLX with 4-bit quantization, batch size 1, a requested 512-token prompt and 128-token generation cap, with no HTTP server involved. The figures are three-trial means after discarding Trial 1; peak memory was 5.218 in engine output units, and KV cache precision and prefill chunk size are unreported.

Oct 13, 2026
Apple hardware
generation:
76.8 tokens/s
prompt processing (prefill):
602.8 tokens/s
quant:
4-bit (source config) (MLX)

User reports Qwen2.5 7B at 76.8 t/s generation and 602.8 t/s prompt processing on an Apple M2 Max with 64GB unified memory. Setup is MLX via python -m mlx_lm benchmark with the mlx-community/Qwen2.5-7B-Instruct-4bit artifact, batch size 1, 512-token prompt and 128-token generation cap. The 76.8 t/s and 602.8 t/s are three-trial means after discarding Trial 1; retained generation values were 76.773, 76.747 and 76.821 t/s.

Oct 13, 2026
Apple hardware
generation:
128.3 tokens/s
prompt processing (prefill):
743.4 tokens/s
quant:
4-bit (source config) (MLX)

User reports Ministral 3 3B at 128.3 t/s generation and 743.4 t/s prompt processing on an Apple M2 Max with 64 GB unified memory. Setup is MLX via a direct python -m mlx_lm benchmark, 4-bit quantized, with a requested prompt length of 512 and generation cap of 128 at batch_size=1. The figures are three-trial means after discarding Trial 1; peak memory was 2.523 in engine output units, and KV cache precision and prefill chunk size are unreported.

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

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