Pairing M5 Ultra 256GB with M3 Ultra 512GB for disaggregated prefill/decode cuts TTFT from 40s to 18s

Usual_Tackle5892 · reddit · 2026-10-14

The author paired a new M5 Ultra 256GB with an existing M3 Ultra 512GB instead of waiting for an M5 Ultra 512GB: the M5 handles prefill, ships the KV cache over Thunderbolt 5 RDMA (MLX JACCL, 150Gb/s), and the M3 decodes from its 512GB pool.

Single-node numbers (GLM-5.3-Flash 4-bit + MTP, 17.5k-token prompt)

Disaggregated result: 17.8s prefill on M5, 358MB cache handed off in 38ms, first token 18.5s total vs 40s before, output identical to the M5's own. GLM-5.3-Flash's KDA layers keep 20KB/token of state, so the M3's spare 300GB can hold 15M cached tokens. Stack: MLX JACCL, mlx-vlm 0.7.6, and a Python prototype serializing cache objects with mx.distributed.send/recv.

Original post →

More from Infra

Infra channel →