Benchmarking a $599 Mac Mini Against Cloud GPUs: Unified-Memory Tradeoffs and Nov 2026 FP64 Surrogate Errata
We ran identical cuBLAS workloads on 4 Apple Silicon Macs and 3 NVIDIA cloud GPUs. See the raw SGEMM tables, unified-memory transfer gains, and our November 2026 errata on FP64->FP32 downcast surrogates and whole-system vs. GPU-card TDP.
Weβve been exploring a question at OpenIE: how much useful GPU compute is sitting idle on hardware people already own?
Two weeks ago we examined the interface boundary between CUDA and Metal β the software barrier that prevents existing hardware from being used for GPU-accelerated research.1 Last week we demonstrated that CUDA workloads can run correctly on 33 different EC2 instance types, regardless of the underlying hardware.2 (Superseded / corrected β ran via a host CPU fallback shim with non-NVIDIA GPUs unused; see companion post Errata)
This week we measured performance. We ran identical cuBLAS benchmarks β same matrix sizes, same random seeds, same correctness thresholds β on 4 Apple Silicon Macs and 3 NVIDIA cloud GPUs. The Apple Silicon machines ran through Invisible CUDA, our PTX-to-Metal translation layer. The NVIDIA machines ran native cuBLAS.
The data tells a story about energy efficiency, cost accessibility, and the vast amount of compute that goes unused every day.
Hardware Under Test
Local hardware (CUDA translated to Metal Performance Shaders at runtime):
| Machine | Chip | GPU Cores | Unified Memory | System TDP | Purchase Price |
|---|---|---|---|---|---|
| Mac mini M4 | M4 | 10-core | 24 GB | 65 W | $599 |
| MacBook Pro M5 | M5 | 10-core | 24 GB | ~40 W | ~$599 |
| MacBook Pro M4 Max | M4 Max | 40-core | 128 GB | ~110 W | $4,599 |
| Mac Studio M3 Ultra | M3 Ultra | 76-core | 96 GB | 270 W | $3,999 |
(Superseded / corrected β February table price typo on MacBook Pro M5 (~$1,599 retail, misprinted as ~$599), and 24 GB Mac mini M4 is $799 MSRP while $599 is the 16 GB base SKU; see Nov 25, 2026 Errata & Addendum below)
Cloud hardware (native cuBLAS on AWS EC2):
| Instance | GPU | Architecture | VRAM | GPU TDP | Hourly Cost |
|---|---|---|---|---|---|
| g4dn.xlarge | Tesla T4 | Turing | 16 GB | 70 W | $0.526/hr |
| g5.xlarge | A10G | Ampere | 24 GB | 300 W | $1.006/hr |
| g6.xlarge | L4 | Ada Lovelace | 24 GB | 72 W | $0.805/hr |
FP32 Matrix Multiply (SGEMM)
SGEMM is the standard benchmark for GPU compute throughput. All values in GFLOPS.
| Matrix | Mac mini M4 | M5 | M4 Max | M3 Ultra | T4 | A10G | L4 |
|---|---|---|---|---|---|---|---|
| 128x128 | 20.7 | 20.3 | 21.1 | 15.3 | 548.7 | 660.2 | 562.0 |
| 256x256 | 132 | 154 | 156 | 123 | 1,773 | 3,973 | 4,124 |
| 512x512 | 652 | 931 | 1,031 | 964 | 5,409 | 10,964 | 9,284 |
| 1024x1024 | 1,903 | 2,312 | 3,134 | 5,043 | 6,346 | 17,484 | 13,308 |
| 2048x2048 | 3,248 | 3,603 | 8,509 | 13,064 | 7,178 | 20,843 | 16,818 |
| 4096x4096 | 3,418 | 3,626 | 13,417 | 17,055 | 4,416 | 24,616 | 15,560 |
(Superseded / corrected β note directly from this table that the $599 Mac mini M4 (3,418 GFLOPS) loses raw FP32 SGEMM throughput to all three cloud GPUs (4,416 T4, 15,560 L4, 24,616 A10G) across every matrix size; only the $3,999 M3 Ultra surpasses T4 and L4 at 4096x4096, while A10G leads overall; see Erratum 1 below)
SGEMM @ 4096x4096 β GFLOPS (higher = better)
A10G βββββββββββββββββββββββββββββββββββββββββββββββββ 24,616
M3 Ultra ββββββββββββββββββββββββββββββββββββββββββββββββ 17,055
L4 ββββββββββββββββββββββββββββββββββββββββββββββββ 15,560
M4 Max βββββββββββββββββββββββββββββββββββββββββββββββ 13,417
T4 βββββββββββββββββββββββββββββββββββββββββββββββ 4,416
M5 βββββββββββββββββββββββββββββββββββββββββββββββ 3,626
Mac mini M4 βββββββββββββββββββββββββββββββββββββββββββββββ 3,418
At large matrix sizes, where GPU compute is most useful, the M3 Ultra delivers 17,055 GFLOPS through translation β more than the L4βs 15,560 running native code. The M4 Max reaches 13,417.
At small matrices, dedicated GPUs have lower kernel launch overhead and win handily. This is expected β the translation layer adds latency that matters most when the computation itself is short.
The important observation isnβt which chip is fastest. Itβs that hardware sitting on researchersβ desks β running through a compatibility layer, not even native code β is delivering competitive throughput for the workload sizes that matter most in practice.
FP64 Matrix Multiply (DGEMM) (Superseded β FP32 downcast surrogate, not IEEE-754 FP64; see Errata)
FP64 is critical for scientific computing β physics simulations, climate modeling, computational chemistry. The results here were unexpected.
Apple Silicon has no native FP64 GPU hardware. Invisible CUDA implements DGEMM by converting f64 to f32, running hardware-accelerated MPS SGEMM, and converting back. Consumer-tier NVIDIA GPUs (T4, L4, A10G) have native f64 units, but they operate at 1/32 of their f32 throughput β a design tradeoff that prioritizes inference and training workloads. (Superseded β FP32 downcast surrogate, not IEEE-754 FP64; see Errata)
| Matrix | Mac mini M4 | M5 | M4 Max | M3 Ultra | T4 | A10G | L4 |
|---|---|---|---|---|---|---|---|
| 256x256 | 108 | 137 | 135 | 103 | 141 | 338 | 148 |
| 512x512 | 457 | 521 | 590 | 460 | 177 | 359 | 259 |
| 1024x1024 | 816 | 1,061 | 1,378 | 1,261 | 202 | 425 | 398 |
| 2048x2048 | 1,629 | 1,768 | 2,604 | 2,549 | 251 | 460 | 404 |
DGEMM @ 2048x2048 β GFLOPS (higher = better)
M4 Max βββββββββββββββββββββββββββββββββββββββββββββββββ 2,604
M3 Ultra βββββββββββββββββββββββββββββββββββββββββββββββββ 2,549
M5 ββββββββββββββββββββββββββββββββββββββββββββββββ 1,768
Mac mini M4 ββββββββββββββββββββββββββββββββββββββββββββββββ 1,629
A10G βββββββββββββββββββββββββββββββββββββββββββββββ 460
L4 βββββββββββββββββββββββββββββββββββββββββββββββ 404
T4 βββββββββββββββββββββββββββββββββββββββββββββββ 251
Every Apple Silicon chip outperforms every cloud GPU at FP64. The M4 Max reaches 2,604 GFLOPS β 5.7x the A10G. Even the Mac mini M4 at 1,629 GFLOPS delivers 3.5x the A10Gβs throughput. (Superseded β FP32 downcast surrogate, not IEEE-754 FP64; see Errata)
The f64-to-f32 downcast approach works because Appleβs FP32 hardware is fast enough that even with conversion overhead, total throughput exceeds what the rate-limited f64 units can deliver. This has implications for scientific workloads: researchers doing double-precision computation on consumer-tier cloud GPUs may find that local hardware, through a translation layer, delivers substantially more throughput. (Superseded β FP32 downcast surrogate truncates 53-bit significands to 24 bits (~1e-7 error vs. ~1e-16 IEEE-754 binary64) and is invalid for double-precision scientific solvers; see Erratum 2 below)
Note: NVIDIAβs data center GPUs (A100, H100) have full-rate FP64 units and would outperform these results. This comparison is specifically against the cloud GPU tiers most accessible to individual researchers.
Memory Bandwidth
Unified memory architectures eliminate the PCIe bus between CPU and GPU. This has measurable consequences for data-intensive workloads.
At 256 MB transfer size:
| Direction | M4 Max | M3 Ultra | Best Cloud GPU | Ratio |
|---|---|---|---|---|
| Host to Device | 36.2 GB/s | 33.2 GB/s | 13.1 GB/s (L4) | 2.8x |
| Device to Host | 22.5 GB/s | 20.7 GB/s | 6.3 GB/s (L4) | 3.6x |
For workflows that move large datasets between CPU preprocessing and GPU computation β which describes most ML inference pipelines β this bandwidth advantage compounds with every iteration.
Energy and Cost Efficiency
This is where the data becomes most relevant to OpenIEβs mission of energy-efficient compute.
GFLOPS per watt
| Hardware | Peak FP32 | TDP | GFLOPS/Watt |
|---|---|---|---|
| M4 Max | 13,417 | 110 W (system) | 122.0 |
| L4 | 15,560 | 72 W (GPU only) | 216.1 |
| A10G | 24,616 | 300 W (GPU only) | 82.1 |
| M3 Ultra | 17,055 | 270 W (system) | 63.2 |
| T4 | 4,416 | 70 W (GPU only) | 63.1 |
| Mac mini M4 | 3,418 | 65 W (system) | 52.6 |
An important caveat: Apple Silicon TDP represents the entire system β CPU, GPU, memory controllers, Neural Engine. NVIDIA TDP is GPU-only; the host system adds 200-400W. When comparing total system power, the efficiency gap narrows considerably in Apple Siliconβs favor. (Superseded / corrected β inconsistent denominator mixed whole-Mac wall/PSU ceiling (65β270 W) with GPU-only card TDP (70β300 W), while overstating a 4-vCPU EC2 sliceβs host overhead as 200β400 W; see consistent single-basis est_j table in Erratum 3 below)
Cost per unit of compute
At 8 hours/day for one year (2,920 hours), amortized over 3 years for purchased hardware:
| Hardware | Annual Cost | Peak GFLOPS | $/M-GFLOPS-hr |
|---|---|---|---|
| T4 cloud | $1,536/yr | 4,416 | $0.119 |
| L4 cloud | $2,350/yr | 15,560 | $0.052 |
| A10G cloud | $2,938/yr | 24,616 | $0.041 |
| Mac mini M4 (owned) | ~$219/yr | 3,418 | $0.020 |
| Mac Studio M3 Ultra (owned) | ~$1,352/yr | 17,055 | $0.027 |
Owned hardware that a researcher already uses as a workstation can deliver GPU compute at a fraction of the cost of renting equivalent capability in the cloud. The Mac mini M4 β often already on someoneβs desk β provides useful CUDA compute at $0.020 per million GFLOPS-hours, compared to $0.119 for the most affordable cloud GPU tier.
This isnβt an argument against cloud GPUs. Cloud instances provide elasticity, scale, and access to high-end hardware (A100, H100) that has no consumer equivalent. The argument is that for many workloads β inference, fine-tuning, prototyping, educational use, CI/CD validation β the hardware already exists and is sitting idle.
Correctness
All 7 GPUs pass identical correctness checks. Floating-point error at 1024x1024 FP32 matmul:
| Platform | Max Absolute Error | Relative Error |
|---|---|---|
| Apple Silicon (all) | 1.91e-5 | 2.18e-7 |
| NVIDIA (all) | 7.63e-5 | 5.45e-7 |
Both platforms produce results well within acceptable numerical tolerances. The translation layer does not introduce additional error.
What This Means for Access
There are over 100 million Apple Silicon Macs deployed worldwide.3 (Superseded / corrected β third-party analyst estimate, not reported in Apple SEC Form 10-K filings; see Nov 25, 2026 Errata & Addendum below) The GPUs in these machines are idle the vast majority of the time. Collectively, they represent an enormous amount of compute capability that currently cannot participate in the CUDA ecosystem due to a software interface boundary.
Removing that boundary doesnβt require new hardware, new data centers, or new manufacturing. It requires making existing hardware accessible to existing software.
This is the principle behind Invisible CUDA and behind OpenIEβs broader mission: the most energy-efficient compute is the compute that uses hardware already deployed. Every GPU that sits idle while equivalent work is dispatched to a remote data center represents wasted embodied energy, wasted operational energy, and wasted opportunity.
A graduate student with a MacBook can now run CUDA workloads locally instead of waiting for cloud GPU quota. An independent researcher can prototype on the hardware they own. A university lab can build a compute cluster from machines they already have.
The path to democratizing discovery isnβt always about building more. Sometimes itβs about using whatβs already there.
Reproduce These Results
All benchmark code, raw data, and reproduction instructions are published:
# Install and run on any machine
cargo install invisible-cuda
invisible-cuda install
git clone https://github.com/openIE-dev/invisible-cuda
cd invisible-cuda/examples/c && make && ./proof
Examples available in 10 languages: C, Go, Java, Swift, C#, Zig, Julia, Rust, Python, TypeScript.
Raw data: raw-data.csv
Full tables: BENCHMARKS.md
Repository: github.com/openIE-dev/invisible-cuda
Β
Honor your ancestors. Make tomorrow better for your progeny.
Strength and Honor.
References
Benchmarks run 2026-02-15. Apple Silicon via Invisible CUDA v0.1.0 (PTX-to-Metal translation). NVIDIA via native cuBLAS (CUDA 13.0). All results are median of 10 warm-up runs. Correctness validated against CPU reference implementation. (Superseded / corrected β wording error: untimed warm-up iterations were discarded before 10 timed measurement runs whose median was reported; see Erratum 4 below)
See what weβre building at research.openie.dev (URL updated Nov 25, 2026 from retired Feb 2026 subdomain β see Changelog).
November 25, 2026 Errata, Related Work, and Evolution Addendum
Archival Note & Mandatory Four-Point Technical Errata
We kept the original URL slug (the-599-mac-mini-outperforms-cloud-gpus) intact so external links never break, restored the February 16, 2026 body text 100% verbatim from commit 5e5f2a3 (reversing mid-year inline rewrites to the DGEMM and TDP sections), and retitled the headline candidly. Our November 25, 2026 audit documents four mandatory corrections:
-
Raw
FP32 SGEMMThroughput Loss & URL Slug Overstatement: In our ownFP32 SGEMMtable above, the Mac mini M4 (3,418 GFLOPSat4096Γ4096) loses raw single-precision throughput to all three cloud GPUs (4,416 GFLOPSon Tesla T4,15,560 GFLOPSon L4, and24,616 GFLOPSon A10G) at every tested matrix dimension from128Γ128through4096Γ4096. Only the$3,999Mac Studio M3 Ultra (17,055 GFLOPS) beats the T4 and L4 at4096Γ4096, while still trailing the A10G (24,616 GFLOPS). The original URL slug (the-599-mac-mini-outperforms-cloud-gpus) overstated a narrow 3-year owned-workstation cost-amortization calculation ($0.020vs.$0.041β$0.119per million GFLOPS-hr, which also excluded Mac electricity and assumed a$59916 GB base price despite testing a$79924 GB unit) and a bogus FP64 surrogate comparison as an overall GPU win. (Also note a copy-paste typo in the Hardware table:MacBook Pro M5had~$1,599MSRP, not~$599.) -
Invalid
DGEMM(FP64) Surrogate Comparison: Apple Silicon GPUs lack native IEEE-754 53-bit significand (binary64) execution units. Inv0.1.0,invisible-cudainterceptedcublasDgemmby downcastingf64inputs on the host/device to 24-bit significandf32, runningMPSMatrixMultiplication(SGEMM), and casting thef32result back tof64. Comparing 24-bitFP32surrogate throughput (~1e-7relative rounding error,7decimal digits) against true hardware IEEE-754 53-bitFP64units (~1.1e-16machine epsilon,15β17decimal digits, rate-limited to1/32or1/64on T4/L4/A10G) is not a validDGEMMbenchmark. Scientific workloads that genuinely requireDGEMMβsuch as ill-conditioned linear systems, density functional theory, or long-horizon symplectic orbital integrationβsuffer catastrophic precision loss underf64 -> f32truncation and must execute on truebinary64hardware (Apple SiliconAMX/NEONCPUf64units or datacenter NVIDIA A100/H100 GPUs). -
Power Denominator Mismatch (
System PSU Ceilingvs.GPU-Only Board TDP): The FebruaryGFLOPS/Watttable divided Apple Siliconβs whole-box PSU/thermal ceiling (65 WMac mini M4 whole-system maximum; actual M4 10-core GPU SoC slice draws~15β22 WunderSGEMM) against NVIDIAβs GPU-only add-in-card TDP (70 WT4,72 WL4,300 WA10G)βand conversely overstated a 4-vCPU virtualized EC2 sliceβs host overhead as200β400 W(which applies to a full 64β96-vCPU dual-socket server, whereas a4-vCPUg4dn.xlarge/g6.xlargesliceβs amortized host CPU + DRAM share is roughly~55β75 W). Putting all platforms on a consistentest_jpower basis (4096Γ4096FP32SGEMM):Platform Peak FP32 ( GFLOPS)GPU / SoC Compute Envelope ( est_j)Package GFLOPS/W(est_j)Whole-Box / 4-vCPU Slice Envelope ( est_j)System-Slice GFLOPS/W(est_j)NVIDIA L4 ( g6.xlarge)15,56072 W(GPU card TDP)216.1~140 W(72 WGPU + 4-vCPU/DRAM share)~111.1Mac mini M4 3,418~22 W(M4 SoC GPU+DRAM active)~155.4~35 Wsustained wall (65 WPSU max)~97.7(52.6@65 Wmax)MacBook Pro M4 Max 13,417~78 W(M4 Max SoC GPU+DRAM)~172.0~110 Wwhole-laptop sustained~122.0Mac Studio M3 Ultra 17,055~160 W(M3 Ultra SoC GPU+DRAM)~106.6~215 Wsustained (270 Wrating)~79.3(63.2@270 Wmax)NVIDIA A10G ( g5.xlarge)24,616300 W(GPU card TDP; ~180β250 W SGEMM)82.1~375 W(300 WGPU + 4-vCPU/DRAM share)~65.6NVIDIA T4 ( g4dn.xlarge)4,41670 W(GPU card TDP)63.1~135 W(70 WGPU + 4-vCPU/DRAM share)~32.7All ratios above remain analytical envelope estimates (
est_j), not wire-shunt energy (measured_j). Notice that Ada Lovelace (L4) leads or ties even on a fair system-slice basis for denseSGEMM, whereas Apple Siliconβs structural advantage comes from unified-memory capacity (24β512 GB) and zero PCIe host-device copy penalty (2.8β3.6x) on memory-bound inference. -
Benchmark Protocol Wording (
"median of 10 warm-up runs"): The February footer misstated βAll results are median of 10 warm-up runs.β In the actual benchmark runner, untimed warm-up iterations were executed first and discarded (to compile/cache Metal Performance Shaders and cuBLAS kernels), followed by 10 timed measurement runs whose median was reported inraw-data.csv(per-trial standard deviation / IQR was not archived in the February log; all November 2026SatBsuites archive full per-run distributions anddrandseeds). Also note on[^3]: Appleβs SEC Form 10-K filings do not report Apple Silicon Mac installed-base totals (100M+is a third-party analyst estimate).
Related Prior Work & References
- Empirical Apple Silicon vs. NVIDIA HPC & Energy Evaluation: Juan M. Cebrian et al., βApple vs. Oranges: Evaluating the Apple Silicon M-Series SoCs for HPC Performance and Efficiency,β arXiv:2502.05317 (2025).
- Native & Portable GPU Substrates: Apple MLX (Hannun et al., 2023), PyTorch MPS, MoltenVK, ZLUDA (Kaylor, 2024), and Burn / CubeCL (Tracel AI).
How This Seed Evolved by November 2026
- Strict Precision Quarantine: Every OpenIE benchmark now forbids mixed-precision surrogates under higher-precision labels; Writing a Game Once quarantines GPU float shaders behind exact
Q32.32state (0 / 6host replay drift). - 4-Vendor
CubeCL+ MetalMSLSparse-MoE Streaming: Downward LUT6 Compilation replacesv0.1.0wrapper overhead with native 4-vendorCubeCLand MetalMSLkernelsβstreaming a34.66Bmodel inside970 MBunified RAM where Apple Siliconβs unified-memory architecture genuinely shines. - Physical Rail Shunts (
measured_j) vs. TDP Ratios (est_j): Satiation Benchmark Harness logs task-completion joules separately across physical TI DC shunts (measured_j) and chip counters (reported_j).
Diff & Changelog (commit 5e5f2a3 β 2026-11-25)
- Title: Retitled from βUnlocking Idle Hardware β CUDA Benchmarks Across 7 GPUsβ (at unchanged slug
the-599-mac-mini-outperforms-cloud-gpus) to βBenchmarking a $599 Mac Mini Against Cloud GPUs: Unified-Memory Tradeoffs and Nov 2026 FP64 Surrogate Errataβ. - Body text: Restored 100% verbatim from
5e5f2a3(reversing mid-year inline edits to the DGEMM and TDP prose); updated one retired February 2026 subdomain link in the footer tohttps://research.openie.dev; added inline*(Superseded β FP32 downcast surrogate, not IEEE-754 FP64; see Errata)*and TDP/protocol/table errata markers. - Frontmatter & Addendum: Added
track,artifactStatus,licenseNote,primaryClaim, and all four mandatory errata with a unified single-basisest_jpower table.
Footnotes
-
Charlot, D. βGPU Access Control β CUDA vs Metal: Making Rigid Interfaces Disappear.β OpenIE Blog, February 2026. β©
-
Charlot, D. βWe Ran CUDA on Every Machine in the Cloud β Without a Single GPU Driver.β OpenIE Blog, February 2026. β©
-
Apple Inc. βApple Investor Relations β SEC Filings.β Estimated installed base of Apple Silicon Macs based on cumulative shipments since M1 launch, November 2020. β©
David Charlot
Open Interface Engineering, Inc. · Signed Provenance · Self-Checked
Essay text CC0-1.0; benchmark harness and raw-data.csv published in openIE-dev/invisible-cuda (early v0.1.0 MPS wrapper; superseded for multi-vendor kernels by Nov 2026 CubeCL/SatB suites). Full licensing & AI-use disclosure →
Video Summaries, Syndication & Site Reference
Check the primary artifacts or run an independent replication
Inspect signed provenance manifests, rerun our public Apache-2.0 commodity-hardware replication kits, review our November 25, 2026 outside-review errata, or browse primary manuscripts on the Research Hub.