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: M3 Ultra 512GB
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:
87.8 tokens/s
prompt processing (prefill):
2595.3 tokens/s
quant:
MXFP4_MOE (GGUF)
flash attention:
on
mtp (multi-token prediction):
off

User reports Gemma 4 26B-A4B at 87.8 t/s generation and 2595.3 t/s prompt processing on an M3 Ultra Mac Studio with 512 GB of unified memory. Setup is llama.cpp build b8783 with the MXFP4_MOE quantization, Metal backend, F16 K and V cache, and -ngl 999, running one GPU. The figures come from separate llama-bench phases: PP2048 at 2595.28 t/s and TG32 at 87.81 t/s, each the mean of five repetitions at context depth 0.

Oct 13, 2026
Apple hardware
generation:
84.9 tokens/s
prompt processing (prefill):
2634.8 tokens/s
quant:
UD-Q8_K_XL (GGUF)
flash attention:
on
mtp (multi-token prediction):
off

User reports Gemma 4 26B-A4B at 84.9 t/s generation and 2634.8 t/s prompt processing on an M3 Ultra Mac Studio with 512 GB of unified memory. Setup is llama.cpp build b8783 with the UD-Q8_K_XL quant, Metal backend, F16 K and V cache, and -ngl 999 offloading to one GPU. The figures come from llama-bench with -p 2048 -n 32 -ub 2048 -fa 1, five repetitions, batch 2048 and context depth 0; the article's llama-server, quality, VLM and long-context tests are separate.

Oct 13, 2026
Apple hardware
generation:
88.1 tokens/s
prompt processing (prefill):
2554.2 tokens/s
quant:
UD-Q5_K_M (GGUF)
flash attention:
on
mtp (multi-token prediction):
off

User reports Gemma 4 26B-A4B at 88.1 t/s generation and 2554.2 t/s prompt processing on an M3 Ultra Mac Studio with 512 GB of unified memory. Setup is llama.cpp build b8783 with UD-Q5_K_M and F16 K and V cache, Metal backend, one GPU, -ngl 999, batch 2048, five repetitions. The figures are separate llama-bench phases: PP2048 at 2554.16 t/s and TG32 at 88.08 t/s, not a paired 2048-token prompt followed by 32 generated tokens.

Oct 13, 2026
Apple hardware
generation:
62.4 tokens/s
prompt processing (prefill):
2649.3 tokens/s
quant:
BF16 (GGUF)
flash attention:
on
mtp (multi-token prediction):
off

User reports Gemma 4 26B-A4B at 62.4 t/s generation and 2649.3 t/s prompt processing on an M3 Ultra Mac Studio with 512 GB of unified memory. Setup is llama.cpp build b8783 with BF16 weights, F16 K and V cache, Metal backend, and -ngl 999, using -p 2048 -n 32 -ub 2048 -fa 1. The figures are separate llama-bench phases: PP evaluates 2048 synthetic tokens and TG 32 sequential single tokens, with five repetitions and no speculative decoding.

Oct 13, 2026
Apple hardware
generation:
9.2 tokens/s
prompt processing (prefill):
295.9 tokens/s
quant:
BF16 (MLX)

User reports Gemma 4 31B at 9.2 t/s generation and 295.9 t/s prompt processing on an M3 Ultra 512GB. Setup is MLX with BF16 weights at 32768 input tokens and 128 output tokens, batch 1 on one device, with a fresh KV cache per call and no draft or KV-quant flags. The 32768-token row is a five-trial median, not pooled across lengths, with a peak allocator high-water of 71.714GB; a stuck indexer consumed one CPU core during the tests and its effect was not measured.

Oct 13, 2026
Apple hardware
generation:
21.4 tokens/s
prompt processing (prefill):
235.1 tokens/s
quant:
4bit MLX (MLX)
long-context

User reports Gemma 4 31B at 21.4 t/s generation and 235.1 t/s prompt processing on a single Mac Studio with an M3 Ultra and 512 GB unified memory. Setup is mlx-vlm with 4bit MLX, 36,777 actual input tokens and 128 generated tokens per run, three runs, peak memory 29.7 GB. The figures are medians; prompt processing p10/p90 are 234.8 and 236.1 t/s, and KV quantization, flash attention and speculative decoding are not exposed.

Oct 12, 2026
Apple hardware
generation:
67.6 tokens/s
prompt processing (prefill):
1645.0 tokens/s
quant:
4bit MLX (MLX)
long-context

User reports Gemma 4 26B-A4B at 67.6 t/s generation and 1,645.0 t/s prompt processing on a Mac Studio with an M3 Ultra and 512 GB unified memory. Setup is mlx-vlm with 4bit MLX, run on a 36,777-token prompt with 128 generated tokens per run over three runs; both figures are medians. Peak memory was 20.0 GB and median wall time 27 seconds; the configured context cap and KV quantization are not stated.

Oct 12, 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