Which LLMs Fit in 128 GB of Unified Memory?

By TechCompare · Updated · How we check

68 of the 108 models in the calculator fit in the 120 GB it gives these machines for models, at Q4_K_M with 8K context. Mistral Medium 3.5 128B ranks first at 89.2 GB. The 120B mixture of experts models fit with room, even at 32K.

128 GB is where three kinds of machine meet: a Mac with an M5 Max, Nvidia's DGX Spark and PCs built on AMD's Ryzen AI Max+ 395. Each one shares a single pool of memory between the CPU and GPU, so the system needs some of it too. This page checks every model in the LLM VRAM Calculator against 120 GB, at Q4_K_M and Q8_0 with 8K and 32K tokens of context.

The calculator gives the M5 Max Mac and the DGX Spark 120 GB each and keeps 8 GB for the system. On a Mac that's a planning estimate, not a limit Apple sets. Each total counts the weights, the KV cache and a 10% allowance for the runtime.

Models that fit in 128 GB of unified memory

Best pick first, by size and release date. Each cell is the total memory the model needs. Tight means under 10% of the memory is left. Pick a number to open it in the calculator.

ModelQ4_K_M8K contextQ4_K_M32K contextQ8_08K contextQ8_032K context
Mistral Medium 3.5 128B128B, Mar 202689.2 GBFits98.9 GBFits152.5 GBShort 32.5 GB162.3 GBShort 42.3 GB
Apertus v1.5 70B71.94B, Sep 202651.3 GBFits60.1 GBFits86.9 GBFits95.7 GBFits
Nemotron 3.5 Super VL 120B (MoE)120B, 12B active, Oct 202680.8 GBFits81.0 GBFits140.2 GBShort 20.2 GB140.4 GBShort 20.4 GB
Ling-3.0-flash 124B (MoE)124.41B, 5.1B active, Aug 202683.7 GBFits83.9 GBFits145.3 GBShort 25.3 GB145.5 GBShort 25.5 GB
Nemotron 3 Super 120B120B, 12B active, Mar 202680.8 GBFits81.0 GBFits140.2 GBShort 20.2 GB140.4 GBShort 20.4 GB
Nemotron 3.5 Bolt 74B (MoE)74.89B, 9B active, Oct 202650.5 GBFits50.8 GBFits87.6 GBFits87.8 GBFits
Qwen3.5 122B122B, 10B active, Feb 202682.3 GBFits83.0 GBFits142.7 GBShort 22.7 GB143.3 GBShort 23.3 GB
Nanbeige4.3 33B33.1B, Oct 202624.2 GBFits29.9 GBFits40.6 GBFits46.3 GBFits
K2 Horizon 32B34.78B, Sep 202625.7 GBFits32.8 GBFits43.0 GBFits50.1 GBFits
Granite Switch 4.1 30B29.99B, Oct 202622.5 GBFits29.6 GBFits37.4 GBFits44.5 GBFits
Mistral Small 4 119B (MoE)119.4B, 6.5B active, Jan 202680.4 GBFits81.0 GBFits139.5 GBShort 19.5 GB140.1 GBShort 20.1 GB
Muse Glimmer 30B30B, Aug 202620.4 GBFits20.7 GBFits35.2 GBFits35.6 GBFits
Qwen 3.8 27B27.5B, Aug 202619.2 GBFits21.0 GBFits32.9 GBFits34.6 GBFits
Gemma 4 31B (Dense)30.7B, Mar 202622.3 GBFits24.5 GBFits37.5 GBFits39.7 GBFits
Llama 4 Scout (MoE 17B/109B)109B, 17B active, Apr 202575.0 GBFits76.3 GBFits128.9 GBShort 8.9 GB130.2 GBShort 10.2 GB

Just too big at Q4_K_M with 8K context

Totals include the weights, the KV cache at FP16 with a batch size of 1, and a 10% allowance for the runtime.

What fits at Q4_K_M

Mistral Medium 3.5 128B ranks first at 89.2 GB, with room to spare. It's dense, so every token reads all 128B parameters, and on these machines it writes text slowly.

The 120B mixture of experts models suit this memory best. gpt-oss 120B needs 80.9 GB, Nemotron 3 Super 120B 80.8 GB and Qwen3.5 122B 82.3 GB, and all three still fit at 32K. They run 5B to 12B parameters per token, so they stay quick on the slower memory these machines use.

The table's order comes from the model finder's best pick, which weighs size against release date. Use it to pick a few to try.

Long context

Mistral Medium 3.5 128B still fits at 32K, at 98.9 GB. That's past what a 96 GB card holds.

The MoE models leave even more spare. gpt-oss 120B's KV cache takes 1.3 GB at 32K, against 11.9 GB for Mistral Medium 3.5, because half its layers only cache the most recent tokens. For 64K or 128K, open the model finder from the card below the table and change the context there.

Q8_0 on 128 GB

At Q8_0, the 70B class fits with room, even at 32K. Llama 3.3 70B needs 93.5 GB there and Qwen 2.5 72B 95.8 GB. The 120B MoE models don't fit at Q8_0. Nemotron 3 Super 120B needs 140.2 GB.

So the choice here is a 120B MoE model at Q4_K_M or a 70B dense model at Q8_0. The MoE models are newer and much faster on this kind of memory, which makes them the usual pick.

Just over the line

Qwen3.8-Flash-Next 180B (MoE) needs 121.2 GB at Q4_K_M and misses by 1.2 GB. At Q3_K_M it needs 97.4 GB and fits, so it's worth trying at the smaller quant.

The 230B class stays out of reach. Qwen3 235B (MoE A22B) needs 128.4 GB even at Q3_K_M. For those, see the 256 GB Mac list.

Three machines with 128 GB

The calculator gives an M5 Max Mac and the DGX Spark 120 GB each for models. A Ryzen AI Max+ 395 machine gets 112 GB on Windows, where AMD's Variable Graphics Memory setting sets the GPU's share, and Linux can give it more with a kernel setting. Every row here with a total under 112 GB fits the AMD machine too. That includes Mistral Medium 3.5 128B at 32K.

On the Mac, macOS keeps part of the memory away from the GPU by default. On macOS Sonoma and later, this command lets the GPU use 120 GB until the next restart:

bash
sudo sysctl iogpu.wired_limit_mb=122880

All three have much less memory bandwidth than a high end graphics card, so the same model writes tokens more slowly on them. That's why the MoE models suit them: they read only a small part of their weights for each token.

Other memory sizes

Frequently asked questions

What's the best LLM for 128 GB of unified memory?
Mistral Medium 3.5 128B ranks first at Q4_K_M with 8K context, at 89.2 GB. For speed and long context, the 120B mixture of experts models are the better pick. Nemotron 3 Super 120B needs 81.0 GB even at 32K.
Can 128 GB of unified memory run gpt-oss 120B?
Yes, with room. It needs 80.9 GB at 8K and 81.9 GB at 32K. That leaves memory for other apps or a second, smaller model.
Can a 128 GB Mac run Qwen3 235B?
No. Qwen3 235B (MoE A22B) needs 159.5 GB at Q4_K_M and 128.4 GB at Q3_K_M. The 256 GB Mac list covers it.
Do the DGX Spark, M5 Max and Ryzen AI Max+ 395 fit the same models?
The calculator gives the M5 Max Mac and the DGX Spark the same 120 GB, and the Ryzen AI Max+ 395 112 GB on Windows. Every row here with a total under 112 GB fits all three. Speed differs more than fit does, since each has its own memory bandwidth.
Why doesn't this page use all 128 GB?
The CPU, the operating system and your apps share the same memory as the GPU. The calculator keeps 8 GB for them and checks each model against 120 GB. On a Mac, that's a planning estimate, not a limit Apple sets.