{"answer":"Too large: GLM-4.7 (355B MoE) at Q4_K_M with a 16384-token context needs 212.59 GB; MacBook Pro M4 Max (128 GB) has 98 GB usable.","model":{"slug":"glm-4-7","name":"GLM-4.7 (355B MoE)","provider":"Z.ai","paramsBillions":358.3,"activeParamsBillions":32,"maxContext":202752,"huggingFaceId":"zai-org/GLM-4.7"},"hardware":{"slug":"macbook-pro-m4-max-128gb","name":"MacBook Pro M4 Max (128 GB)","gpuCount":1,"mixed":false,"isUnifiedMemory":true,"memoryGb":128,"memoryBandwidthGbps":546},"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 213 GB; this Mac has 128 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":201.59,"kvCache":5.75,"overhead":5.25,"total":212.59,"usable":98,"headroom":-114.59,"utilizationPct":216.9,"weightsSource":"estimate from parameter count","weightsRef":null,"weightsReadFromDisk":0,"kvCacheConfidence":"exact","kvCacheNote":null},"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":null,"serveCommand":null,"note":"Not in the Ollama library.","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":3990,"capacityTokensPerDay":0,"capacityExceeded":false},"cloudGpu":{"per1MTokens":45.66,"provider":"RunPod","gpu":"4x H100 SXM (320 GB)","perHour":17.56,"priceSource":"provider API","priceAsOf":"2026-11-30","capacityExceeded":false},"api":{"per1MTokens":0.74,"provider":"OpenRouter","id":"z-ai/glm-4.7","inputPer1M":0.4,"outputPer1M":1.75,"freeTierAvailable":false},"localBeatsApiAboveTokensPerDay":null},"intelligenceIndex":null,"links":{"page":"https://llmsizing.com/models/glm-4-7/on/macbook-pro-m4-max-128gb","calculator":"https://llmsizing.com/?m=glm-4-7&hw=macbook-pro-m4-max-128gb&q=q4_k_m&ctx=16384","model":"https://llmsizing.com/models/glm-4-7","hardware":"https://llmsizing.com/hardware/macbook-pro-m4-max-128gb","offers":[{"kind":"buy-hardware","label":"Check prices for MacBook Pro M4 Max (128 GB) on Amazon","url":"https://www.amazon.com/s?k=MacBook%20Pro%20M4%20Max%20128GB","affiliate":false},{"kind":"rent-gpu","label":"Rent 4x H100 SXM (320 GB) on RunPod","url":"https://www.runpod.io/console/gpu-cloud","affiliate":false},{"kind":"api","label":"GLM-4.7 (355B MoE) on OpenRouter","url":"https://openrouter.ai/z-ai/glm-4.7","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"}