llamaperf

Llama 2 7B

on Apple M2 Max (Mac Studio; one participating GPU; RAM unknown) · llama.cpp b1550 (8e672efe) / Metal

Oct 13, 2026
Throughput
24.7 t/s gen · 755.7 tokens/s prompt processing (prefill)Prompt processing is how fast the input is read, not how long you wait for the first word. How to measure time to first token.
Quant
F16 (GGUF)

Summary

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.

Download this model

This report's quant, F16, doesn't name one file of Llama 2 7B.

Compare this run

Medians of plain runs: one device, one request, no speculative decoding, the whole model in the device's memory. The report above is one setup, so read it beside them and not as one of them.

Llama 2 7B at 4-bit by hardware

Bars are medians on one scale, 0 to 72.4 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.

Every Llama 2 report →