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: M4 16GB
Compare setup details

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

Gemma 4 8B (4.5B active) E4B

M4 16GB · Magnitude · 2,048 ctx

Tone: positiveApple hardware
generation:
52.0 tokens/s
prompt processing (prefill):
941.0 tokens/s
quant:
Q4
agentic

User compares the same Gemma 4 E4B on a 16GB M4 MacBook across two engines with a 2048-token prompt. Magnitude reached the first word in 2.2 s against Ollama's 6.3 s, with prompt reading at 941 vs 326 tok/s. Generation was a near tie at 52 tok/s on Magnitude and 51 tok/s on Ollama. The engines pull different files by default: a 9.5GB NVFP4 on Ollama and a 5.3GB Q4 on Magnitude, which kept memory at 6GB instead of almost 10. User notes agents resend a large prompt every turn, so the prefill gap compounds, and asks whether prefill is the main source of slowness for others.

Nov 14, 2026
Tone: positiveApple hardware
generation:
51.0 tokens/s
prompt processing (prefill):
326.0 tokens/s
quant:
Q4
agentic

User compares the same Gemma 4 E4B on a 16GB M4 MacBook under Ollama and Magnitude with a 2048-token prompt. Ollama took 6.3 s to first word and read the prompt at 326 tok/s; Magnitude took 2.2 s and 941 tok/s. Generation was a tie at 51 vs 52 tok/s. Ollama pulled a 9.5GB NVFP4 file and Magnitude a 5.3GB Q4, which kept memory at 6GB instead of almost 10. User notes agents resend large prompts each turn, so the prefill gap compounds.

Nov 13, 2026
Tone: mixedApple hardware
generation:
50.7 tokens/s
prompt processing (prefill):
326.0 tokens/s
coding

User compares Ollama 0.40.14 and Magnitude on a 16GB M4 MacBook Pro running gemma4:e4b with a 2048-token prompt and 512 output tokens over 3 runs. Ollama decoded at 50.7 t/s with 326 t/s prefill and 6.3 s to first token; Magnitude decoded at 52.4 t/s with 941 t/s prefill and 2.2 s to first token. On a 4.4k-token prompt the first word took 13.2 s on Ollama and 4.9 s on Magnitude. Magnitude's default file loaded at about 6GB versus 9.8GB for Ollama's (5.3GB vs 9.5GB download). User notes Ollama's default context is 4096 and set OLLAMA_CONTEXT_LENGTH=32768 for a coding agent, and that lfm3:1.7b NVFP4 decoded at 51 t/s versus 73 t/s for lfm3:1.7b-qad-q4_0. Both engines cannot stay loaded on 16GB.

Nov 5, 2026

Gemma 4 12B

M4 16GB · llama.cpp · 8,192 ctx

Apple hardware
generation:
13.1 tokens/s
quant:
Q4_K_M (GGUF)

User reports Gemma 4 12B at 13.1 t/s on a Mac mini M4 with 16 GB unified memory. Setup is llama.cpp with Q4_K_M and 8,192 tokens of context, run on the official Mac build on Apple graphics. The 13.1 t/s is the median of three requests after a short warm-up, with roughly 1% agreement among repeats; the source omits measured Mac memory.

Oct 13, 2026
Apple hardware
generation:
16.5 tokens/s
prompt processing (prefill):
518.3 tokens/s
quant:
dynamic_wi8_afp32

User reports Gemma 4 at 16.5 t/s generation and 518.3 t/s prompt processing on an M4 with 16 GB unified memory. Setup is LiteRT-LM on the GPU backend with dynamic_wi8_afp32 quantization and a 4,096-token maximum context, using a 256-token prefill and 256-token decode benchmark. The source gives exact rates of 16.53 t/s decode and 518.28 t/s prefill, and does not establish whether the phases were separate tests or one request.

Oct 11, 2026

Gemma 4 26B (4B active)

M4 16GB · llama.cpp · 65,536 ctx

Tone: negativeApple hardware
generation:
30.9 tokens/s
quant:
IQ4_XS (GGUF)
kv:
q4_0
flash attention:
on

User reports a ~3.8x generation speed regression on Apple M4 Mac Mini (16 GB unified memory) with Gemma 4 26B A4B IQ4_XS. Master build (d12cc3d) achieves 8.14 tok/s versus 27.18 tok/s on tag b8680, both built from source with llama-server and identical flags. Setup uses Metal backend, --flash-attn on, q4_0 KV cache, 65536 context, and -ngl 99. The regression is reproducible and not explained by memory or swap pressure; prefill on b8680 was 55.7 tok/s.

Oct 7, 2026
Apple hardware
generation:
45.0 tokens/s
summarization

User reports Gemma 4 E2B at ~45 tokens/s single-task on three M4 Mac minis with 16GB RAM, each handling around 10 parallel tasks at ~6 tokens/s each. Setup is local inference on Apple Silicon; no engine, quant, or context length stated. The user asks whether one Mac Studio or more Mac minis would give better throughput for parallel labeling and categorization.

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