Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Apple - Mac - verified

Local LLMs that run on Mac Studio M5 Ultra (up to 512 GB)

By this directory's rule of thumb, 55 of 63 open-weight models fit in the 512 GB of unified memory on the Mac Studio (M5 Ultra) in its largest configuration. The largest by total parameters is Hy4 preview (780B), whose smallest listed download is 433.4 GB, the 4bit MLX build from mlx-community/Hy4-preview-4bit.

Models that fit
55 of 63
Memory
Up to 512 GB
Memory type
Unified memory
Bandwidth
1,200 GB/s

Spec sheet

Memory
Up to 512 GB
Configurations
96, 256 or 512 GB
Memory type
Unified memory
Unified memory
Yes, shared by CPU and GPU
Bandwidth
1,200 GB/s
Released
2026

Apple states bandwidth as 1.2TB/s (converted to 1200GB/s), and 512GB requires the M5 Ultra with 36-core CPU and 80-core GPU.

Source: Apple spec page (apple.com)

55 models that fit in 512 GB

Total params, largest first
55 open-weight models that fit in the 512 GB Mac Studio (M5 Ultra), by total parameters, largest first
ModelTotal paramsSmallest downloadQuantCommercial
Hy4 previewTencent780B49B active433.4 GB4bitMLXCommercial use: Yes
GLM-5Z.ai753.9B40B active418.6 GB4bitMLXCommercial use: Yes
GLM-5.2Z.ai753.3B418.3 GB4bitMLXCommercial use: Yes
GLM-5.3Z.ai753.3B418.3 GB4bitMLXCommercial use: Conditions
Mistral Large 3 675B Instruct 2512Mistral AI675B41B active407.0 GBQ4_K_MGGUFCommercial use: Yes
MiniMax-M3MiniMax427B23B active241.5 GB4bitMLXCommercial use: Conditions
Llama 4 Maverick 17B-128E InstructMeta401.6B17B active242.8 GBQ4_K_MGGUFCommercial use: Conditions
GLM-4.7Z.ai358.3B198.6 GB4bitMLXCommercial use: Yes
GLM-4.6Z.ai356.8B198.6 GB4bitMLXCommercial use: Yes
GLM-5.3-FlashZ.ai321.3B18B active199.7 GBUD-Q4_K_XLGGUFCommercial use: Yes
MiMo-V2.6-Flash-RLXiaomi MiMo310.8B15B active167.4 GBMXFP4GGUFCommercial use: Yes
Hy3Tencent298.8B21B active182.3 GBQ4_K_MGGUFCommercial use: Yes
Step 3.7 FlashStepFun201.4B11B active111.5 GBQ4_K_SGGUFCommercial use: Yes
Mistral Medium 3.5 128BMistral AI127.7B74.9 GBQ4_K_MGGUFCommercial use: Conditions
Devstral 2 123B Instruct 2512Mistral AI125B70.3 GB4bitMLXCommercial use: Conditions
NVIDIA Nemotron 3.5 Super VL 120B-A12BNVIDIA124.5B12B active71.8 GBQ4_0GGUFCommercial use: Yes
Mistral Small 4 119B (2603)Mistral AI119.4B6.5B active67.8 GB4bitMLXCommercial use: Yes
gpt-oss-120bOpenAI116.8B5.1B active62.3 GBMXFP4-Q4MLXCommercial use: Yes
Cohere Command A (03-2025)Cohere111.1B62.5 GB4bitMLXCommercial use: No
GLM-4.5-AirZ.ai110.5B12B active60.1 GB4bitMLXCommercial use: Yes
Llama 4 Scout 17B-16E InstructMeta108.6B17B active61.1 GB4bitMLXCommercial use: Conditions
GLM-4.6VZ.ai107.7B61.9 GB4bitMLXCommercial use: Yes
Qwen3-Coder-NextAlibaba Cloud (Qwen)79.7B3B active44.8 GB4bitMLXCommercial use: Yes
NVIDIA Nemotron 3.5 Bolt 74B-A9BNVIDIA74.9B9B active22.0 GB24GB (native 2-bit)GGUFCommercial use: Yes
AI21 Jamba2 MiniAI21 Labs51.6B12B active31.2 GBQ4_K_MGGUFCommercial use: Yes
Qwen3.6-35B-A3BAlibaba Cloud (Qwen)36B3B active20.4 GB4bitMLXCommercial use: Yes
Cohere Aya Expanse 32BCohere32.3B19.8 GBQ4_K_MGGUFCommercial use: No
Ai2 Olmo 3.1 32B ThinkAi232.2B18.1 GB4bitMLXCommercial use: Yes
NVIDIA Nemotron 3.5 Lightning 30B-A3BNVIDIA31.6B3B active17.8 GB4bitMLXCommercial use: Yes
Gemma 4 31BGoogle31.3B17.7 GBQ4_0 (QAT)GGUFCommercial use: Yes
IBM Granite 4.2 30BIBM29.3B16.5 GB4bitMLXCommercial use: Yes
Qwen3.8-27BAlibaba Cloud (Qwen)27.8B16.1 GB4bitMLXCommercial use: Yes
Gemma 4 26B A4BGoogle25.8B3.8B active14.4 GBQ4_0 (QAT)GGUFCommercial use: Yes
Devstral Small 2 24B Instruct 2512Mistral AI24B14.3 GBQ4_K_MGGUFCommercial use: Yes
Liquid AI LFM2.5-24B-A2BLiquid AI24B2.5B active13.6 GB4bitMLXCommercial use: Conditions
gpt-oss-20bOpenAI20.9B3.6B active11.2 GBMXFP4-Q4MLXCommercial use: Yes
Phi-4-reasoning-vision-15BMicrosoft15.1B30.2 GBBF16Official weightsCommercial use: Yes
Phi-4Microsoft14.7B8.2 GB4bitMLXCommercial use: Yes
Phi-4-reasoning-plusMicrosoft14.7B9.1 GBQ4_K_MGGUFCommercial use: Yes
Ministral 3 14B Instruct 2512Mistral AI13.9B8.2 GBQ4_K_MGGUFCommercial use: Yes
Gemma 4 12BGoogle12B6.7 GB4bitMLXCommercial use: Yes
Qwen3.5-9BAlibaba Cloud (Qwen)9.7B5.7 GBQ4_K_MGGUFCommercial use: Yes
Ministral 3 8B Instruct 2512Mistral AI8.9B5.2 GBQ4_K_MGGUFCommercial use: Yes
IBM Granite 4.2 8BIBM8.8B4.9 GB4bitMLXCommercial use: Yes
Cohere Command R7B (12-2024)Cohere8B4.5 GB4bitMLXCommercial use: No
Gemma 4 E4BGoogle8B5.0 GBQ4_K_MGGUFCommercial use: Yes
Ai2 Olmo Hybrid Instruct DPO 7BAi27.4B14.9 GBBF16Official weightsCommercial use: Yes
Gemma 4 E2BGoogle5.1B3.1 GBQ4_K_MGGUFCommercial use: Yes
Qwen3.5-4BAlibaba Cloud (Qwen)4.7B2.7 GBQ4_K_MGGUFCommercial use: Yes
Ministral 3 3B Instruct 2512Mistral AI3.8B2.1 GBQ4_K_MGGUFCommercial use: Yes
Phi-4-mini-instructMicrosoft3.8B2.2 GB4bitMLXCommercial use: Yes
Phi-4-mini-reasoningMicrosoft3.8B2.2 GB4bitMLXCommercial use: Yes
Liquid AI LFM2.5-2.6BLiquid AI2.7B1.6 GB4bitMLXCommercial use: Conditions
Qwen3.5-2BAlibaba Cloud (Qwen)2.3B1.3 GBQ4_K_MGGUFCommercial use: Yes
Qwen3.5-0.8BAlibaba Cloud (Qwen)0.9B0.5 GBQ4_K_MGGUFCommercial use: Yes

The rest of the 63 need more than 512 GB. Browse every local model.

By memory configuration

Apple sells the Mac Studio (M5 Ultra) with 96, 256 or 512 GB. The same rule applied to each configuration, and the models each step up adds.

Mac Studio (M5 Ultra): models that fit in each memory configuration
ConfigurationModels that fitLargest that fitsNew at this size
96 GB42 / 63Mistral Medium 3.5 128BBase configuration: 42 models
256 GB48 / 63GLM-4.7GLM-4.7, GLM-4.6, GLM-5.3-Flash, MiMo-V2.6-Flash-RL, Hy3, Step 3.7 Flash
512 GB55 / 63Hy4 previewHy4 preview, GLM-5, GLM-5.2, GLM-5.3, Mistral Large 3 675B Instruct 2512, MiniMax-M3, Llama 4 Maverick 17B-128E Instruct

Compare all 33 GPUs and Macs by memory, bandwidth and how many models fit.

FAQ

How many local LLMs can the Mac Studio (M5 Ultra) run?

55 of the 63 open-weight models in this directory fit in its largest configuration, 512 GB, by this site's rule of thumb that the smallest listed download is at most 85% of the memory. By configuration: 42 at 96 GB, 48 at 256 GB and 55 at 512 GB.

Can the Mac Studio (M5 Ultra) run Llama 4 Maverick 17B-128E Instruct?

Yes, by this directory's rule of thumb: its smallest listed download, 242.8 GB, is at most 85% of 512 GB (435.2 GB), the Q4_K_M GGUF build from unsloth/Llama-4-Maverick-17B-128E-Instruct-GGUF. That leaves room for the context and the operating system. It is a memory check, not a speed estimate.

Can the Mac Studio (M5 Ultra) run NVIDIA Nemotron 3.5 Super VL 120B-A12B?

Yes, by this directory's rule of thumb: its smallest listed download, 71.8 GB, is at most 85% of 512 GB (435.2 GB), the Q4_0 GGUF build from ggml-org/NVIDIA-Nemotron-3.5-Super-VL-120B-A12B-GGUF. That leaves room for the context and the operating system. It is a memory check, not a speed estimate.

Can the Mac Studio (M5 Ultra) run GLM-5.1?

Not by this directory's rule of thumb: its smallest listed download, 464.5 GB, is more than 85% of 512 GB (435.2 GB). It needs more memory than any single device in this list.

Is the Mac Studio (M5 Ultra)'s memory shared with the operating system?

Yes. Apple lists unified memory shared by the CPU and GPU, so the operating system and your apps use the same pool as the model. The 15% headroom in this directory's rule is there for that and for the context.

What memory bandwidth does the Mac Studio (M5 Ultra) have?

Apple states 1,200 GB/s of memory bandwidth (Unified memory). From the spec notes: Apple states bandwidth as 1.2TB/s (converted to 1200GB/s), and 512GB requires the M5 Ultra with 36-core CPU and 80-core GPU. This page does not turn bandwidth into a speed estimate.

Newsletter

New open weights, every week

One email per week. New model releases, open-weight drops and what they mean for what you build.