Yes — with 313.6 GB to spare
Ling 3.0 Flash 124B-A5B at Q4_K_M fits your M3 Ultra · 512 GB entirely in unified memory at 8K context, at an estimated 73 tokens per second. There is room for its full 256K window.
A 124B hybrid (5 linear-attention layers per MLA layer) with 5.1B active: SWE-bench Pro 56.6 and AIME 93 claimed. Built for 96–128 GB machines.
The VRAM budget
Quantisation ladder
| Quant | Weights | Total @ 8K | Max context | Tok/s | Quality | Fit |
|---|---|---|---|---|---|---|
| Q8_0 | 122.7 GB | 123.4 GB | 256K | 41 | −0.1% ppl | Long context |
| Q6_K | 94.7 GB | 95.4 GB | 256K | 54 | −0.4% ppl | Long context |
| Q5_K_M | 81.8 GB | 82.5 GB | 256K | 62 | −0.8% ppl | Long context |
| Q4_K_M | 69.7 GB | 70.4 GB | 256K | 73 | −1.9% ppl | Recommended |
| Q3_K_M | 56.4 GB | 57.1 GB | 256K | 90 | −5.4% ppl | Long context |
| Q2_K | 48.4 GB | 49.0 GB | 256K | 105 | −15% ppl | Long context |
Quality is the published perplexity delta against f16 weights. Max context assumes an f16 KV cache; q8_0 roughly doubles it. Only 7 of its 42 blocks keep a per-token KV cache; the rest are linear-attention, Mamba or convolution blocks with a fixed-size state. This model uses multi-head latent attention, so its cache is a compressed latent rather than full K and V.
How to run it
$ pip install mlx-lm $ mlx_lm.generate --model mlx-community/Ling-3.0-flash-4bit \ --max-tokens 512 --prompt "Hello"
Apple's own array framework. The fastest path on Apple Silicon. More on MLX.