ApX logoApX logo
CalculatorCoursesPricing

Apple M5 (24GB)

The Apple M5 (24GB) uses a unified memory architecture. For reliable local LLM inference without OS memory pressure, this benchmark models a 75% usable allocation (18 GB) with 153 GB/s unified memory bandwidth.

Memory

24 GB

Usable Memory Ceiling

18 GB (75% usable budget)

Bandwidth

153 GB/s

Max Inference Class

14B Models (Q4)

TDP

50W

VRAM Scaling by Context Length

Estimated memory requirements as context length increases. Curves crossing above the reference line indicate Out of Memory (OOM).

DeepSeek-R1 3B (3B)Mistral-7B-v0.1 (7.3B)Wan 2.2 T2V A14B (14B)Mixtral-8x7B-v0.1 (46.7B (7B active))

Precision:

Best Models to Run on Apple M5 (24GB)

Inference throughput, memory compatibility, and generation speeds for open-weights LLMs on Apple M5 (24GB).

Sort by:

Context:

KV Cache:

RankModelParametersPrecisionTPS (Approx.)TTFTCan Run

#55

Qwen 3.8 27B

27B

INT4

9 tok/s

~56.6s

#58

Inkling 2 Small

17B (2B active)

INT4
Q8

82 tok/s

-

~5.5s

-

#99

Qwen3.5-27B

27B

INT4

9 tok/s

~56.6s

#104

Sarvam-30B

32B (2.4B active)

INT4

-

-

#112

Ling 3.2 Air

14B (5.5B active)

INT4
Q8

43 tok/s

23 tok/s

~11.8s

~12.8s

#116

Phi-4 Reasoning Plus

14B

INT4
Q8

12 tok/s

-

~27.4s

-

#118

Muse Glimmer 30B

30B

INT4

8 tok/s

~68.0s

#130

Gemma 4 26B A4B

25.2B (3.8B active)

INT4

47 tok/s

~10.1s

#132

Qwen3.5-9B

9B

INT4
Q8

27 tok/s

15 tok/s

~17.7s

~17.8s

#142

Devstral Small 2 24B Instruct

24B

INT4

10 tok/s

~50.5s

#144

Gemma 4 12B

11.95B

INT4
Q8

14 tok/s

9 tok/s

~23.5s

~27.6s

#147

Qwen3.5-4B

4B

INT4
Q8
FP16

57 tok/s

33 tok/s

17 tok/s

~8.1s

~8.1s

~8.2s

#155

GPT-OSS 20B

21B (3.6B active)

INT4

19 tok/s

~10.3s

#156

K2 Horizon 7B

7B

INT4
Q8
FP16

34 tok/s

19 tok/s

10 tok/s

~13.9s

~13.9s

~15.2s

#160

Qwen3-30B-A3B

30B (3B active)

INT4

51 tok/s

~9.6s

#166

Granite 4.2 8B

8B

INT4
Q8
FP16

30 tok/s

17 tok/s

8 tok/s

~15.8s

~15.8s

~18.7s

#169

Gemma 4 E4B

8B

INT4
Q8
FP16

30 tok/s

17 tok/s

8 tok/s

~15.8s

~15.8s

~18.7s

#175

Gemma 4 31B

30.7B

INT4

-

-

#177

Gemma 3 27B

27B

INT4

9 tok/s

~56.6s

#178

Phi-4

14B

INT4
Q8

18 tok/s

9 tok/s

~27.4s

~29.8s

Inference Capacity

Maximum model parameter class runnable by weight precision.

Context:

4-bit

Q4

14B Models

8-bit

Q8

8B Models

16-bit

FP16

3B Models

Fine-Tuning Capacity

Hardware capacity for local training and adapter fine-tuning.

Context Length:

QLoRA

4-bit

14B Models

LoRA

16-bit

8B Models

Full Parameter Training

1B Models

Workload Recommendations

Guidance for optimal precision and operational ceilings on Apple M5 (24GB).

Inference Sweet Spot

Optimal for 8B models across extended context (32k+). 14B models fit comfortably at Q4 precision with standard context.

Bandwidth & Speed Profile

With 153 GB/s aggregate bandwidth, batch size 1 inference operates in a memory-bandwidth bound regime. Generates approximately 34 tok/s on an 8B Q4 model and 4 tok/s on a 70B Q4 model.

Unified Memory Budget

Modeled with a 75% usable allocation budget to preserve system RAM for macOS and display compositor processes.

Frequently Asked Questions