llamaperf

M2 Ultra 64GB

APPLE · 64GB unified memory · 1 report

Run models on your M2 Ultra 64GB? 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 on the M2 Ultra 64GB

These reports mix GPU counts and memory setups, so a model listed here may have needed extra cards or CPU offloading. The calculator estimates which models fit in 64 GB of unified memory.

This page is thin (1 of 3 reports needed for indexing). Help fill it in.

CodeLlama 70B base / Q5_K_M / M2 Ultra Metal b2050 / native 9-token prompt and 399 eval runs

M2 Ultra 64GB · llama.cpp b2050 (19122117) / Metal · 512 ctx

Apple hardware
generation:
8.7 tokens/s
prompt processing (prefill):
15.1 tokens/s
quant:
Q5_K_M (GGUF)
kv:
F16

Reported by the source; GPU count, offloading and concurrent requests can change these figures. Prompt-processing speed is input throughput, not time to first token. Check the full setup before comparing.

User reports CodeLlama-70B at 8.7 t/s generation and 15.1 t/s prompt processing on a Mac Studio M2 Ultra with 64 GB unified memory. Setup is llama.cpp build 2050 with Q5_K_M and F16 K/V cache, context and batch 512, 16 CPU threads, and 81/81 layers offloaded to the single Metal device. The source prints 8.72 t/s generation over 399 evaluation runs and 15.06 t/s prompt processing over 9 tokens; the stored figures are rounded to 0.1 t/s.

Oct 13, 2026

Get a weekly email of new M2 Ultra 64GB reports and newly released models that fit it.

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
CodeLlama 70B base / Q5_K_M / M2 Ultra Metal b2050 / native 9-token prompt and 399 eval runs
M2 Ultra 64GB
Q5_K_M
llama.cpp b2050 (19122117) / Metal
5128.7 tokens/s