llamaperf

Qwen3.8 27B

on M4 Max 48GB · mometal

Tone: positiveApple hardware
Nov 26, 2026
Throughput
136.2 t/s gen · 649.0 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
4-bit (MLX)
KV cache
8-bit
System RAM
48 GB

Use cases

codinglong-context

Summary

User reports Qwen3.8-27B at 136.2 tok/s median coding decode and 649 tok/s cold prefill on an M4 Max 48GB, using the mometal v1.3 engine with 4-bit MLX weights, 8-bit KV cache and DFlash 2 speculative decoding. Setup shares one copy of the weights between the Neural Engine and GPU; total RAM is about 15.5 GiB idle and 17.0 GiB at 32k context, with 0 GB swap at 128k. Decode peaks at 154-163 tok/s and holds 109.5 / 118.3 tok/s at 8k / 32k context; prefill reaches 707 tok/s at 4k, 515 at 32k and 279 at 128k. The GPU-only path without ANE sharing gives 136.8 tok/s median coding decode. Against Splash 1.7.3 on the same weights, Splash measured 130.2 tok/s coding decode and 506 / 499 / 424 tok/s cold prefill at 2k / 8k / 32k.

Download this model

Qwen3.8 27B on Hugging Face in the quant this report ran, 4bit. The report doesn't say whose upload it used, so these are the most downloaded ones.

Every Qwen3.8 27B file and its size →

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.

Qwen3.8 27B at 4-bit by hardware

Bars are medians on one scale, 0 to 94.0 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 M4 Max 48GB

Bars are medians on one scale, 0 to 85.0 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 M4 Max 48GB →Every Qwen3.8 report →Estimate Qwen3.8 on this card →