llamaperf

Llama 2 7B

on M1 Ultra 64GB · llama.cpp b944 (8183159) / CPU-Accelerate prefill; Metal decode · 512 ctx

Apple hardware
Oct 13, 2026
Throughput
72.4 t/s gen · 37.8 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
System RAM
64 GB

Summary

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.

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 Ultra 64GB

Bars are medians on one scale, 0 to 72.4 tokens/s. Press ▶ to watch text arrive at a row's speed.

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