llamaperf

Llama 2

39 reports

Llama 2 7B at 4-bit generates a median of 52.6 tokens per second on the M1 Max 64GB, the hardware it is most run on, from 6 plain runs (community reports, as of 28 Nov 2026).

As of 28 Nov 2026, Llama 2 7B at 4-bit on each device, fastest first, with the median generation speed of plain runs (one device, one request, no speculative decoding, the whole model in its memory):

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.

Speed on every device it has run on →
Llama 2 VRAM requirements by size and quant →

How does Llama 2 run on your hardware?

Pick your GPU or Mac, then read the speeds people reported for Llama 2 on it, or estimate memory fit and speed.

Free to use. No account needed. Memory estimates and community measurements are labelled separately.

Run Llama 2 yourself? Add your numbers.

Your coding agent can run a speed test on your machine and send it here with a free account. Or paste a result you've already posted.

Reported performance for Llama 2

Filter this model’s reports by setup →

Showing 20 of 39 reports. See all of them →

Speeds are as each source reported them. GPU count, offloading and concurrent requests change them, and prompt-processing speed is input throughput, not time to first token. Check the full setup before comparing two reports.

Tone: mixedIntel hardware
generation:
69.7 tokens/s
prompt processing (prefill):
2074.2 tokens/s
quant:
Q4_0 (GGUF)

User benchmarks Llama 2 7B Q4_0 on an Arc A770 16GB with arcint's llama.cpp patches and flash attention on, reaching 2074.21 t/s prefill and 69.71 t/s decode in llama-bench (512 prefill, 128 decode, 5 repetitions). Both builds are at llama.cpp commit 3e4dfa8 on a Ryzen 5700X, Debian 13, xe driver; the A770 sits on PCIe 3.0 x4 behind the chipset with its clock pinned at 2000 MHz. Stock SYCL fp16 with flash attention decodes faster at 73.66 t/s but prefills at 1457.24 t/s; arcint leads prefill by 10.5% on the A770 and 31% on the B60, while SYCL wins decode by 5.4% and 4.4%. Through arcint's own server the A770 gives 1963 / 70.5. On the B60, Qwen3.6-35B-A3B Q4_K_M runs at 2332 / 84.9 and Qwen3.8-27B Q4_K_M at 844 / 19.9; the 27B at full 262,144 context with MTP drafts decodes 47.1 t/s at 3,599 prompt tokens down to 12.5 t/s at 234,553.

Nov 5, 2026
Tone: positiveIntel hardware
prompt processing (prefill):
4454.0 tokens/s
quant:
Q4_0 (GGUF)

User reports Llama 2 7B Q4_0 prompt processing at 4,454 t/s on an Intel Arc B580 with llama.cpp's SYCL backend, ahead of the RTX 5060 Ti's 4,196 t/s on llama.cpp's scoreboard. Prompt processing is 3.3x to 6.6x faster than llama.cpp master across Llama 2, Llama 3.1, Qwen3.5 and Gemma 4, with long chats 1.5x faster at 32K and 1.6x at 64K. Short batches on K-quant models are up to 2.5x faster and still in progress; perplexity is unchanged. The changes are on the user's GitHub branches and submitted for upstreaming.

Oct 21, 2026
NVIDIA hardware
generation:
62.0 tokens/s
prompt processing (prefill):
1084.0 tokens/s
quant:
Q4_0 (GGUF)

User benchmarks Llama-2 7B at 62 t/s generation and 1084 t/s prompt processing on an NVIDIA GTX 1080 Ti 11GB. Setup is the CUDA build of llama.cpp with Q4_0 GGUF weights, run via llama-bench with -ngl 100. Figures are pp512 and tg128, a plain single-stream run with no speculative decoding.

Oct 20, 2026

Llama 2 70B

M1 Ultra 128GB · llama.cpp b2164 / 65085c71 / Metal · 512 ctx

Apple hardware
generation:
11.1 tokens/s
prompt processing (prefill):
68.1 tokens/s
quant:
Q4_K_M (GGUF)
kv:
F16

User reports Llama 2 70B Chat at 11.1 t/s generation and 68.1 t/s prompt processing on a Mac Studio M1 Ultra with 128GB unified memory. Setup is llama.cpp build 2164 with Q4_K_M quantization, 512-token context, F16 K and F16 V cache, all 81 layers offloaded to the Metal GPU. The figures are the runtime's separate prompt-eval and eval counters, not wall-clock request throughput; prompt evaluation was 56 tokens and token evaluation was 333 runs.

Oct 14, 2026

Llama 2 7B

2× heterogeneous GPUs total: Radeon 8060S + NVIDIA RTX 5070 Ti 16GB · llama.cpp / Vulkan (build unreported)

generation:
130.2 tokens/s
prompt processing (prefill):
5790.9 tokens/s
quant:
Q4_0 (GGUF)
flash attention:
on

User reports Llama2 7B at 130.2 t/s generation and 5790.9 t/s prompt processing on a Radeon 8060S plus an RTX 5070 Ti over OCuLink. Setup is llama-bench with Q4_0, -ngl 99, -fa 1, -n 128 and -p 512, split 9/1 between the RTX 5070 Ti and the Radeon 8060S. The 9/1 split is the first interior configuration, not the fastest single-device endpoint; the 10/0 endpoint reached 168.91 t/s generation and 7461.22 t/s prompt processing.

Oct 14, 2026

Llama 2 7B

AMD Strix Halo 128GB · llama.cpp / ROCm (build unreported)

AMD hardware
generation:
50.2 tokens/s
prompt processing (prefill):
1493.3 tokens/s
quant:
Q4_0 (GGUF)
flash attention:
on

User reports Llama2 7B at 50.2 t/s generation and 1493.3 t/s prompt processing on an AMD Strix Halo 128GB system. Setup is llama.cpp with Q4_0, run natively on the Radeon 8060S iGPU via ROCm with -ngl 99 and flash attention; an attached RTX 5070 Ti does not participate. ROCm TG128 measured 50.16 +/- 0.07 t/s and PP512 1493.28 +/- 30.20 t/s; prompt processing fell to 958.19 t/s at 8192 tokens of context.

Oct 14, 2026

Llama 2 7B

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

Apple hardware
generation:
53.0 tokens/s
prompt processing (prefill):
499.1 tokens/s
quant:
IQ1_S (GGUF)

User reports Llama 2 7B Chat at 53 t/s generation and 499.1 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory. Setup is llama.cpp b2296 with IQ1_S quantization and Metal backend at ngl 99, one participating GPU. The figures are separate synthetic llama-bench phases, PP512 and TG128, not one chat request; TTFT was not measured.

Oct 13, 2026

Llama 2 7B

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

Apple hardware
generation:
50.5 tokens/s
prompt processing (prefill):
462.1 tokens/s
quant:
IQ2_XXS (GGUF)

User reports Llama 2 7B Chat at 50.5 t/s generation and 462.1 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory. Setup is llama.cpp b2296 with IQ2_XXS and Metal, ngl 99, on one GPU. The figures are separate synthetic llama-bench phases, PP512 and TG128, not one chat request; TTFT was not measured.

Oct 13, 2026

Llama 2 7B

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

Apple hardware
generation:
48.4 tokens/s
prompt processing (prefill):
472.2 tokens/s
quant:
IQ2_XS (GGUF)

User reports Llama 2 7B Chat at 48.4 t/s generation and 472.2 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory. Setup is llama.cpp b2296 with IQ2_XS weights and Metal, ngl 99, on one GPU. The figures are separate llama-bench phases, PP512 and TG128, not one chat request; TTFT was not measured.

Oct 13, 2026

Llama 2 7B

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

Apple hardware
generation:
47.3 tokens/s
prompt processing (prefill):
469.5 tokens/s
quant:
IQ2_S (GGUF)

User reports Llama 2 7B Chat at 47.3 t/s generation and 469.5 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory. Setup is llama.cpp b2296 with IQ2_S quant, Metal backend and ngl 99, one participating GPU. The figures are separate synthetic llama-bench phases, PP512 and TG128, not one chat request; TTFT was not measured.

Oct 13, 2026

Llama 2 7B

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

Apple hardware
generation:
62.5 tokens/s
prompt processing (prefill):
512.2 tokens/s
quant:
Q2_K_S (GGUF)

User reports Llama 2 7B Chat at 62.5 t/s generation and 512.2 t/s prompt processing on an M1 Max Mac Studio with 64GB unified memory. Setup is llama.cpp b2296 with Q2_K_S and Metal, ngl 99, on one GPU. The figures are separate llama-bench phases, PP512 and TG128, not one chat request; the source rates are 512.21 and 62.49 t/s.

Oct 13, 2026

Llama 2 7B

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

Apple hardware
generation:
38.4 tokens/s
prompt processing (prefill):
462.4 tokens/s
quant:
IQ2_M (GGUF)

User reports Llama 2 7B Chat at 38.4 t/s generation and 462.4 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory. Setup is llama.cpp b2296 with IQ2_M quant, Metal backend and ngl 99, one participating GPU. The figures are separate synthetic llama-bench phases, PP512 and TG128, not one chat request; TTFT was not measured.

Oct 13, 2026

Llama 2 7B

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

Apple hardware
generation:
51.6 tokens/s
prompt processing (prefill):
493.4 tokens/s
quant:
Q2_K (GGUF)

User reports Llama 2 7B Chat at 51.6 t/s generation and 493.4 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory. Setup is llama.cpp b2296 with Q2_K and Metal, ngl 99, on one participating GPU. The figures are separate synthetic llama-bench phases, PP512 and TG128, not one chat request; TTFT was not measured.

Oct 13, 2026

Llama 2 7B

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

Apple hardware
generation:
46.4 tokens/s
prompt processing (prefill):
470.0 tokens/s
quant:
IQ3_XXS (GGUF)

User reports Llama 2 7B Chat at 46.4 t/s generation and 470 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory. Setup is llama.cpp b2296 with IQ3_XXS and Metal, ngl 99, on one participating GPU. The figures are separate synthetic llama-bench phases, PP512 and TG128, not one chat request; TTFT was not measured.

Oct 13, 2026

Llama 2 7B

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

Apple hardware
generation:
47.9 tokens/s
prompt processing (prefill):
464.9 tokens/s
quant:
IQ3_XS (GGUF)

User reports Llama 2 7B Chat at 47.9 t/s generation and 464.9 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory. Setup is llama.cpp b2296 with the IQ3_XS quant, Metal backend and ngl 99, using the author's locally converted weights. The figures are separate synthetic llama-bench phases, PP512 and TG128, not one 512-input/128-output request; TTFT was not measured.

Oct 13, 2026

Llama 2 7B

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

Apple hardware
generation:
42.6 tokens/s
prompt processing (prefill):
466.8 tokens/s
quant:
Q3_K_S (GGUF)

User reports Llama 2 7B Chat at 42.6 t/s generation and 466.8 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory. Setup is llama.cpp b2296 with Q3_K_S and Metal, ngl 99, on one GPU. The figures are separate llama-bench phases, PP512 and TG128, not one 512-input/128-output request; TTFT was not measured.

Oct 13, 2026

Llama 2 7B

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

Apple hardware
generation:
47.7 tokens/s
prompt processing (prefill):
456.1 tokens/s
quant:
IQ3_S (GGUF)

User reports Llama 2 7B Chat at 47.7 t/s generation and 456.1 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory. Setup is llama.cpp b2296 with IQ3_S quant, Metal backend and ngl 99, one participating GPU. The figures are separate synthetic llama-bench phases, PP512 and TG128, not one 512-input/128-output request; TTFT was not measured.

Oct 13, 2026

Llama 2 7B

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

Apple hardware
generation:
47.7 tokens/s
prompt processing (prefill):
459.5 tokens/s
quant:
IQ3_M (GGUF)

User reports Llama 2 7B Chat at 47.7 t/s generation and 459.5 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory. Setup is llama.cpp b2296 with IQ3_M and Metal, ngl 99, on one GPU. The figures are separate llama-bench phases, PP512 and TG128, not one chat request; TTFT was not measured.

Oct 13, 2026

Llama 2 7B

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

Apple hardware
generation:
44.2 tokens/s
prompt processing (prefill):
469.6 tokens/s
quant:
Q3_K_M (GGUF)

User reports Llama 2 7B Chat at 44.2 t/s generation and 469.6 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory. Setup is llama.cpp b2296 with Q3_K_M and Metal, ngl 99, on one GPU. The figures are separate synthetic llama-bench phases, PP512 and TG128, not one chat request; TTFT was not measured.

Oct 13, 2026

Llama 2 7B

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

Apple hardware
generation:
40.9 tokens/s
prompt processing (prefill):
449.5 tokens/s
quant:
Q3_K_L (GGUF)

User reports Llama 2 7B Chat at 40.9 t/s generation and 449.5 t/s prompt processing on an M1 Max Mac Studio with 64 GB unified memory. Setup is llama.cpp b2296 with Q3_K_L and Metal, ngl 99, on one participating GPU. The figures are separate synthetic llama-bench phases, PP512 and TG128, not one chat request; TTFT was not measured.

Oct 13, 2026

Get a weekly email of new Llama 2 reports on any GPU.

Email me new reports

Reported configurations

Individual observations from this page, not expected speeds or a ranking. Select a model to open its report, with the source and offloading conditions. Reported context may be a limit rather than actual input length.

Model / hardwareQuant / engineReported contextGeneration
Llama 2 7B
Intel Arc A770 16GB
Q4_0
llama.cpp
Not reported69.7 tokens/s
Llama 2 7B
NVIDIA GTX 1080 Ti
Q4_0
llama.cpp
Not reported62.0 tokens/s
Llama 2 70B
M1 Ultra 128GB
Q4_K_M
llama.cpp b2164 / 65085c71 / Metal
51211.1 tokens/s
Llama 2 7B
AMD Strix Halo 128GB
Q4_0
llama.cpp / ROCm (build unreported)
Not reported50.2 tokens/s
Llama 2 7B
M1 Max 64GB
IQ1_S
llama.cpp b2296 (d5ab2975) / Metal
Not reported53.0 tokens/s
Llama 2 7B
M1 Max 64GB
IQ2_XXS
llama.cpp b2296 (d5ab2975) / Metal
Not reported50.5 tokens/s

Speed by hardware on Llama 2 7B at 4-bit

The size and quant level the most devices have plain runs of: one device, one request, no speculative decoding, and the whole model in the device's memory. Every speed in this table is the same model. 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.

HardwareGen t/sPP t/sRuns
M1 Ultra 64GB72.437.81 run1
NVIDIA GTX 1080 Ti62.01084.01 run1
M1 Max 64GB52.6506.26 runs6
Intel Arc B580 12GB-4454.01 run0

Download Llama 2

The files on Hugging Face and what each one weighs. A file has to fit in your card's memory with room left for the context, so pick a size below it.

Frequently asked

What hardware do people run Llama 2 on?

The hardware Llama 2 7B at 4-bit is most run on: M1 Max 64GB (52.6 t/s median, 6 runs); M1 Ultra 64GB (72.4 t/s median, one run). Medians of plain runs, as of 28 Nov 2026.

Which inference engines do people use for Llama 2?

Reports of Llama 2 name llama.cpp (5 reports), as of 28 Nov 2026.