llamaperf

NVIDIA H100 NVL vs M4 Max 128GB for local LLMs

1 report on the NVIDIA H100 NVL and 53 on the M4 Max 128GB

Which is faster for local LLMs?

On gpt-oss 117B · 5.1B active at 4-bit, the NVIDIA H100 NVL has 177.7 generation tokens/s (one run); the M4 Max 128GB has 85.4 generation tokens/s (one run); prompt processing 809.5 tokens/s (one run). Those are community reports whose engines and settings differ, so the gap is a rough sign, not a controlled measure of the two cards. Memory bandwidth, which caps how fast a card can write, is 7.1x higher on the NVIDIA H100 NVL (3,900 GB/s on the NVIDIA H100 NVL, 546 on the M4 Max 128GB).

NVIDIA H100 NVL
Memory
94GB
Memory bandwidth
3,900 GB/s
FP16 compute
835.5 TFLOPS
Reports
1
M4 Max 128GB
Memory
128GB unified
Memory bandwidth
546 GB/s
FP16 compute
18.4 TFLOPS
Reports
53

Measured on both

Generation and prompt processing speeds from plain runs (one device, one request, no speculative decoding, the whole model in the device's memory) of the same model size at the same bit class. Each side shows the engines and reported context behind its median. Context can mean a configured window or prompt depth, so these are community comparisons with differing settings. How to read these

ModelNVIDIA H100 NVLM4 Max 128GB
gpt-oss 117B · 5.1B active4-bit177.7one runllama.cpp32K context85.4one runPP 809.5 (one run)llama.cppcontext not stated

Estimated by the calculator

The quant the calculator recommends for each card and its estimated speed at a 32,768-token context with 32 GB of system RAM, from memory bandwidth and the model's shape. Where a model was also measured above, the measurement wins.

ModelNVIDIA H100 NVLM4 Max 128GB
gpt-oss 117B · 5.1B active222.8 t/sQ5_K_S38.6 t/sQ5_K_S
Qwen3.8 27B39.7 t/sFP166.7 t/sFP16
Qwen3.8 125B · 6B active217.3 t/sQ4_K_M30.7 t/sQ5_K_S
Qwen3.6 35B · 3B active123.0 t/sFP1621.2 t/sFP16
DeepSeek V4 Flash 284B · 13B active9.6 t/sQ2_K, experts in RAM48.3 t/sQ2_K
Qwen3.6 27B39.7 t/sFP166.7 t/sFP16
Gemma 4 26B · 4B active107.3 t/sFP1618.2 t/sFP16

Change the context, RAM or model in the calculator: NVIDIA H100 NVL · M4 Max 128GB

Every report on each card, with its source: NVIDIA H100 NVL · M4 Max 128GB

More comparisons