llamaperf

Llama 2 7B

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

Oct 13, 2026
Throughput
41.8 t/s gen · 677.9 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
Q8_0 (GGUF)

Summary

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.

Download this model

Llama 2 7B on Hugging Face in the quant this report ran, Q8_0.

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 →