{"answer":"Fits comfortably: Qwen3 Coder Next 80B A3B (MoE) at Q4_K_M with a 16384-token context needs 51.49 GB; Mac Studio M5 Ultra (512 GB) has 430 GB usable.","model":{"slug":"qwen3-coder-next","name":"Qwen3 Coder Next 80B A3B (MoE)","provider":"Alibaba","paramsBillions":79.7,"activeParamsBillions":3,"maxContext":262144,"huggingFaceId":"Qwen/Qwen3-Coder-Next"},"hardware":{"slug":"mac-studio-m5-ultra-512gb","name":"Mac Studio M5 Ultra (512 GB)","gpuCount":1,"mixed":false,"isUnifiedMemory":true,"memoryGb":512,"memoryBandwidthGbps":1229},"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":"379 GB headroom left for a longer context or other apps.","minGpusNeeded":null,"bestQuantizationThatFits":"fp16","maxContextThatFits":262144},"memoryGb":{"weights":48.19,"kvCache":0.38,"overhead":2.92,"total":51.49,"usable":430,"headroom":378.51,"utilizationPct":12,"weightsSource":"published file size","weightsRef":"qwen3-coder-next:latest","weightsReadFromDisk":0,"kvCacheConfidence":"approximate","kvCacheNote":"36 linear-attention layers keep a fixed-size state instead of a per-token cache"},"speedTokensPerSecond":{"low":70.3,"expected":108.1,"high":145.9,"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 qwen3-coder-next:latest","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":41.33,"per1MTokensPowerOnly":0.03,"hardware":22300,"capacityTokensPerDay":28737969,"capacityExceeded":false},"cloudGpu":{"per1MTokens":1.39,"provider":"RunPod","gpu":"1x A100 SXM (80 GB)","perHour":1.39,"priceSource":"provider API","priceAsOf":"2026-11-30","capacityExceeded":false},"api":{"per1MTokens":0.29,"provider":"OpenRouter","id":"qwen/qwen3-coder-next","inputPer1M":0.12,"outputPer1M":0.8,"freeTierAvailable":false},"localBeatsApiAboveTokensPerDay":null},"intelligenceIndex":null,"links":{"page":"https://llmsizing.com/models/qwen3-coder-next/on/mac-studio-m5-ultra-512gb","calculator":"https://llmsizing.com/?m=qwen3-coder-next&hw=mac-studio-m5-ultra-512gb&q=q4_k_m&ctx=16384","model":"https://llmsizing.com/models/qwen3-coder-next","hardware":"https://llmsizing.com/hardware/mac-studio-m5-ultra-512gb","offers":[{"kind":"buy-hardware","label":"Check prices for Mac Studio M5 Ultra (512 GB) on Amazon","url":"https://www.amazon.com/s?k=Apple%20Mac%20Studio%20M5%20Ultra%20512GB","affiliate":false},{"kind":"rent-gpu","label":"Rent 1x A100 SXM (80 GB) on RunPod","url":"https://www.runpod.io/console/gpu-cloud","affiliate":false},{"kind":"api","label":"Qwen3 Coder Next 80B A3B (MoE) on OpenRouter","url":"https://openrouter.ai/qwen/qwen3-coder-next","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"}