Skip to content

LLM benchmarks · Head to head

DGX Spark vs Mac Studio for local LLMs, measured

The DGX Spark against the Mac Studio (M2 Ultra) on 7 models, every result measured the same way on both: the same model file, engine, prompt and context.

Measured and maintained by Khadim Hussain · data updated 26 Nov 2026 · How we measure

This comparison

Matched results
49
Models
7
Contexts
empty to 32K
Spark faster, generation
4
Mac faster, generation
45
Updated
26 Nov 2026

Short answer

DGX Spark vs Mac Studio: across 49 matched results, the Mac Studio (M2 Ultra) generated faster in 45 of 49 and the DGX Spark read the prompt faster in 45 of 49; on gpt-oss-120b MXFP4 at an empty context the DGX Spark generates 57.1 Tok/s and the Mac Studio (M2 Ultra) 88.6 Tok/s.

Measured, data as of 26 Nov 2026.

Every matched result

Largest model first, then by context. The faster of each pair is in colour. Context is the tokens already in the cache when the test starts; prompt tokens is the length of the prompt it reads.

DGX Spark vs Mac Studio: generation and prompt speed per model and context
ModelQuantContextPrompt tokensSpark gen Tok/sMac gen Tok/sSpark prompt Tok/sMac prompt Tok/s
gpt-oss-120bMXFP4empty51257.188.61,1521,201
gpt-oss-120bMXFP4empty2,04858.785.62,4441,649
gpt-oss-120bMXFP4empty4,09655.282.12,4131,587
gpt-oss-120bMXFP4empty8,19252.278.22,3471,485
gpt-oss-120bMXFP44K2,04855.782.02,3101,430
gpt-oss-120bMXFP48K2,04852.978.22,2171,258
gpt-oss-120bMXFP416K2,04849.573.21,9561,013
gpt-oss-120bMXFP432K2,04842.865.51,567721
Qwen3-Coder-30B-A3B-InstructQ8_0empty51258.476.31,3042,109
Qwen3-Coder-30B-A3B-InstructQ8_0empty2,04861.179.02,9872,453
Qwen3-Coder-30B-A3B-InstructQ8_0empty4,09653.567.62,8902,154
Qwen3-Coder-30B-A3B-InstructQ8_0empty8,19247.266.32,7111,731
Qwen3-Coder-30B-A3B-InstructQ8_04K2,04854.871.22,6331,569
Qwen3-Coder-30B-A3B-InstructQ8_08K2,04848.065.12,3541,146
Qwen3-Coder-30B-A3B-InstructQ8_016K2,04840.256.91,909741
Qwen3-Coder-30B-A3B-InstructQ8_032K2,04830.245.31,348431
GLM-4.7-FlashQ8_0empty51246.261.31,1821,569
GLM-4.7-FlashQ8_0empty2,04848.759.62,3641,629
GLM-4.7-FlashQ8_0empty4,09644.144.32,1391,249
GLM-4.7-FlashQ8_0empty8,19242.141.71,816851
GLM-4.7-FlashQ8_04K2,04844.647.41,684733
GLM-4.7-FlashQ8_08K2,04842.640.21,315474
GLM-4.7-FlashQ8_016K2,04838.731.5914277
GLM-4.7-FlashQ8_032K2,04832.621.8567151
gpt-oss-20bMXFP4empty51280.11301,8962,381
gpt-oss-20bMXFP4empty2,04883.41304,5062,713
gpt-oss-20bMXFP4empty4,09678.595.74,5142,639
gpt-oss-20bMXFP4empty8,19274.41164,4062,449
gpt-oss-20bMXFP44K2,04879.21234,1582,325
gpt-oss-20bMXFP48K2,04875.21173,9941,990
gpt-oss-20bMXFP416K2,04870.41103,4501,557
gpt-oss-20bMXFP432K2,04861.698.32,6891,123
Qwen2.5-Coder-7BQ8_0empty51229.178.22,4201,509
Qwen2.5-Coder-7BQ8_0empty2,04829.479.72,2501,566
Qwen2.5-Coder-7BQ8_0empty4,09628.474.32,2371,500
Qwen2.5-Coder-7BQ8_0empty8,19227.071.22,1801,379
Qwen2.5-Coder-7BQ8_04K2,04828.674.72,1001,317
Qwen2.5-Coder-7BQ8_08K2,04827.471.32,0081,135
Qwen2.5-Coder-7BQ8_016K2,04825.765.91,779886
Qwen2.5-Coder-7BQ8_032K2,04822.556.81,471612
Llama-2-7b-hfQ4_0empty51260.41253,3221,489
gemma-3-4b-itQ4_0empty51277.61365,5672,748
gemma-3-4b-itQ4_0empty2,04881.01345,9492,924
gemma-3-4b-itQ4_0empty4,09670.61086,0802,910
gemma-3-4b-itQ4_0empty8,19268.51286,0272,865
gemma-3-4b-itQ4_04K2,04876.41335,6532,748
gemma-3-4b-itQ4_08K2,04871.61265,5102,641
gemma-3-4b-itQ4_016K2,04870.91255,3412,446
gemma-3-4b-itQ4_032K2,04862.31135,0232,129

How the results were matched

A result counts only when both devices ran the same model at the same quant in the same engine, with the same prompt length, the same number of generated tokens and the same context already in the cache, one user, on a single DGX Spark and a single Mac Studio (M2 Ultra). Each device runs on its own backend. Where a device has several such runs, our own wins, then the fastest. A comparison is published only with at least 10 matched results across at least 3 models. Every other result for each device is on its page: DGX Spark and Mac Studio (M2 Ultra).

Next

Need this running for your team? I set up and maintain private LLM servers.

Book a call