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: M4 16GB
Compare setup details (1 active)

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

Qwen3 4B

M4 16GB · llama.cpp

Apple hardware
generation:
33.4 tokens/s
prompt processing (prefill):
355.8 tokens/s
quant:
Q4_K_M (GGUF)

User reports Qwen3-4B at 33.40 t/s generation and 355.79 t/s prompt processing on an M4 16GB MacBook Air. Setup is llama.cpp build 11960 with Q4_K_M GGUF, all layers on the Metal GPU, flash attention auto, 4 threads, 5 repetitions. llama-bench run with pp512 and tg128; the 2.32 GiB model ran on a fanless machine with one request and no speculative decoding.

Nov 22, 2026

Qwen3.5 9B

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

Tone: mixedApple hardware
generation:
11.4 tokens/s
quant:
Q4_K_M (GGUF)
flash attention:
on
codingagentic

User benchmarks Qwen3.5 9B at 11.4 t/s on an M4 16GB Mac, scoring 8/10 as a coding agent in Atomic Agent. Setup is llama.cpp server with Q4_K_M GGUF, 64k context, flash attention, all layers on GPU, thinking off, temp 0.2. Qwen3.5 4B scored 7/10 at 17.8 t/s; Xiaomi MiMo-V2.6-Distill-Qwen-9B scored 0/10 in all three runs, timing out at 15:00 at 10.1 t/s, and 0/10 with thinking on at 9.3 t/s. In an earlier 32k-context round Qwen3.5 9B scored 10/10.

Nov 17, 2026

Qwen3.5 4B

M4 16GB · llama.cpp

Tone: positiveApple hardware
generation:
10.0 tokens/s
prompt processing (prefill):
50-80 tokens/s
quant:
Q4_K_M (GGUF)
codingagentic

User reports Qwen3.5 4B scoring 10/10 on hidden tests as a coding agent on a 16GB M4 MacBook Air, fully offline. Setup is llama.cpp server with Q4_K_M GGUF (Unsloth) and the OpenAI-compatible /v1 endpoint; the 9B scored 7/10 on the same function and 22/50 on the full app. Speed is given only as a range, about 10 tok/s generation and 50 to 80 tok/s prompt. The user notes one run per setup after the fix, one task, one machine, and did not rerun the 4B on the full app.

Nov 13, 2026

Qwen3.6 35B (3B active)

M4 16GB · llama.cpp · 16,384 ctx

Tone: positiveApple hardware
generation:
23.0 tokens/s
prompt processing (prefill):
29.6 tokens/s
quant:
UD-Q4_K_M (GGUF)
codingagentic

User reports Qwen3.6-35B-A3B at 23.0 tok/s generation and 29.6 tok/s prompt reading on a single prompt, on a 16 GB Mac mini M4. Setup is stock llama.cpp b11715 with the Kraits plugin, Unsloth UD-Q4_K_M (22.1 GB) weights, 16K context, temperature 0 and thinking off. A 4-agent crew writing a TypeScript LRU cache ran at 16.0-23.8 tok/s writing and 37.8-47.3 tok/s reading at ~16K context, scoring 9/9; the ~8K run scored 8/8 and the ~1K run 6/8. The single prompt scored 8/8 in 43.7 s.

Oct 21, 2026

Qwen3.5 0.8B

M4 16GB · llama.cpp

Apple hardware
generation:
90.1 tokens/s
prompt processing (prefill):
2122.0 tokens/s
quant:
Q8_0 (GGUF)
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.5-0.8B at 90.1 t/s generation and 2122 t/s prompt processing on an M4 16GB Mac mini. Setup is llama.cpp 0.6.0 build 11429 with Q8_0 and Metal, flash attention enabled, single-stream. The same campaign's Homebrew llama.cpp 0.4.1 build 10964 baseline reached 87.3 t/s generation and 2049 t/s prompt processing; batched aggregate generation was 87.7 t/s at 1 stream and 322.4 t/s at 8 streams.

Oct 13, 2026

Qwen3.5 4B

M4 16GB · llama.cpp

Apple hardware
generation:
28.3 tokens/s
prompt processing (prefill):
352.4 tokens/s
quant:
Q4_K_M (GGUF)
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.5-4B at 28.3 t/s generation and 352.4 t/s prompt processing on a Mac mini M4 with 16 GB unified memory. Setup is llama.cpp 0.6.0 build 11429 with Metal, Q4_K_M GGUF, flash attention enabled, run via llama-bench with -p 512 -n 64 -d 0,4096 -r 3. The two figures are separate microbenchmarks, not one 512-input/64-output request; generation context depth is unknown, and PP512 after 4096 existing tokens is 321.5 t/s.

Oct 13, 2026

Qwen2.5 3B

M4 16GB · llama.cpp

Apple hardware
generation:
47.4 tokens/s
prompt processing (prefill):
556.9 tokens/s
quant:
Q4_K_M (GGUF)

User reports Qwen2.5 3B at 47.4 t/s generation and 556.9 t/s prompt processing on a base Apple M4 Mac mini with 16 GB unified memory. Setup is llama.cpp with Q4_K_M, all layers on the GPU via Metal, measured with llama-bench PP512 and TG128 passes. The figures are means of three repetitions, with 10.42 GiB baseline system RAM in use during the run, so it is not an idle-machine result.

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

Qwen3.5 9B

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

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

User reports Qwen3.5 9B at 17.7 t/s on a Mac mini M4 with 16 GB unified memory. Setup is llama.cpp with Q4_K_M and a configured context of 8,192 tokens. The figure is the median of three requests after a short warm-up, with roughly 1% agreement among repeats; no prompt-processing rate, TTFT or end-to-end latency is supplied.

Oct 13, 2026

Qwen3.5 4B

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

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

User reports Qwen3.5 4B at 29.7 t/s on a Mac mini M4 with 16 GB unified memory. Setup is llama.cpp with Q4_K_M and a configured context of 8,192 tokens; KV cache precision is not stated. The figure is the median of three requests after a short warm-up, with roughly 1% agreement among repeats; no prompt-processing rate or TTFT is given.

Oct 13, 2026

Qwen3.8 27B

2× M4 16GB · llama.cpp

Apple hardware
generation:
5.8 tokens/s
prompt processing (prefill):
60.5 tokens/s
quant:
UD-Q4_K_M (GGUF)
flash attention:
on
mtp (multi-token prediction):
off

User reports Qwen3.8-27B at 5.8 t/s generation and 60.5 t/s prompt processing on two Apple Mac mini M4 machines with 16 GB unified RAM each. Setup is llama.cpp build 9731ad3 with Metal and RPC, Unsloth UD-Q4_K_M, model split 50/50 over a Thunderbolt 4 bridge, with -fa 1 -ngl 99 -b 1024 -ub 512 and three repetitions. The 5.8 t/s is the tg128 native llama-bench microtest and 60.5 t/s is the separate pp512 phase; one mini cannot fit the 16.5 GB artifact at its 13 GB GPU limit.

Oct 13, 2026

Llama 3.1 8B

M4 16GB · llama.cpp

Apple hardware
generation:
21.0 tokens/s
prompt processing (prefill):
229.2 tokens/s
quant:
Q4_K_M (GGUF)

User reports Llama 3.1 8B at 21 t/s generation and 229.2 t/s prompt processing on an M4 16GB Mac mini. Setup is llama.cpp 0.4.0 with Q4_K_M and Metal, all layers on GPU; context, KV precision and Flash Attention are unknown. The figures come from separate llama-bench tests, pp512 at 229.23 ±0.08 t/s and tg128 at 20.95 ±0.02 t/s over three runs, not a combined 512-input/128-output completion, with 10.29 GiB RAM already in use.

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

Qwen3.6 35B (3B active)

2× M4 16GB · llama.cpp · 131,072 ctx

Tone: mixedApple hardware
generation:
25.0 tokens/s
quant:
4-bit (GGUF)
agenticsecurity-researchlearning

User reports about 25 tokens/s on short prompts running a 35B MoE model at 4-bit with 131K context on two base M4 Mac minis (16 GB each) over Thunderbolt 4 using llama.cpp RPC mode. Setup splits the model across the two M4s with a 50/50 memory split; a 40/60 split OOMed one machine. An M1 Mac mini acts as gateway with an OpenAI-compatible API and HTTP proxy. A 64K-token prompt takes almost five minutes to first token, and prompt cache hits arrive roughly 70x sooner. User notes reasoning was on by default and that the setup is good for background agents and learning but cloud models are still used for daily work.

Oct 3, 2026
Showing 1–14 of 14
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