~/gpu/m5-max-128 vs rtx-4090

M5 Max 128 manufacturerM5 Max 128vsRTX 4090 manufacturerRTX 4090

Head-to-head for local LLM inference. The honest comparison: VRAM, bandwidth, compute, and which of the 30 catalog models actually fit on each.

The specs.

$ diff specs m5-max-128 rtx-4090
Stat
m5-max-128
rtx-4090
Δ
VRAM
128 GB
24 GB
-81%
Memory bandwidth
614 GB/s
1,008 GB/s
+64%
FP16 compute
55 TFLOPS
330 TFLOPS
+500%
Weights budget at 8K ctx
103 GB
18 GB
-83%

Model fit difference.

$ models that change with the card
Fits on both
21of 30
Only on m5-max-128
6
Only on rtx-4090
0

// showing 12 of 30 models; differing fits first

Model
m5-max-128
rtx-4090
fitsQ8_0
overQ4_K_M
fitsQ8_0
overQ4_K_M
fitsQ6_K
overQ4_K_M
fitsFP16/BF16
overQ4_K_M
fitsQ5_K_M
overQ4_K_M
fitsQ6_K
overQ4_K_M
fitsFP16/BF16
fitsFP16/BF16
fitsFP16/BF16
fitsFP16/BF16
fitsFP16/BF16
fitsFP16/BF16
overQ4_K_M
overQ4_K_M
fitsFP16/BF16
fitsFP16/BF16
fitsFP16/BF16
fitsAWQ 4-BIT

Which one wins for…

$ ./recommend --by-workload
More VRAM headroom

M5 Max 128 has 104 GB more.

Faster decode (bandwidth)

RTX 4090 by +64%.

Faster prefill (compute)

RTX 4090 by +500% TFLOPS.

Catalog models that fit

M5 Max 128: 27 fit · RTX 4090: 21.

Drill into either card.

$ ./vrambudget --gpu

Discussion.

$ gh discussion list

// sign in with github to leave a comment. threads live in the repo's discussions tab.