llamaperf

Qwen3.8 on the M4 Max 128GB

On the M4 Max 128GB, Qwen3.8 27B at 3-bit generates a median 23.9 tokens per second, from 2 plain runs (context not stated).

Speed by size and quant on the M4 Max 128GB

Plain runs only: one card, one request, no speculative decoding, the whole model in memory. Each row is one model size at one bit class. Context length and build still differ between runs, and each row shows its own.

Qwen3.8GenerationBy engine
27B 3-bit23.9 t/smedian of 2, context not statedprompt 249.7 t/s (median of 2)
llama.cpp 23.9 t/s (2)
27B 2-bit24.5 t/smedian of 2, context not statedprompt 251.4 t/s (median of 2)
llama.cpp 24.5 t/s (2)
125B · 6B active 4-bit57.2 t/smedian of 2, context not statedprompt 586.0 t/s (one report)with speculative decoding 73.8 t/s (one report)
oMLX 57.4 t/s (1)
27B 8-bit15.7 t/sone report, context not statedprompt 255.7 t/s (one report)
llama.cpp 15.7 t/s (1)
27B 6-bit17.2 t/sone report, context not statedprompt 246.3 t/s (one report)
llama.cpp 17.2 t/s (1)
27B 5-bit19.7 t/sone report, context not statedprompt 233.5 t/s (one report)
llama.cpp 19.7 t/s (1)
27B 4-bit21.8 t/sone report, context not statedprompt 236.6 t/s (one report)with speculative decoding 53.3 t/s (one report)
llama.cpp 21.8 t/s (1)
125B · 6B active 8-bit60.0 t/sone report, context not statedprompt 730.0 t/s (one report)
mlx-serve 60.0 t/s (1)
125B · 6B active 3-bit27.3 t/sone report, 32K context
llama.cpp 27.3 t/s (1)

Memory Qwen3.8 needs on the M4 Max 128GB

The M4 Max 128GB gives a model 96 GB. Each figure is the memory a size reported on this card needs at one quant with an 8k context, cache and buffers included, from the VRAM calculator. It is for one card holding the whole model. Qwen3.8 memory on every card.

SizeQ8_0Q6_KQ5_K_MQ4_K_MQ3_K_M
27B29 GBfits24 GBfits21 GBfits17 GBfits14 GBfits
125B · 6B active127 GBtoo big104 GBtoo big88 GBtight72 GBfits57 GBfits

19 reports of Qwen3.8 on the M4 Max 128GB

Newest first. A run on several cards, with speculative decoding, with part of the model in system RAM or with batched requests says so, since each describes a different setup. 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.

Filter these reports on the homepage

Frequently asked

How fast is Qwen3.8 on the M4 Max 128GB?

On the M4 Max 128GB, Qwen3.8 27B at 3-bit generates a median 23.9 tokens per second, from 2 plain runs (context not stated).

Does Qwen3.8 fit on the M4 Max 128GB?

The M4 Max 128GB gives a model 96 GB. With an 8k context, the 27B model fits at Q8_0 (about 29 GB), the 125B · 6B active model fits at Q4_K_M (about 72 GB). The figures are the VRAM calculator's, for one card with the whole model in its memory.