ApX logoApX logo
CalculatorCoursesPricing

Apple M4 (24GB)

The Apple M4 (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 120 GB/s unified memory bandwidth.

Memory

24 GB

Usable Memory Ceiling

18 GB (75% usable budget)

Bandwidth

120 GB/s

Max Inference Class

14B Models (Q4)

TDP

45W

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 M4 (24GB)

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

Sort by:

Context:

KV Cache:

RankModelParametersPrecisionTPS (Approx.)TTFTCan Run

#55

Qwen 3.8 27B

27B

INT4

7 tok/s

~55.3s

#58

Inkling 2 Small

17B (2B active)

INT4
Q8

65 tok/s

-

~5.4s

-

#99

Qwen3.5-27B

27B

INT4

7 tok/s

~55.3s

#104

Sarvam-30B

32B (2.4B active)

INT4

-

-

#112

Ling 3.2 Air

14B (5.5B active)

INT4
Q8

34 tok/s

19 tok/s

~11.5s

~12.5s

#116

Phi-4 Reasoning Plus

14B

INT4
Q8

10 tok/s

-

~26.8s

-

#118

Muse Glimmer 30B

30B

INT4

6 tok/s

~66.4s

#130

Gemma 4 26B A4B

25.2B (3.8B active)

INT4

38 tok/s

~9.9s

#132

Qwen3.5-9B

9B

INT4
Q8

21 tok/s

12 tok/s

~17.3s

~17.4s

#142

Devstral Small 2 24B Instruct

24B

INT4

8 tok/s

~49.3s

#144

Gemma 4 12B

11.95B

INT4
Q8

11 tok/s

7 tok/s

~22.9s

~27.0s

#147

Qwen3.5-4B

4B

INT4
Q8
FP16

45 tok/s

26 tok/s

14 tok/s

~7.9s

~8.0s

~8.0s

#155

GPT-OSS 20B

21B (3.6B active)

INT4

15 tok/s

~10.0s

#156

K2 Horizon 7B

7B

INT4
Q8
FP16

27 tok/s

15 tok/s

7 tok/s

~13.6s

~13.6s

~14.8s

#160

Qwen3-30B-A3B

30B (3B active)

INT4

41 tok/s

~9.3s

#166

Granite 4.2 8B

8B

INT4
Q8
FP16

24 tok/s

13 tok/s

6 tok/s

~15.4s

~15.5s

~18.3s

#169

Gemma 4 E4B

8B

INT4
Q8
FP16

24 tok/s

13 tok/s

6 tok/s

~15.4s

~15.5s

~18.3s

#175

Gemma 4 31B

30.7B

INT4

-

-

#177

Gemma 3 27B

27B

INT4

7 tok/s

~55.3s

#178

Phi-4

14B

INT4
Q8

14 tok/s

7 tok/s

~26.8s

~29.2s

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 M4 (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 120 GB/s aggregate bandwidth, batch size 1 inference operates in a memory-bandwidth bound regime. Generates approximately 27 tok/s on an 8B Q4 model and 3 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