← CanIRunLocal · All hardware

What local LLMs run on Mac Studio M5 Max (40c GPU) 48GB?

With 48 GB unified memory (about 36.0 GB usable by the GPU), these are the best open models that fit. The top pick is Qwen3 30B-A3B (MoE) at Q8_0 (~34.4 GB, ~69 tok/s): ollama run qwen3:30b-a3b-q8_0.

Best for coding: Qwen3-Coder 30B-A3B (MoE) (qwen3-coder:30b-a3b-q8_0), Qwen3 30B-A3B (MoE) (qwen3:30b-a3b-q8_0), gpt-oss 20B (MoE, MXFP4) (gpt-oss:20b).

Runtimes available for this hardware: Ollama, LM Studio, llama.cpp, MLX.

Open the interactive checker for Mac Studio M5 Max (40c GPU) 48GB
#ModelQuantMemory neededFitSpeedCommand
1Qwen3 30B-A3B (MoE)Q8_034.4 GBfits in fast memory~69 tok/sollama run qwen3:30b-a3b-q8_0
2Qwen3-Coder 30B-A3B (MoE)Q8_033.4 GBfits in fast memory~71 tok/sollama run qwen3-coder:30b-a3b-q8_0
3gpt-oss 20B (MoE, MXFP4)MXFP415.1 GBfits in fast memory~102 tok/sollama run gpt-oss:20b
4Qwen3 32BQ4_K_M22.2 GBfits in fast memory~25 tok/sollama run qwen3:32b
5DeepSeek R1 Distill Qwen 32BQ4_K_M22.2 GBfits in fast memory~25 tok/sollama run deepseek-r1:32b
6Gemma 3 27BQ8_032 GBfits in fast memory~16 tok/sollama run gemma3:27b-it-q8_0
7Clef 27B (Cloudflare, decision)Q8_031.9 GBfits in fast memory~16 tok/sollama run clef:27b-q8_0
8Qwen3.8 27BQ8_031.9 GBfits in fast memory~16 tok/sollama run qwen3.8:27b-q8_0
9Mistral Small 24BQ8_026.8 GBfits in fast memory~20 tok/sollama run mistral-small:24b-instruct-2501-q8_0
10Mixtral 8x7B (MoE)Q5_K_M34.8 GBfits in fast memory~27 tok/sollama run mixtral:8x7b-instruct-v0.1-q5_K_M
11Qwen3 14BQ8_017.3 GBfits in fast memory~31 tok/sollama run qwen3:14b-q8_0
12DeepSeek R1 Distill Qwen 14BQ8_017.3 GBfits in fast memory~31 tok/sollama run deepseek-r1:14b-qwen-distill-q8_0

Estimates, not benchmarks. Model sizes are ollama.com download sizes; memory needed adds headroom for ~8k tokens of context; speeds are rough figures from memory bandwidth. Data updated 2026-10-14.

A project by OnDevice Labs · llms.txt