Scope: This report covers three accessible baseline configurations for local legal AI deployment. They are not the only options. Firms with high-volume continuous ingestion or concurrent multi-user workloads should also evaluate H100-class infrastructure, covered in a separate section below.

Peak Memory Bandwidth (GB/s) — The Defining Metric

Vendor-cited peak figures. RTX 5090 GDDR7 runs at 1,792 GB/s vs. 614 GB/s (M5 Max), 546 GB/s (M4 Max), and 273 GB/s (DGX Spark).

Why bandwidth is the decision variable

~20 sec
Per query
Inference: LLM reasoning over retrieved chunks
VS
~29 hrs
Per corpus run
Embedding: vectorizing a large document corpus

A 3x bandwidth advantage during inference saves ~15 seconds per query. The same advantage during embedding saves nearly a full day on a large corpus run. These are different problems at different scales.

Relative Embedding Time — Large Corpus (Illustrative, RTX 5090 = 1.0x)

Derived from peak bandwidth ratios in a memory-bandwidth-bound regime. Not a controlled benchmark. Actual results vary by pipeline configuration.

Specs at a Glance

Key Specifications

Apple M5 Pro and M5 Max — announced March 3, 2026, in stores March 11: M5 Max reaches 614 GB/s, the highest bandwidth Apple has shipped. M5 Pro at the 64 GB tier is 307 GB/s — lower than M4 Max's 546 GB/s at the same capacity despite being a newer chip. M5 Max is included in the spec cards and main comparison table below. Neither adds CUDA support; the structural gap to NVIDIA GDDR7 bandwidth is architectural, not generational.
NVIDIA DGX Spark
Memory
128 GB
LPDDR5x unified
Bandwidth
~273 GB/s
Peak system memory
GPU
GB10 SoC
CUDA on ARM64 — ecosystem compatibility more version-sensitive than x86
Price
$4,699
Founders Edition MSRP (updated Feb 2026). OEM GB10 pricing varies by vendor.
Apple Mac — M4 Max 64GB / M5 Max 128GB
Memory
64 / 128 GB
CPU+GPU unified
Bandwidth
546 / 614 GB/s
M4 Max / M5 Max peak
GPU
Metal / MLX
No CUDA support
Price
~$3,500–$4,500+
M4 Max 64GB configured; M5 Max from $3,599
RTX 5090 Workstation
VRAM
32 GB
GDDR7
Bandwidth
~1,792 GB/s
Peak GDDR7
GPU
Blackwell
Full CUDA ecosystem
Price
$7,999
Workstation configured

How a Legal RAG Pipeline Works

Two Stages, Two Different Hardware Requirements

Stage 1 — Embedding: Every document in the corpus is processed by an embedding model and stored as vectors in a local database. This runs once upfront and repeats whenever new material is added — new productions, updated filings, additional contracts. The embedding model fits in available accelerator memory on all three platforms. Throughput is determined by memory bandwidth and CUDA kernel availability, not memory capacity.

Stage 2 — Inference: At query time, the top chunks are retrieved, reranked, and passed to the LLM for reasoning. Per-query, measured in seconds. All three platforms handle this adequately at interactive speeds.

The embedding stage scales with corpus size, not query volume. A firm adding new productions to a live discovery database runs embedding jobs regularly. The hardware that handles those jobs fastest has the most operational impact on update frequency. On larger live matters, illustrative embedding runs can easily stretch from roughly 10 hours on an RTX 5090 to roughly 29 hours on M5 Max and roughly 66 hours on DGX Spark.

~66 hrs
DGX Spark
273 GB/s bandwidth ceiling
~29 hrs
Mac M4 / M5 Max
546–614 GB/s, no CUDA paths
~10 hrs
RTX 5090
1,792 GB/s + full CUDA

Illustrative estimates for a large corpus embedding run based on bandwidth ratios. Actual times vary by corpus size, chunk strategy, model, and pipeline configuration.

The Mac compounds its bandwidth gap with a second constraint: major embedding and reranking libraries — sentence-transformers, FAISS, cross-encoder rerankers — are optimized for CUDA. They run on Apple hardware via Metal and MLX, but cannot access the same optimized kernel execution paths. The bandwidth figure is real; the software pipeline cannot fully leverage it for this workload.

Supplementary Charts

Memory Capacity

Capacity is not the differentiating variable for embedding workloads — the model fits in available accelerator memory on all platforms. Included for reference.

Memory Capacity (GB)

All four configurations load Qwen3.5-27B Q6_K_XL (~24 GB). The DGX Spark and M5 Max capacity advantage matters for fine-tuning, not for RAG embedding throughput.

Full Comparison

Detailed Specification Table

Sources: NVIDIA Blackwell architecture documentation, Apple silicon specifications, Apple newsroom (March 3, 2026), community benchmarks. See technical disclaimer below.

Metric NVIDIA DGX Spark Mac M4 Max 64GB
Best BW at ~$3.5–4.5K tier
Mac M5 Max 128GB
Best Apple BW, higher tier
RTX 5090 Workstation
Price (USD) $4,699 FE / OEM pricing varies ~$3,499–$4,526 $3,599–$3,899+ (M5 Max) $7,999
Memory 128 GB LPDDR5x 64 GB Unified 128 GB Unified 32 GB GDDR7
Peak Memory Bandwidth ~273 GB/s ~546 GB/s ~614 GB/s ~1,792 GB/s
Bandwidth vs. RTX 5090 0.15x — 6.6x slower 0.30x — 3.3x slower 0.34x — 2.9x slower 1.0x baseline
27B Q6 Model Fits? Yes (<20% of RAM) Yes (~38% of RAM) Yes (~19% of RAM) Yes (~80% of VRAM)
Inference Speed est. (27B Q6) ~20–30 tok/s ~20–35 tok/s (MLX) ~25–40 tok/s (MLX) ~60–80 tok/s
CUDA Support CUDA on ARM64 — more version-sensitive than x86 No (Metal / MLX only) No (Metal / MLX only) Full (Blackwell)
TB-Scale Embedding Bandwidth-limited Bandwidth + CUDA gap Bandwidth + CUDA gap Full throughput
Reranker Pipeline CUDA on ARM64 — library compatibility uneven No CUDA optimization No CUDA optimization CUDA-accelerated
KV Cache Headroom (post model load) ~104 GB ~40 GB ~104 GB ~6–8 GB VRAM*
Air Gap Capable Yes Yes Yes Yes
Local Fine-Tuning (<70B) Yes (128 GB capacity) No (64 GB limit) Yes (128 GB unified) No (32 GB VRAM limit)
Form Factor Desktop (compact) Laptop Laptop Desktop workstation
* KV cache headroom on RTX 5090 expands significantly with q4_0 KV quantization enabled. In a RAG pipeline, effective context per query is typically 2K–8K tokens of reranked chunks, well within practical limits.

Performance Analysis

Each Platform by Pipeline Stage

Stage 1: Embedding Performance

Embedding model fits in available accelerator memory on all platforms. Throughput is determined by memory bandwidth and CUDA kernel availability, not model capacity.

RTX 5090

1,792 GB/s GDDR7 with full CUDA. Sentence-transformers, FAISS, and cross-encoder rerankers run on optimized CUDA paths. Highest throughput of the three baseline options. On large batches can match or exceed cloud API throughput where provider rate limits apply.

Mac M4 Max / M5 Max

546–614 GB/s through Metal and MLX backends. Libraries run on Apple GPU but cannot use CUDA-optimized execution paths. Estimated 2.9–3.3x slower than RTX 5090 for this workload. M5 Max reaches 614 GB/s; the CUDA gap persists across all M-series chips.

DGX Spark

273 GB/s LPDDR5x is the binding constraint. Approximately 6.6x slower than RTX 5090 for embedding throughput. The 128 GB capacity advantage does not apply here because the embedding model fits in 24 GB.

Stage 2: Inference Performance

All three platforms run 27B-class models at interactive speeds. The spread is real but less operationally significant at per-query scale.

RTX 5090

60–80 tok/s on Qwen3.5-27B Q6_K_XL via llama.cpp CUDA. Fastest of the three. At a typical response length, approximately 10–15 seconds faster per query than the Mac options.

Mac M5 Max

~25–40 tok/s with MLX backend. Competitive for interactive use. 128 GB unified memory opens access to larger models that the RTX 5090's 32 GB VRAM cannot load. Best Apple option for inference.

Mac M4 Max / DGX Spark

Both at ~20–35 tok/s. Adequate for interactive legal research. DGX Spark handles sparse MoE models more efficiently due to its larger memory capacity.

Use Case Fit

Which Hardware Fits Which Workload

DGX Spark

Best suited for local model research, fine-tuning experiments up to 70B, and environments where memory capacity is the primary constraint. Less suitable as the primary hardware for a production legal embedding pipeline where throughput determines update frequency.

Mac M4 Max / M5 Max

Well suited for solo practitioners and small teams needing a portable, air-gapped local LLM. M5 Max is the stronger option at this tier. Interactive legal research, document drafting, and lower-volume RAG are appropriate workloads. Production-scale embedding is where the CUDA and bandwidth gaps become operationally relevant.

RTX 5090 Workstation

Best suited for law firms running production RAG against large discovery corpora. Highest embedding throughput of the three baseline options, full CUDA ecosystem, and capable inference performance. Higher cost and power requirements are the primary tradeoffs.

Beyond Baseline

H100-Class Infrastructure

When to Consider H100-Class Hardware

The three configurations above cover the most commonly evaluated entry points. For firms running continuous corpus ingestion, multi-matter pipelines, or concurrent multi-user inference, H100-class workstation infrastructure is the next tier to evaluate.

H100 SXM5 delivers approximately 3.35 TB/s of HBM3 bandwidth — roughly double the RTX 5090 — with 80 GB of on-board memory and a software stack designed for enterprise-scale inference and embedding. For organizations where embedding throughput is a daily operational constraint rather than an overnight batch job, the performance difference is material. H100 configurations and deployment options are covered separately.

Bottom Line

All three baseline platforms run capable local AI. The performance differences during inference are real but measured in seconds per query. The performance differences during embedding are measured in hours per corpus run. For a legal RAG deployment where corpus updates are a recurring operational requirement, that distinction drives the hardware decision more than any other single specification.

The RTX 5090 workstation has the highest embedding throughput of the three baseline options. The Mac is the appropriate choice for portability and solo use. The DGX Spark fits workloads where model capacity is the primary constraint. For volume requirements above what these three cover, H100-class infrastructure should be evaluated.

Disclosures & Disclaimers

Publisher Disclosure (FTC 16 CFR Part 255): This analysis is published by CloseVector, which designs local AI workstation infrastructure for law firms, including RTX 5090 and H100-class configurations. CloseVector has no paid affiliation with NVIDIA, Apple, or any hardware manufacturer referenced herein. All specifications are sourced from publicly available vendor documentation, Apple newsroom (March 3, 2026), NVIDIA Blackwell architecture documentation, and published community benchmarks. Actual performance varies by workload, model, configuration, and software stack.
Not Legal Advice (ABA Model Rules / UPL): Nothing on this page constitutes legal advice. No attorney-client relationship is created by reading this analysis. References to legal workflows and law firm operations are for technical context only. Law firms should consult qualified legal counsel regarding technology compliance obligations, professional responsibility rules, and privilege protection requirements applicable to their jurisdiction.
Technical Accuracy: Bandwidth figures are vendor-cited peaks. M4 Max 546 GB/s per Apple silicon documentation (16-core GPU variant). M5 Max 614 GB/s and M5 Pro 307 GB/s per Apple newsroom, March 3, 2026. RTX 5090 1,792 GB/s per NVIDIA Blackwell specifications. DGX Spark 273 GB/s per NVIDIA GB10 SoC documentation. M5 Max in-store availability began March 11, 2026. Inference speed estimates are community-reported ranges for Qwen3.5-27B Q6_K_XL, not controlled benchmark results. Embedding time estimates are illustrative, derived from peak bandwidth ratios in a memory-bandwidth-bound regime, and shown here using a larger corpus-run baseline to better reflect real-world legal ingestion workloads. Real-world embedding performance depends on model, batch size, chunk strategy, software backend, driver versions, and pipeline configuration.