ApX logoApX logo

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)SEA-LION-7B-Instruct (7.1B)Qwen3-14B (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

#33

Qwen 3.8 27B

27B

INT4

6 tok/s

~69.2s

#48

Agnes 3.0 Flash

33B

INT4

5 tok/s

~91.1s

#83

Qwen3.5-27B

27B

INT4

6 tok/s

~69.2s

#92

Sarvam-30B

32B (2.4B active)

INT4

38 tok/s

~10.2s

#96

Muse Glimmer 30B

30B

INT4

5 tok/s

~83.0s

#100

Phi-4 Reasoning Plus

14B

INT4
Q8

9 tok/s

5 tok/s

~33.5s

~39.5s

#101

MiMo V2 Flash

15B (309B active)

INT4

1 tok/s

~696.5s

#108

Gemma 4 26B A4B

25.2B (3.8B active)

INT4

31 tok/s

~12.4s

#109

Gemma 4 12B

11.95B

INT4
Q8

10 tok/s

6 tok/s

~28.7s

~31.2s

#113

Qwen3.5-9B

9B

INT4
Q8

18 tok/s

11 tok/s

~21.7s

~21.7s

#118

K2 Horizon 7B

7B

INT4
Q8
FP16

23 tok/s

13 tok/s

7 tok/s

~16.9s

~17.0s

~18.5s

#128

NVIDIA Nemotron 3 Nano 30B-A3B

3.5B (30B active)

INT4
Q8
FP16

6 tok/s

3 tok/s

2 tok/s

~68.3s

~68.4s

~68.7s

#129

Gemma 4 31B

30.7B

INT4

5 tok/s

~84.9s

#132

Qwen3.5-4B

4B

INT4
Q8
FP16

37 tok/s

22 tok/s

12 tok/s

~9.9s

~9.9s

~10.0s

#133

Qwen3-30B-A3B

30B (3B active)

INT4

34 tok/s

~11.7s

#136

GPT-OSS 20B

21B (3.6B active)

INT4

13 tok/s

~11.6s

#146

Granite 4.2 8B

8B

INT4
Q8
FP16

20 tok/s

12 tok/s

6 tok/s

~19.3s

~19.3s

~21.1s

#150

Gemma 4 E4B

8B

INT4
Q8
FP16

20 tok/s

12 tok/s

6 tok/s

~19.3s

~19.3s

~21.1s

#151

Nemotron 3.5 Lightning 30B A3B

30B (3B active)

INT4

34 tok/s

~11.7s

#153

Qwen3-32B

32B

INT4

5 tok/s

~88.4s

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