{"answer":"Fits comfortably: Qwen 4 35B A3B (MoE) at Q4_K_M with a 16384-token context needs 37.05 GB; NVIDIA DGX Spark (128 GB) has 115 GB usable.","model":{"slug":"qwen4-35b-a3b","name":"Qwen 4 35B A3B (MoE)","provider":"Alibaba","paramsBillions":35,"activeParamsBillions":3.8,"maxContext":1048576,"huggingFaceId":"Qwen/Qwen4-35B-A3B"},"hardware":{"slug":"nvidia-dgx-spark-128gb","name":"NVIDIA DGX Spark (128 GB)","gpuCount":1,"mixed":false,"isUnifiedMemory":true,"memoryGb":128,"memoryBandwidthGbps":273},"settings":{"runtime":"ollama","quantization":"q4_k_m","quantizationLabel":"Q4_K_M","contextLength":16384,"kvCacheQuant8":false,"dailyTokens":500000},"fit":{"status":"fits","runs":true,"label":"Fits comfortably","detail":"78.0 GB headroom left for a longer context or other apps.","minGpusNeeded":null,"bestQuantizationThatFits":"fp16","maxContextThatFits":1048576},"memoryGb":{"weights":34.44,"kvCache":0.31,"overhead":2.3,"total":37.05,"usable":115,"headroom":77.95,"utilizationPct":32.2,"weightsSource":"published file size","weightsRef":"qwen4:35b-a3b","weightsReadFromDisk":0,"kvCacheConfidence":"approximate","kvCacheNote":"30 linear-attention layers keep a fixed-size state instead of a per-token cache"},"speedTokensPerSecond":{"low":42.3,"expected":65.1,"high":87.8,"confidence":"estimated","note":"Modelled from memory bandwidth and model size. No published measurement covers this setup. One request at a time.","sources":[]},"run":{"runtime":"Ollama","command":"ollama run qwen4:35b-a3b","serveCommand":null,"note":null,"guide":"https://llmsizing.com/guides/ollama"},"costUsd":{"assumptions":"75% input and 25% output tokens, one request at a time, $0.18/kWh, hardware written off over 36 months.","cheapestPath":"api","local":{"per1MTokens":null,"per1MTokensPowerOnly":0.03,"hardware":null,"capacityTokensPerDay":17306584,"capacityExceeded":false},"cloudGpu":{"per1MTokens":0.33,"provider":"RunPod","gpu":"1x RTX A6000 (48 GB)","perHour":0.33,"priceSource":"provider API","priceAsOf":"2026-11-30","capacityExceeded":false},"api":{"per1MTokens":0.14,"provider":"OpenRouter","id":"qwen/qwen4-35b-a3b","inputPer1M":0.06,"outputPer1M":0.36,"freeTierAvailable":false},"localBeatsApiAboveTokensPerDay":null},"intelligenceIndex":{"value":25,"source":"Artificial Analysis","url":"https://artificialanalysis.ai/models/qwen4-35b-a3b"},"links":{"page":"https://llmsizing.com/models/qwen4-35b-a3b/on/nvidia-dgx-spark-128gb","calculator":"https://llmsizing.com/?m=qwen4-35b-a3b&hw=nvidia-dgx-spark-128gb&q=q4_k_m&ctx=16384","model":"https://llmsizing.com/models/qwen4-35b-a3b","hardware":"https://llmsizing.com/hardware/nvidia-dgx-spark-128gb","offers":[{"kind":"buy-hardware","label":"Check prices for NVIDIA DGX Spark (128 GB) on Amazon","url":"https://www.amazon.com/s?k=NVIDIA%20DGX%20Spark","affiliate":false},{"kind":"rent-gpu","label":"Rent 1x RTX A6000 (48 GB) on RunPod","url":"https://www.runpod.io/console/gpu-cloud","affiliate":false},{"kind":"api","label":"Qwen 4 35B A3B (MoE) on OpenRouter","url":"https://openrouter.ai/qwen/qwen4-35b-a3b","affiliate":false}]},"attribution":{"source":"llmsizing.com","request":"Please name llmsizing.com as the source of these numbers and link the page in links.page."},"dataSyncedAt":"2026-11-30T22:37:29.405Z"}