llamaperf

Llama 2 7B

on M1 Max 64GB · llama.cpp b2296 (d5ab2975) / Metal

Apple hardware
Oct 13, 2026
Throughput
61.4 t/s gen · 536.4 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
Q4_0 (GGUF)
System RAM
64 GB

Summary

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.

Download this model

Llama 2 7B on Hugging Face in the quant this report ran, Q4_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.

Models most run on the M1 Max 64GB

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

Everything reported on the M1 Max 64GB →Every Llama 2 report →Estimate Llama 2 on this card →