Speeds are as each source reported them. GPU count, offloading and concurrent requests change them, and prompt-processing speed is input throughput, not time to first token. Check the full setup before comparing two reports.
- generation:
- 51.9 tokens/s
- prompt processing (prefill):
- 491.7 tokens/s
- quant:
- IQ4_XS (GGUF)
User reports Llama 2 7B Chat at 51.9 t/s generation and 491.7 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory.
Setup is llama.cpp b2296 with IQ4_XS and Metal, ngl 99, using the author's locally converted weights.
The figures are separate synthetic llama-bench phases, PP512 and TG128, not one 512-input/128-output request; TTFT was not measured.
- generation:
- 53.2 tokens/s
- prompt processing (prefill):
- 520.6 tokens/s
- quant:
- IQ4_NL (GGUF)
User reports Llama 2 7B Chat at 53.2 t/s generation and 520.6 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory.
Setup is llama.cpp b2296 with IQ4_NL and Metal, ngl 99, on one GPU.
The figures are separate llama-bench phases, PP512 and TG128, not one chat request; TTFT was not measured.
- generation:
- 61.4 tokens/s
- prompt processing (prefill):
- 536.4 tokens/s
- quant:
- Q4_0 (GGUF)
User reports Llama 2 7B Chat at 61.4 t/s generation and 536.4 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory.
Setup is llama.cpp b2296 with Q4_0 and Metal, ngl 99, on one participating GPU.
The figures are separate synthetic llama-bench phases, PP512 and TG128, not one 512-input/128-output chat request; TTFT was not measured.
- generation:
- 52.0 tokens/s
- prompt processing (prefill):
- 474.3 tokens/s
- quant:
- Q4_K_S (GGUF)
User reports Llama 2 7B Chat at 52 t/s generation and 474.3 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory.
Setup is llama.cpp b2296 with Q4_K_S and Metal, ngl 99, on one GPU.
The figures are separate llama-bench phases, PP512 and TG128, not one chat request; TTFT was not measured.
- generation:
- 49.2 tokens/s
- prompt processing (prefill):
- 469.9 tokens/s
- quant:
- Q4_K_M (GGUF)
User reports Llama 2 7B Chat at 49.2 t/s generation and 469.9 t/s prompt processing on an M1 Max Mac Studio with 64GB unified memory.
Setup is llama.cpp b2296 with Q4_K_M and Metal, ngl 99, on one GPU.
The figures are separate llama-bench phases, PP512 and TG128, not one chat request; TTFT was not measured.
- generation:
- 57.2 tokens/s
- prompt processing (prefill):
- 534.1 tokens/s
- quant:
- Q4_1 (GGUF)
User reports Llama 2 7B Chat at 57.2 t/s generation and 534.1 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory.
Setup is llama.cpp b2296 with Q4_1 and Metal, ngl 99, on one GPU.
The figures are separate llama-bench phases, PP512 and TG128, not one chat request; TTFT was not measured.
- generation:
- 40.3 tokens/s
- prompt processing (prefill):
- 422.9 tokens/s
- quant:
- Q5_K_S (GGUF)
User reports Llama 2 7B Chat at 40.3 t/s generation and 422.9 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory.
Setup is llama.cpp b2296 with Q5_K_S and Metal, ngl 99, on one GPU.
The figures are separate synthetic llama-bench phases, PP512 and TG128, not one 512-input/128-output request; TTFT was not measured.
- generation:
- 39.7 tokens/s
- prompt processing (prefill):
- 428.6 tokens/s
- quant:
- Q5_K_M (GGUF)
User reports Llama 2 7B Chat at 39.7 t/s generation and 428.6 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory.
Setup is llama.cpp b2296 with Q5_K_M and Metal, ngl 99, on one GPU.
The figures are separate synthetic llama-bench phases, PP512 and TG128, not one 512-input/128-output request; TTFT was not measured.
- generation:
- 41.9 tokens/s
- prompt processing (prefill):
- 455.7 tokens/s
- quant:
- Q5_1 (GGUF)
User reports Llama 2 7B Chat at 41.9 t/s generation and 455.7 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory.
Setup is llama.cpp b2296 with Q5_1 quantization and Metal backend at ngl 99, using one GPU.
The figures come from separate llama-bench phases, PP512 and TG128, not a single chat request; TTFT was not measured.
- generation:
- 39.0 tokens/s
- prompt processing (prefill):
- 444.3 tokens/s
- quant:
- Q6_K (GGUF)
User reports Llama 2 7B Chat at 39 t/s generation and 444.3 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory.
Setup is llama.cpp b2296 with Q6_K and Metal, ngl 99, on one GPU.
The figures are separate llama-bench phases, PP512 and TG128, not one 512-input/128-output request; TTFT was not measured.
- generation:
- 40.4 tokens/s
- prompt processing (prefill):
- 547.3 tokens/s
- quant:
- Q8_0 (GGUF)
User reports Llama 2 7B Chat at 40.4 t/s generation and 547.3 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory.
Setup is llama.cpp b2296 with Q8_0 and Metal, ngl 99, on one participating GPU.
The figures are separate synthetic llama-bench phases, PP512 and TG128, not one 512-input/128-output request; TTFT was not measured.
- generation:
- 23.2 tokens/s
- prompt processing (prefill):
- 603.1 tokens/s
- quant:
- F16 (GGUF)
User reports Llama 2 7B Chat at 23.2 t/s generation and 603.1 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory.
Setup is llama.cpp b2296 with F16 weights and Metal, ngl 99, on one participating GPU.
The figures are separate llama-bench phases, PP512 and TG128, not one 512-input/128-output request; TTFT was not measured.
- generation:
- 12.6 tokens/s
- prompt processing (prefill):
- 549.3 tokens/s
- quant:
- F32 (GGUF)
User reports Llama 2 7B Chat at 12.6 t/s generation and 549.3 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory.
Setup is llama.cpp b2296 with F32 weights and Metal backend at ngl 99, using one GPU.
The figures come from separate llama-bench phases, PP512 and TG128, not one 512-input/128-output request; TTFT was not measured.
- generation:
- 72.4 tokens/s
- prompt processing (prefill):
- 37.8 tokens/s
- quant:
- Q4_0
User reports Llama 2 7B Chat Q4_0 at 72.4 t/s generation and 37.8 t/s prompt processing on a 2022 Mac Studio M1 Ultra with 64 GB unified RAM.
Setup is native llama.cpp build 944 with 512 context, batch 512, ngl 32, and 16 CPU threads; the source rates were 72.39 t/s from 27 evaluation runs and 37.75 t/s from 19 tokens.
Single-token evaluation runs on Metal while multi-token prompt evaluation falls back to CPU, so the prompt figure is not GPU-prefill throughput.
- generation:
- 66.0 tokens/s
- prompt processing (prefill):
- 671.3 tokens/s
- quant:
- Q4_0 (GGUF)
User reports a LLaMA-family 7B model at 66 t/s generation and 671.3 t/s prompt processing on a Mac Studio M2 Max with 12 CPU cores and 38 GPU cores.
Setup is llama.cpp build 1550 with Q4_0 quantization, Metal backend, ngl 99, and F16 KV cache, with one Metal GPU participating.
The figures are native llama-bench PP512 and TG128 results, independent synthetic prompt and generation tests rather than a 512-token prompt followed by a 128-token answer.
- generation:
- 41.8 tokens/s
- prompt processing (prefill):
- 677.9 tokens/s
- quant:
- Q8_0 (GGUF)
User reports LLaMA-family 7B at 41.8 t/s generation and 677.9 t/s prompt processing on a Mac Studio M2 Max with 12 CPU cores and 38 GPU cores.
Setup is llama.cpp build 1550 with Q8_0 and F16 KV cache, Metal backend with ngl 99 on one GPU.
The figures are native llama-bench PP512 and TG128 results, independent synthetic prompt and generation tests rather than a 512-token prompt followed by a 128-token answer.
- generation:
- 24.7 tokens/s
- prompt processing (prefill):
- 755.7 tokens/s
- quant:
- F16 (GGUF)
User reports a LLaMA-family 7B model at 24.7 t/s generation and 755.7 t/s prompt processing on a Mac Studio M2 Max with 12 CPU cores and 38 GPU cores.
Setup is llama.cpp build 1550 with F16 quantization and F16 KV cache, Metal backend with ngl 99 on one GPU.
The figures are llama-bench PP512 and TG128 synthetic tests, not a 512-token prompt followed by a 128-token answer; the source rates are 755.67 ± 0.11 t/s and 24.65 ± 0.02 t/s.
- generation:
- 21.0 tokens/s
- prompt processing (prefill):
- 58.9 tokens/s
- quant:
- Q4_0 (GGUF)
- flash attention:
- on
- mtp (multi-token prediction):
- off
User reports llama 7B Q4_0 at 21 t/s generation and 58.9 t/s prompt processing on an Apple M2 Pro Mac mini with 16 GPU cores.
Setup is llama.cpp build 6182 with Vulkan, ngl=100 and flash attention, running on one physical GPU under Asahi Linux.
The PP512 and TG128 figures are separate synthetic tests, not one 512-input/128-output request; the source rates are 58.86 and 20.97 t/s.
- generation:
- 21.0 tokens/s
- prompt processing (prefill):
- 62.7 tokens/s
- quant:
- Q4_0 (GGUF)
- flash attention:
- off
- mtp (multi-token prediction):
- off
User reports llama.cpp at 21 t/s generation and 62.7 t/s prompt processing on an Apple M2 Pro Mac mini with 16 GPU cores.
Setup is llama.cpp build 6182 with Vulkan backend, Q4_0 quant, ngl=100 and FA=0, on one physical Apple M2 Pro GPU under Asahi Linux.
The PP512 and TG128 figures are separate synthetic tests, not one 512-input/128-output request; the source rates are 62.70 and 20.95 t/s.