llamaperf

Qwen3.8 on the M5 Ultra 256GB

On the M5 Ultra 256GB, Qwen3.8 27B at 4-bit generates a median 50.0 tokens per second, from 1 plain run (8K context).

Speed by size and quant on the M5 Ultra 256GB

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 4-bit50.0 t/sone report, 8K contextprompt 1800.0 t/s (one report)
oMLX 50.0 t/s (1)
125B · 6B active 8-bit17.0 t/sone report, 250K contextprompt 1069.0 t/s (one report)with speculative decoding 154.5 t/s (one report)
llama.cpp 17.0 t/s (1)
125B · 6B active 6-bit141.0 t/sone report, 1K contextprompt 3906.4 t/s (one report)
oMLX 141.0 t/s (1)

Memory Qwen3.8 needs on the M5 Ultra 256GB

The M5 Ultra 256GB gives a model 192 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 GBfits104 GBfits88 GBfits72 GBfits57 GBfits

19 reports of Qwen3.8 on the M5 Ultra 256GB

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 M5 Ultra 256GB?

On the M5 Ultra 256GB, Qwen3.8 27B at 4-bit generates a median 50.0 tokens per second, from 1 plain run (8K context).

Does Qwen3.8 fit on the M5 Ultra 256GB?

The M5 Ultra 256GB gives a model 192 GB. With an 8k context, the 27B model fits at Q8_0 (about 29 GB), the 125B · 6B active model fits at Q8_0 (about 127 GB). The figures are the VRAM calculator's, for one card with the whole model in its memory.