llamaperf

Llama 2 7B

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

Apple hardware
Oct 13, 2026
Throughput
41.9 t/s gen · 455.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
Q5_1 (GGUF)
System RAM
64 GB

Summary

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.

Download this model

This report's quant, Q5_1, 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.

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 →