{"answer":"Too large: DeepSeek R1 (671B MoE) at Q4_K_M with a 16384-token context needs 382.97 GB; MacBook Air M5 (32 GB) has 24 GB usable.","model":{"slug":"deepseek-r1-671b","name":"DeepSeek R1 (671B MoE)","provider":"DeepSeek","paramsBillions":671,"activeParamsBillions":37,"maxContext":131072,"huggingFaceId":"deepseek-ai/DeepSeek-R1-0528"},"hardware":{"slug":"macbook-air-m5-32gb","name":"MacBook Air M5 (32 GB)","gpuCount":1,"mixed":false,"isUnifiedMemory":true,"memoryGb":32,"memoryBandwidthGbps":153},"settings":{"runtime":"ollama","quantization":"q4_k_m","quantizationLabel":"Q4_K_M","contextLength":16384,"kvCacheQuant8":false,"dailyTokens":500000},"fit":{"status":"too-large","runs":false,"label":"Too large","detail":"Needs 383 GB; this Mac has 32.0 GB of unified memory in total. Pick a lower quantization, rent a cloud GPU or use the API.","minGpusNeeded":null,"bestQuantizationThatFits":null,"maxContextThatFits":null},"memoryGb":{"weights":376.65,"kvCache":1.07,"overhead":5.25,"total":382.97,"usable":24,"headroom":-358.97,"utilizationPct":1595.7,"weightsSource":"published file size","weightsRef":"deepseek-r1:671b","weightsReadFromDisk":0,"kvCacheConfidence":"approximate","kvCacheNote":"multi-head latent attention: assumes the runtime caches the compressed latents"},"speedTokensPerSecond":{"low":0,"expected":0,"high":0,"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 deepseek-r1:671b","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":null,"hardware":null,"capacityTokensPerDay":0,"capacityExceeded":false},"cloudGpu":{"per1MTokens":122.5,"provider":"Lambda","gpu":"8x A100 (640 GB)","perHour":25.52,"priceSource":"published list price","priceAsOf":"2026-11-29","capacityExceeded":false},"api":{"per1MTokens":0.92,"provider":"OpenRouter","id":"deepseek/deepseek-r1-0528","inputPer1M":0.5,"outputPer1M":2.18,"freeTierAvailable":false},"localBeatsApiAboveTokensPerDay":null},"intelligenceIndex":null,"links":{"page":"https://llmsizing.com/models/deepseek-r1-671b/on/macbook-air-m5-32gb","calculator":"https://llmsizing.com/?m=deepseek-r1-671b&hw=macbook-air-m5-32gb&q=q4_k_m&ctx=16384","model":"https://llmsizing.com/models/deepseek-r1-671b","hardware":"https://llmsizing.com/hardware/macbook-air-m5-32gb","offers":[{"kind":"buy-hardware","label":"Check prices for MacBook Air M5 (32 GB) on Amazon","url":"https://www.amazon.com/s?k=MacBook%20Air%20M5%2032GB","affiliate":false},{"kind":"rent-gpu","label":"Rent 8x A100 (640 GB) on Lambda","url":"https://lambda.ai/service/gpu-cloud","affiliate":false},{"kind":"api","label":"DeepSeek R1 (671B MoE) on OpenRouter","url":"https://openrouter.ai/deepseek/deepseek-r1-0528","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"}