{"answer":"Fits comfortably: Devstral 2 123B at Q4_K_M with a 16384-token context needs 79.14 GB; Mac Studio M4 Max (128 GB) has 98 GB usable.","model":{"slug":"devstral-2-123b","name":"Devstral 2 123B","provider":"Mistral","paramsBillions":123,"activeParamsBillions":null,"maxContext":262144,"huggingFaceId":"mistralai/Devstral-2-123B-Instruct-2512"},"hardware":{"slug":"mac-studio-m4-max-128gb","name":"Mac Studio 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":"fits","runs":true,"label":"Fits comfortably","detail":"18.9 GB headroom left for a longer context or other apps.","minGpusNeeded":null,"bestQuantizationThatFits":"q4_k_m","maxContextThatFits":65536},"memoryGb":{"weights":69.75,"kvCache":5.5,"overhead":3.89,"total":79.14,"usable":98,"headroom":18.86,"utilizationPct":80.8,"weightsSource":"published file size","weightsRef":"devstral-2:123b","weightsReadFromDisk":0,"kvCacheConfidence":"exact","kvCacheNote":null},"speedTokensPerSecond":{"low":5.6,"expected":6.6,"high":7.6,"confidence":"calibrated","note":"Scaled from 3 published llama.cpp measurements on this chip. One request at a time.","sources":["https://github.com/ggml-org/llama.cpp/discussions/4167"]},"run":{"runtime":"Ollama","command":"ollama run devstral-2:123b","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.27,"hardware":null,"capacityTokensPerDay":1754584,"capacityExceeded":false},"cloudGpu":{"per1MTokens":7.9,"provider":"Vast.ai","gpu":"1x RTX PRO 6000 (96 GB)","perHour":1.41,"priceSource":"provider API","priceAsOf":"2026-11-30","capacityExceeded":false},"api":{"per1MTokens":0.8,"provider":"OpenRouter","id":"mistralai/devstral-2512","inputPer1M":0.4,"outputPer1M":2,"freeTierAvailable":false},"localBeatsApiAboveTokensPerDay":null},"intelligenceIndex":null,"links":{"page":"https://llmsizing.com/models/devstral-2-123b/on/mac-studio-m4-max-128gb","calculator":"https://llmsizing.com/?m=devstral-2-123b&hw=mac-studio-m4-max-128gb&q=q4_k_m&ctx=16384","model":"https://llmsizing.com/models/devstral-2-123b","hardware":"https://llmsizing.com/hardware/mac-studio-m4-max-128gb","offers":[{"kind":"buy-hardware","label":"Check prices for Mac Studio M4 Max (128 GB) on Amazon","url":"https://www.amazon.com/s?k=Apple%20Mac%20Studio%20M4%20Max%20128GB","affiliate":false},{"kind":"rent-gpu","label":"Rent 1x RTX PRO 6000 (96 GB) on Vast.ai","url":"https://cloud.vast.ai/create/","affiliate":false},{"kind":"api","label":"Devstral 2 123B on OpenRouter","url":"https://openrouter.ai/mistralai/devstral-2512","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"}