{"answer":"Over GPU memory limit: GLM-4 32B 0414 at Q4_K_M with a 16384-token context needs 20.85 GB; MacBook Air M2 (24 GB) has 18 GB usable.","model":{"slug":"glm-4-32b-0414","name":"GLM-4 32B 0414","provider":"Z.ai","paramsBillions":32.6,"activeParamsBillions":null,"maxContext":32768,"huggingFaceId":"zai-org/GLM-4-32B-0414"},"hardware":{"slug":"macbook-air-m2-24gb","name":"MacBook Air M2 (24 GB)","gpuCount":1,"mixed":false,"isUnifiedMemory":true,"memoryGb":24,"memoryBandwidthGbps":100},"settings":{"runtime":"ollama","quantization":"q4_k_m","quantizationLabel":"Q4_K_M","contextLength":16384,"kvCacheQuant8":false,"dailyTokens":500000},"fit":{"status":"offload","runs":false,"label":"Over GPU memory limit","detail":"2.9 GB above macOS's default GPU memory limit. It only loads after raising iogpu.wired_limit_mb, and the system swaps under load.","minGpusNeeded":null,"bestQuantizationThatFits":null,"maxContextThatFits":null},"memoryGb":{"weights":18.33,"kvCache":0.95,"overhead":1.57,"total":20.85,"usable":18,"headroom":-2.85,"utilizationPct":115.8,"weightsSource":"estimate from parameter count","weightsRef":null,"weightsReadFromDisk":0,"kvCacheConfidence":"exact","kvCacheNote":null},"speedTokensPerSecond":{"low":1.3,"expected":2.2,"high":3.1,"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":"cloud","local":{"per1MTokens":1.73,"per1MTokensPowerOnly":0.19,"hardware":830,"capacityTokensPerDay":584861,"capacityExceeded":false},"cloudGpu":{"per1MTokens":0.54,"provider":"Vast.ai","gpu":"1x RTX 3090 (24 GB)","perHour":0.18,"priceSource":"provider API","priceAsOf":"2026-11-30","capacityExceeded":false},"api":null,"localBeatsApiAboveTokensPerDay":null},"intelligenceIndex":null,"links":{"page":"https://llmsizing.com/models/glm-4-32b-0414/on/macbook-air-m2-24gb","calculator":"https://llmsizing.com/?m=glm-4-32b-0414&hw=macbook-air-m2-24gb&q=q4_k_m&ctx=16384","model":"https://llmsizing.com/models/glm-4-32b-0414","hardware":"https://llmsizing.com/hardware/macbook-air-m2-24gb","offers":[{"kind":"buy-hardware","label":"Check prices for MacBook Air M2 (24 GB) on Amazon","url":"https://www.amazon.com/s?k=MacBook%20Air%20M2%2024GB","affiliate":false},{"kind":"rent-gpu","label":"Rent 1x RTX 3090 (24 GB) on Vast.ai","url":"https://cloud.vast.ai/create/","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"}