Skip to content
Llama Builds

Apple · Apple M5 Ultra · 2026

Apple Mac Studio M5 Ultra 512GB for local AI

The largest memory pool in a single desktop, with about 1.2TB/s of bandwidth to feed it.

Updated · Speeds marked ~ are estimates; seemethodology

Unified memory
512GB
Bandwidth
1,228 GB/s
Power
480W
Runs well
15 models

Can the M5 Ultra 512GB run LLMs?

The M5 Ultra 512GB has 512GB of unified memory (about 384GB usable by the GPU by default) and 1,228 GB/s of memory bandwidth, which decides how big a model fits and how fast it generates text. It comfortably runs models up to about 320B parameters: the largest in our catalog is GLM-5.3-Flash at Q6_K (273GB with 8K context, ~25 tokens/sec).

Recommendations

Best models for the M5 Ultra 512GB

  1. Best overall · also coding, reasoning, vision

    GLM-5.3-Flash

    Q6_K · 273GB · ~25 tokens/sec

    Runs well
  2. Runner-up

    DeepSeek V4 Flash

    FP4 · 168GB · ~45 tokens/sec

    Runs well
  3. Fastest good model

    gpt-oss-20b

    MXFP4 · 15GB · ~105 tokens/sec

    Runs well
  4. Largest model that fits

    GLM-5.3

    Q3_K_M · 375GB · ~19 tokens/sec

    Fits, tight
Read: the best LLMs to run on the M5 Ultra 512GB

Compatibility

What runs on the M5 Ultra 512GB

Every current model in our catalog, at the best quantization that fits in the ~384GB the GPU can use with 8K tokens of context. "Partial offload" means part of the model runs from system RAM (we assume 64GB), which is much slower.

Which open-weight models run on the Apple Mac Studio M5 Ultra 512GB, with the best quantization and estimated speed
ModelParametersBest quantMemorySpeedVerdict
Gemma 4 E4B8BQ8_010 GB~64 tok/sRuns well
Qwen3.5 9B9BQ8_012 GB~57 tok/sRuns well
Phi-414.7BQ8_018 GB~41 tok/sRuns well
gpt-oss-20b20.9B (3.6B active)MXFP415 GB~105 tok/sRuns well
Gemma 4 26B A4B26B (3.8B active)Q8_030 GB~73 tok/sRuns well
Qwen3.8 27B27BQ8_032 GB~22 tok/sRuns well
Gemma 4 31B31BQ8_036 GB~20 tok/sRuns well
Qwen3.6 35B-A3B35B (3B active)Q8_041 GB~83 tok/sRuns well
GLM-4.5-Air106B (12B active)Q8_0118 GB~28 tok/sRuns well
Llama 4 Scout109B (17B active)Q8_0120 GB~21 tok/sRuns well
gpt-oss-120b117B (5.1B active)MXFP468 GB~93 tok/sRuns well
Qwen3.5 122B-A10B122B (10B active)Q8_0134 GB~33 tok/sRuns well
DeepSeek V4 Flash284B (13B active)FP4168 GB~45 tok/sRuns well
GLM-5.3-Flash320B (18B active)Q6_K273 GB~25 tok/sRuns well
GLM-5.3744B (40B active)Q3_K_M375 GB~19 tok/sFits, tight

Performance

M5 Ultra 512GB vs. alternatives on Qwen3.8 27B

Generation speed in tokens per second for a single user. Token generation is limited mostly by memory bandwidth, which is why bandwidth predicts these results so well.

  1. RTX PRO 6000

    Q8_0 · 96GB

    ~46tok/s

  2. M5 Ultra 512GB

    Q8_0 · 512GB

    ~22tok/s

  3. M5 Ultra 256GB

    Q8_0 · 256GB

    ~22tok/s

  4. M3 Ultra 512GB

    Q8_0 · 512GB

    ~15tok/s

Estimated (method)

Our take

Should you buy the M5 Ultra 512GB for AI?

The top Mac Studio pairs the M5 Ultra's 80-core GPU with 512GB of unified memory and Apple's quoted 1.2TB/s of bandwidth, about 50 percent more than the M3 Ultra it replaces. That is enough to run DeepSeek-class models with hundreds of billions of parameters at 4 bit on one quiet machine, after raising the default GPU memory limit. Apple says each M5 GPU core adds a Neural Accelerator, which speeds up prompt processing, the weak spot of earlier Macs. The 512GB configuration ships in late October 2026, and Apple had not published its price as of mid-October.

What we like

  • 512GB of unified memory in one desktop
  • About 1.2TB/s of memory bandwidth
  • Quiet, efficient and simple to set up with MLX or llama.cpp
  • Neural Accelerators improve prompt processing over earlier Macs

Watch out for

  • Price not announced as of October 2026
  • No CUDA, so some tools and fine-tuning workflows do not run
  • Memory cannot be upgraded after purchase

Best for: Running the largest open MoE models locally · A quiet single-box alternative to multi-GPU servers

Specifications

M5 Ultra 512GB specs that matter for AI

Memory
512GB LPDDR5X (unified)
GPU-usable memory
~384GB by default
Memory bandwidth
1,228 GB/s
Architecture
Apple M5 Ultra
Power
480W (system)
Interface
Thunderbolt 5 (no PCIe slots)
Released
2026
Software
Metal, MLX

macOS lets the GPU use about 75 percent of memory by default (about 384GB), and the iogpu.wired_limit_mb setting can raise it. Apple quotes 1.2TB/s for M5 Ultra.

Sources: Apple Mac Studio (M5 Max or M5 Ultra) tech specs, MacRumors: Mac Studio with M5 Ultra and 512GB launching in October, Apple Mac Studio power consumption and thermal output, ModelPiper: raising the Metal memory ceiling with iogpu.wired_limit_mb

Cross-shop

Alternatives to the M5 Ultra 512GB

Frequently asked questions

How much VRAM does the M5 Ultra 512GB have?

The Apple Mac Studio M5 Ultra 512GB has 512GB of unified memory (about 384GB usable by the GPU by default) with 1,228 GB/s of memory bandwidth.

What is the largest LLM the M5 Ultra 512GB can run?

Fully in GPU memory, the largest model in our catalog that runs comfortably is GLM-5.3-Flash (320B (18B active)) at Q6_K, using about 273GB with 8K context at ~25 tokens/sec.

What is the best LLM to run on the M5 Ultra 512GB?

Our top pick is GLM-5.3-Flash at Q6_K, which fits in 512GB with room for 8K of context and runs at ~25 tokens/sec. See our full list of the best models for the M5 Ultra 512GB for coding, reasoning, and vision picks.

Is the M5 Ultra 512GB good for local AI in 2026?

The largest memory pool in a single desktop, with about 1.2TB/s of bandwidth to feed it.