Advisor / Hardware / NVIDIA DGX Spark 64GB

Best local LLMs for NVIDIA DGX Spark 64GB

NVIDIA DGX Spark 64GB. Memory-fit math with KV cache, speeds labelled by how they were obtained, and commands you can paste.

53.9 GBusable for model + KV cache
273 GB/smemory bandwidth
19measured data points on file

Best for Coding · 16k context

ModelQuantFitMemorySpeed (generation)
Qwen3-Coder 30B-A3BQ8_0fits fully34.1 GB~61 tok/s measured src
Laguna XS 2.1Q8_0fits fully36.3 GB~49 tok/s scaled from measured src
Nemotron 3 Nano 30B-A3BQ8_0fits fully33.7 GB~58 tok/s scaled from measured src
Qwen3.6 35B-A3BQ8_0fits fully37.3 GB~49 tok/s measured src
Ornith 1.5 35B-A3BQ8_0fits fully38.2 GB~49 tok/s scaled from measured src
llama.cpp · top pick
llama-server -hf unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q8_0 -c 16384 -fa on --jinja -ngl 99
ollama · top pick
OLLAMA_CONTEXT_LENGTH=16384 ollama serve
ollama run hf.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF:Q8_0

Context length is an Ollama server setting: quit the Ollama app or stop the service first, or set it in its environment (launchctl on Mac, systemctl on Linux).

Best for Chat / general · 16k context

ModelQuantFitMemorySpeed (generation)
Gemma 4 12BQ6_Kfits fully10.4 GB~17 tok/s scaled from measured src
Nemotron 3 Nano 30B-A3BQ8_0fits fully33.7 GB~58 tok/s scaled from measured src
Qwen3.6 35B-A3BQ8_0fits fully37.3 GB~49 tok/s measured src
Ornith 1.5 35B-A3BQ8_0fits fully38.2 GB~49 tok/s scaled from measured src
Qwen3-Coder 30B-A3BQ8_0fits fully34.1 GB~61 tok/s measured src
llama.cpp · top pick
llama-server -hf unsloth/gemma-4-12b-it-GGUF:Q6_K -c 16384 -fa on --jinja -ngl 99
ollama · top pick
OLLAMA_CONTEXT_LENGTH=16384 ollama serve
ollama run hf.co/unsloth/gemma-4-12b-it-GGUF:Q6_K

Context length is an Ollama server setting: quit the Ollama app or stop the service first, or set it in its environment (launchctl on Mac, systemctl on Linux).

Best for Vision · 16k context

ModelQuantFitMemorySpeed (generation)
Gemma 4 12BQ6_Kfits fully10.4 GB~17 tok/s scaled from measured src
Qwen3.6 35B-A3BQ8_0fits fully37.3 GB~49 tok/s measured src
Gemma 4 26B-A4BQ8_0fits fully27.4 GB~54 tok/s scaled from measured src
Qwen3.5 9BQ8_0fits fully10.1 GB~17 tok/s scaled from measured src
Qwen3-VL 8BQ8_0fits fully11.1 GB~19 tok/s scaled from measured src
llama.cpp · top pick
llama-server -hf unsloth/gemma-4-12b-it-GGUF:Q6_K -c 16384 -fa on --jinja -ngl 99
ollama · top pick
OLLAMA_CONTEXT_LENGTH=16384 ollama serve
ollama run hf.co/unsloth/gemma-4-12b-it-GGUF:Q6_K

Context length is an Ollama server setting: quit the Ollama app or stop the service first, or set it in its environment (launchctl on Mac, systemctl on Linux).

All 27 models that fit, fastest first · 16k context

Click a column header to sort. 21 of 27 speeds here are measured or scaled from measured; the rest are bandwidth estimates. Filter by use case, speed source, fit, license and more in the interactive advisor →

ModelParamsQuantFitMemoryTok/sSource
LFM3 1.7B1.73BQ8_0fits fully2.1 GB~110scaled from measured
gpt-oss 20B20.91B MoEQ8_0fits fully12.5 GB~86scaled from measured
LFM2.5 24B-A2B23.97B MoEQ8_0fits fully25.8 GB~66scaled from measured
Flint 40B-A2.5B39.79B MoEQ8_0fits fully42.8 GB~64scaled from measured
Qwen3-Coder 30B-A3B30.53B MoEQ8_0fits fully34.1 GB~61measured
Nemotron 3 Nano 30B-A3B31.58B MoEQ8_0fits fully33.7 GB~58scaled from measured
Gemma 4 26B-A4B25.81B MoEQ8_0fits fully27.4 GB~54scaled from measured
Nemotron 3 Nano 4B3.97BQ8_0fits fully4.6 GB~53scaled from measured
Qwen3.5 4B4.66BQ8_0fits fully5.1 GB~50scaled from measured
GLM-4.7-Flash31.22B MoEQ8_0fits fully32.7 GB~50scaled from measured
Ornith 1.5 35B-A3B35.95B MoEQ8_0fits fully38.2 GB~49scaled from measured
Qwen3.6 35B-A3B35.95B MoEQ8_0fits fully37.3 GB~49measured
Laguna XS 2.133.44B MoEQ8_0fits fully36.3 GB~49scaled from measured
Nemotron 3.5 Lightning 30B-A3B31.58B MoEQ8_0fits fully35.2 GB~47scaled from measured
DeepSeek R1 Distill Qwen 7B7.62BQ8_0fits fully9.0 GB~29scaled from measured
Gemma 4 E4B8BQ8_0fits fully8.5 GB~29scaled from measured
Qwen3-VL 8B8.77BQ8_0fits fully11.1 GB~19scaled from measured
Qwen3.5 9B9.65BQ8_0fits fully10.1 GB~17scaled from measured
Ornith 1.5 9B9.65BQ8_0fits fully10.1 GB~17scaled from measured
Gemma 4 12B11.96BQ6_Kfits fully10.4 GB~17scaled from measured
Qwen3.8 27B27.78BUD-Q4_K_Mfits fully17.7 GB~13estimated
Qwen3.6 27B27.78BQ4_K_Mfits fully18.1 GB~13estimated
Gemma 4 31B31.27BQ4_K_Mfits fully20.5 GB~12estimated
Mistral Small 3.2 24B24.01BQ4_K_Mfits fully17.0 GB~11scaled from measured
DeepSeek R1 Distill Qwen 32B32.76BQ4_K_Mfits fully24.1 GB~11estimated
Nanbeige4.3 33B33.12BQ4_K_Mfits fully24.3 GB~11estimated
Llama 3.3 70B70.55BQ4_K_Mfits fully47.9 GB~5estimated

Long context on this hardware · up to 1M tokens

Largest context whose KV cache still fits next to the weights (same placement as the 16k result, KV types f16 / q8_0 / q4_0). Models are capped at their verified maximum; extended means beyond the native maximum using YaRN, only listed where the model card documents it. Long context needs flash attention (-fa on, already in the commands) and a lot of memory; a quantized KV cache saves memory but can cost accuracy. Speed at depth is an estimate (penalty fitted to measured depth runs up to 128k).

Try it in the advisor: 128k · 256k · 512k · 1M

ModelNative maxMax ctx f16Max ctx q8_0Max ctx q4_0Est. tok/s at max f16 ctx
Qwen3.5 4B Q8_0256k1M extended1M extended1M extended~8 estimated
Qwen3.5 9B Q8_0256k1M extended1M extended1M extended~5 estimated
Qwen3.6 35B-A3B Q8_0256k512k extended1M extended1M extended~14 estimated
Qwen3.8 27B UD-Q4_K_M256k512k extended1M extended1M extended~5 estimated
Qwen3.6 27B Q4_K_M256k512k extended1M extended1M extended~5 estimated
LFM3 1.7B Q8_0256k256k256k256k~48 estimated
Flint 40B-A2.5B Q8_0256k256k256k256k~21 estimated
Nemotron 3 Nano 30B-A3B Q8_0256k256k256k256k~44 estimated
Gemma 4 26B-A4B Q8_0256k256k256k256k~27 estimated
Nemotron 3 Nano 4B Q8_0256k256k256k256k~30 estimated
Ornith 1.5 35B-A3B Q8_0256k256k256k256k~22 estimated
Laguna XS 2.1 Q8_0256k256k256k256k~14 estimated
Nemotron 3.5 Lightning 30B-A3B Q8_0256k256k256k256k~34 estimated
Qwen3-VL 8B Q8_0256k256k512k extended1M extended~4 estimated
Ornith 1.5 9B Q8_0256k256k256k256k~10 estimated
Gemma 4 12B Q6_K256k256k256k256k~12 estimated
Gemma 4 31B Q4_K_M256k256k256k256k~6 estimated
gpt-oss 20B Q8_0128k128k128k128k~40 estimated
LFM2.5 24B-A2B Q8_0128k128k128k128k~37 estimated
Qwen3-Coder 30B-A3B Q8_0256k128k256k512k extended~16 estimated
GLM-4.7-Flash Q8_0198k128k128k128k~18 estimated
DeepSeek R1 Distill Qwen 7B Q8_0128k128k128k128k~17 estimated
Gemma 4 E4B Q8_0128k128k128k128k~24 estimated
Mistral Small 3.2 24B Q4_K_M128k128k128k128k~5 estimated
Nanbeige4.3 33B Q4_K_M512k128k256k512k~5 estimated
DeepSeek R1 Distill Qwen 32B Q4_K_M128k64k128k128k~7 estimated
Llama 3.3 70B Q4_K_M128k32k32k64k~4 estimated

FAQ

What is the best local LLM for NVIDIA DGX Spark 64GB?

Of the 27 models that fit fully at 16k context, LFM3 1.7B Q8_0 is the fastest at ~110 tok/s (scaled from measured); the largest is Llama 3.3 70B Q4_K_M.

How much memory can NVIDIA DGX Spark 64GB use for a model?

About 53.9 GB usable for the model and KV cache, with 273 GB/s memory bandwidth.

Can NVIDIA DGX Spark 64GB run long contexts?

See the long-context table above: it lists the largest context whose KV cache fits next to the weights for every model, up to 1M tokens where the model supports it.

Open the interactive advisor with this hardware →

Speeds marked measured are medians of real runs (short-context generation) from these sources; scaled from measured means a measurement of a same-size or same-model-different-quant run, scaled by bytes read; estimated comes from memory bandwidth (spec source: https://www.nvidia.com/en-us/products/workstations/dgx-spark/) × an efficiency factor of 0.81 calibrated to measured runs on this hardware. 19 measured data points on file for this hardware · submit your benchmark. Memory size on this page is an example configuration; check what your machine has. Model data last verified 2026-11-02. Ranking = fits and fast enough first, then larger; not a quality benchmark.

Page generated 2026-11-02 by tools/generate_pages.js