Comparison · November 2026

DGX Spark vs RTX 4090 for LLMs: what fits in 24 GB vs 128 GB, tok/s, prefill, power and price

By Samuel Seidel · Published November 7, 2026 · Sources checked November 7, 2026

An RTX 4090 decodes models that fit in its 24 GB about 2.7 to 3.3 times faster than a DGX Spark (221.95 against 83.43 tok/s on gpt-oss-20b, 188.96 against 56.74 on llama.cpp's Llama 2 7B test) and processes prompts 1.8 to 4 times faster. It cannot hold Llama 3.3 70B or gpt-oss-120b; the Spark's 128 GB runs gpt-oss-120b at 58.7 tok/s in llama.cpp, against about 22 tok/s on a 4090 with experts offloaded to system RAM. On 7 November 2026 a used 4090 sold for a $2,731 eBay median and the 128 GB Spark listed at $6,950.

Key numberRTX 4090DGX SparkSource
Memory for models24 GB GDDR6X128 GB LPDDR5X, unifiedNVIDIA
Memory bandwidth1,008 GB/s273 GB/sThe FPS Review; NVIDIA
Decode, gpt-oss-20b MXFP4, llama.cpp221.95 tok/s83.43 tok/sllama.cpp #15396; llama.cpp DGX Spark results
Decode, gpt-oss-120b MXFP4about 22 tok/s, experts in RAM58.72 tok/sMoE offload article; llama.cpp DGX Spark results
Power rating450 W card, 850 W system supply240 W whole systemNVIDIA
Price, 7 Nov 2026$2,731 used (eBay median), about $5,240 as a PC$6,950 (128 GB)see the price section

Rival speeds are third-party reports; GPUwerk has run no RTX 4090. The two llama.cpp gpt-oss-20b figures are from different builds (6210 and 7941) and slightly different tests (tg128 and tg32). The PC price is my sum, explained below.

RTX 4090 vs DGX Spark: specs side by side

The 4090 has 3.7 times the bandwidth and less than a fifth of the memory. That one ratio predicts most of what follows, because token generation reads every active weight once per token.

SpecGeForce RTX 4090DGX Spark (GB10)
Memory24 GB GDDR6X, 384-bit, 21 Gbps128 GB LPDDR5X-8533, 256-bit, shared by CPU and GPU
Bandwidth1,008 GB/s273 GB/s
ArchitectureAda Lovelace, compute capability 8.9Blackwell, sm_121
Low-precision tensor mathFP8FP8 and FP4
Power450 W total graphics power; 19 W idle (card); 850 W system supply240 W supply for the whole box; GB10 rated 140 W
What you buyA card; you build an x86 PC around itA complete Arm64 system with DGX OS and a 200 Gb/s ConnectX-7
Multi-GPU linkNo NVLinkTwo units cable into a 256 GB cluster

Read 7 November 2026: NVIDIA RTX 4090 page (memory, power, NVLink), The FPS Review (bus, clock and 1,008 GB/s), NVIDIA DGX Spark hardware page, vLLM FP8 documentation (FP8 compute from compute capability 8.9). Full Spark specs are on the specs page.

The FP4 row matters if you plan to use NVFP4 checkpoints: on a 4090 they load as compressed weights with 16-bit math, as the RTX 4090 vs RTX 5090 article explains with vLLM's hardware table. The architecture row cuts the other way. A 4090 PC is x86, where every Python wheel exists; the Spark is Arm64 with a newer GPU target, and some packages still need nightly builds, as the PyTorch on DGX Spark guide covers.

Which models fit in 24 GB and which need 128 GB?

Everything up to about 35B parameters at 4-bit fits a 4090 with a 32k context; 70B dense models, gpt-oss-120b and the 100B-class MoE models do not. The table adds each GGUF file to its KV cache and a 1.5 GB allowance for the CUDA context and buffers (my assumption), against 24 GiB (25.8 GB) on the 4090 and about 110 GB usable on a Spark after the operating system.

KV bytes per token = full-attention layers x KV heads x head dim x 2 (K and V) x 2 bytes (FP16)

Llama 3.3 70B (80 layers, 8 KV heads, head dim 128):
  80 x 8 x 128 x 2 x 2 = 327,680 bytes per token
  x 32,768 tokens      = 10.74 GB
  total = 42.52 GB (Q4_K_M) + 10.74 + 1.5 = 54.8 GB   -> no on a 4090, yes on a Spark

gpt-oss-120b (18 of 36 layers full attention, 8 KV heads, head dim 64):
  18 x 8 x 64 x 2 x 2 = 36,864 bytes per token -> 1.21 GB at 32k
  total = 63.39 + 1.21 + 1.5 = 66.1 GB                  -> no on a 4090, yes on a Spark
Model and fileWeightsTotal at 32kTotal at 128kRTX 4090DGX Spark
gpt-oss-20b MXFP412.11 GB14.4 GB16.8 GBYesYes
Qwen3.8-27B UD-Q4_K_XL17.56 GB21.2 GB27.6 GB32k; 128k needs q8_0 KVYes
Qwen3.6-35B-A3B UD-Q4_K_XL22.36 GB24.5 GB26.5 GB32k, tightYes
Llama 3.3 70B Q4_K_M42.52 GB54.8 GB87.0 GBNoYes
gpt-oss-120b MXFP463.39 GB66.1 GB69.7 GBOnly with experts in RAMYes
Qwen3.5-122B-A10B UD-Q4_K_XL77.03 GB79.3 GB81.8 GBNoYes

File sizes from the Hugging Face listings for Llama 3.3 70B, gpt-oss-120b, Qwen3.6-35B-A3B and Qwen3.5-122B-A10B, read 7 November 2026. Layer and head counts from the Llama 3.3, gpt-oss-120b and Qwen3.8-27B config files; the Qwen models' linear-attention layers keep a small fixed state that I left out. All sums are mine. Per-model cache sizes for other models are in KV cache size by model.

Context is the trap on the 4090. The same Qwen3.8-27B that fits at 32k overflows at 128k unless you quantize the cache, while the Spark holds it at any length the model supports. If your workload is long-document RAG or a coding agent that resends 100k tokens, the 24 GB card runs out before the model does.

How much faster is an RTX 4090 on models that fit?

About three times faster in decode and two to four times in prefill, close to the 3.7 times bandwidth ratio. The pairs below use the same model and quantization on both machines; only the first two rows also share one benchmark setup.

Model and testEngineRTX 4090DGX Spark4090 leadSourceDate
Llama 2 7B Q4_0, decode tg128llama.cpp, FA on188.9656.743.33xCUDA scoreboard #15013read 2026-11-07
Llama 2 7B Q4_0, prefill pp512llama.cpp, FA on14,770.633,661.374.03xCUDA scoreboard #15013read 2026-11-07
gpt-oss-20b MXFP4, decodellama.cpp build 6210 / build 7941221.9583.432.66x#15396; DGX Spark results2025-08 / 2026-02-05
gpt-oss-20b MXFP4, prefill pp2048same8,022.334,505.821.78xsame2025-08 / 2026-02-05
Qwen3 30B-A3B class, decodellama.cpp Q4_K / vLLM AWQ207.380.9 (GPUwerk-measured)about 2.6x, not like for likeHardware Corner; benchmarks page2026-03 / 2026-09-02

Tokens per second, single stream. The scoreboard rows are different contributors' machines and llama.cpp commits (4090 at 2241453, Spark at 5acd455). Hardware Corner's 4090 figure is Qwen3 30B-A3B at a 4k context; the Spark figure is GPUwerk's own Qwen3-Coder-30B-A3B AWQ run on vLLM 0.27.1, a different engine and quant.

The bandwidth arithmetic agrees. Divide each machine's bandwidth by the bytes read per token and the 4090's ceiling is 3.7 times the Spark's; the measured decode leads of 2.7 to 3.3 times sit just under that, because engines reach a different share of peak bandwidth on each machine. Prefill depends on compute instead, and the gap there ranges more widely: 4.0 times on a dense 7B, 1.8 times on gpt-oss-20b. For a single user chatting with a 20B model, both are fast enough; for batch jobs over many short prompts the 4090 finishes sooner.

What happens when the model does not fit the 4090?

The Spark wins outright, by about 2.7 times on gpt-oss-120b and by default on dense 70B. A 4090 can still run a large MoE model by keeping expert weights in system RAM with llama.cpp's --n-cpu-moe, and reported runs collected in the MoE CPU offload article put gpt-oss-120b at about 22 tok/s on a 4090 with --n-cpu-moe 28. The Spark runs the same 63.39 GB file entirely in its own memory at 58.72 tok/s decode and 2,443.91 tok/s prefill on llama.cpp build 7941.

Prefill suffers most under offload. On a 24 GB RTX 3090 with 64 GB of DDR5-5200, one owner measured gpt-oss-120b at 26.90 tok/s decode but only 364.80 tok/s prefill on a 2,048-token prompt (#15396, build 7760, January 2026), against 2,443.91 on the Spark. Larger batches helped: the same owner reached 672.56 tok/s on a 32,768-token prompt. I found no matching 4090 prefill figure, but the RAM, not the card, sets that limit. By my arithmetic a 30,000-token prompt takes about 45 seconds on that offload setup and under 20 seconds on the Spark, whose llama.cpp prefill rate falls from 2,443.91 to 1,567.08 tok/s as the context fills to 32k.

Dense 70B has no workaround on one 4090. Llama 3.3 70B needs about 55 GB at a 32k context by the calculation above; on a Spark GPUwerk measured it at 6.0 tok/s single-stream (AWQ, vLLM 0.27.1, 2 September 2026), slow but usable for batch work. Two 24 GB cards change that picture, which the sibling comparison of a multi-RTX 3090 rig against the Spark covers with reported 70B speeds.

What does each cost in November 2026, and what does it cost to run?

A 4090 PC costs about $1,700 less than a 128 GB Spark and draws several times more power. The used-card price is the eBay sold median of $2,731 (99 sales over 90 days to 7 November 2026) recorded in the RTX 4090 vs RTX 5090 article; new 4090s have been out of US retail since July 2025 according to the same page. The Spark's $6,950 US list price and its history are on the price page.

# RTX 4090 PC, parts from ComputingForGeeks' budget LLM build (Amazon US, 20 October 2026)
Ryzen 7 9700X                         $309.99
ASRock X870E Taichi Lite              $299.99
64 GB DDR5-6000                       $999.99
Corsair HX1200i                       $279.99
Enthoo Pro 2 Server case              $179.99
Samsung 990 PRO 2 TB                  $409.99
Thermalright PA120 SE                  $31.41
                                    ---------
Platform                            $2,511.35
+ used RTX 4090 (eBay median)       $2,731.00
= about $5,242

DGX Spark 128 GB (US list)          $6,950
DGX Spark 64 GB (partners)          from $4,999

Part prices from ComputingForGeeks, which listed them for a dual-RTX 3090 build; I removed its two cards and added one used 4090. Its 64 GB of RAM is the amount the MoE offload article suggests for gpt-oss-120b on a 24 GB card. US prices exclude sales tax. The sum is mine.

Per dollar the answer flips with model size. On gpt-oss-20b the 4090 PC gives 42 decode tok/s per $1,000 against 12 for the Spark; on gpt-oss-120b it gives about 4 against 8.4, by my division of the speeds above. The 64 GB Spark undercuts the 4090 PC, but 64 GB does not leave room for gpt-oss-120b's context.

Power is a smaller line but not zero. NVIDIA rates the 4090 card at 450 W; the Spark's whole system runs on a 240 W supply and drew 60 to 90 W during LLM inference in ServeTheHome's measurements, collected in the power guide. At Eurostat's EU household average of EUR 0.2832 per kWh for the first half of 2026, the card alone at its rating costs EUR 0.13 an hour and the Spark at 90 W EUR 0.03, my arithmetic. Single-stream decode rarely holds a 4090 at 450 W, so treat that as a ceiling, and add the rest of the PC.

Verdict: which should you buy?

If you are on the fence because of one large model, test that model before buying. A rented GPUwerk Spark runs it on the same GB10 chip by the minute, and the memory calculator checks the fit for your context length first.

FAQ

Is the DGX Spark faster than an RTX 4090?

No, not on models that fit in 24 GB. In llama.cpp's CUDA scoreboard an RTX 4090 decodes Llama 2 7B Q4_0 at 188.96 tok/s against 56.74 for a DGX Spark, and on gpt-oss-20b llama.cpp runs report 221.95 against 83.43 tok/s. The Spark is faster only when the model does not fit the card: gpt-oss-120b runs at 58.7 tok/s on a Spark and about 22 tok/s on a 4090 with experts in system RAM.

Can an RTX 4090 run Llama 3.3 70B?

Not on the card alone. The Q4_K_M GGUF on Hugging Face is 42.52 GB, and by my calculation a 32k context adds 10.7 GB of FP16 KV cache, about 55 GB in total against the 4090's 24 GB. You would need two cards or CPU offload. A DGX Spark holds it, and GPUwerk measured Llama 3.3 70B AWQ at 6.0 tok/s single-stream on vLLM 0.27.1.

Should I buy a used RTX 4090 or a DGX Spark for local LLMs?

Buy the used 4090 if your models are under about 20 GB, such as gpt-oss-20b or a 27B at 4-bit: it is about three times faster and a complete 4090 PC costs about $5,240 by my sum of November 2026 prices, against $6,950 for a 128 GB Spark. Buy the Spark if you need 70B dense models, gpt-oss-120b or 100B-class MoE models in one box.

How much power does an RTX 4090 use compared with a DGX Spark?

NVIDIA rates the RTX 4090 at 450 W total graphics power and asks for an 850 W system supply. The whole DGX Spark ships with a 240 W supply, and ServeTheHome measured 60 to 90 W during LLM inference. At the EU household average of EUR 0.2832 per kWh in the first half of 2026, 450 W costs about EUR 0.13 an hour and 90 W about EUR 0.03.

Does the RTX 4090 support FP4 or NVFP4 like the DGX Spark?

Not in hardware. The 4090 is an Ada card with FP8 tensor cores; vLLM's documentation lists FP8 computation for compute capability 8.9 and above, which includes Ada. NVFP4 math arrived with Blackwell, so NVFP4 checkpoints run on a 4090 only as weight-only formats. The DGX Spark's GB10 is Blackwell and computes in FP4 natively.

Sources

Every figure above is attributed to its source in the sentence or table where it appears. Pages were read on 7 November 2026 unless a date says otherwise.

First top-up: pay $20, get $30 in credit

Load the model your 4090 cannot.

Rent a dedicated DGX Spark by the minute and run your 70B or 120B model on 128 GB before buying either machine.

A dedicated DGX Spark in the EU, $0.79/hour, billed per minute. $30 of credit is about 37 hours of compute.

Create account See the DGX Spark benchmarks