RunsOnMy ModelsGPUs & MacsBy VRAMAPI pricesVRAM calculatorNew

Can ERNIE 4.5 21B A3B Thinking run on the Mac M2 24GB?

Yes. At 8K context the best fit is Q4_K_M, using about 13.5 GB of the 16.1 GB usable on the Mac M2 24GB. Estimated speed ceiling: ~8 tokens/sec.

Memory by quant and context

Quant4K ctx8K ctx32K ctx128K ctxMax tok/s (est., 8K)
2-bit (Q2_K) •8.4 GB Fits8.6 GB Fits9.9 GB Fits15.2 GB Tight12
3-bit (Q3_K_M) •10.6 GB Fits10.8 GB Fits12.1 GB Fits17.4 GB No10
4-bit (Q4_K_M) •13.2 GB Fits13.5 GB Fits14.8 GB Tight20.0 GB No8
5-bit (Q5_K_M) •15.3 GB Tight15.5 GB Tight16.9 GB No22.1 GB No6
6-bit (Q6_K) •17.6 GB No17.8 GB No19.1 GB No24.3 GB No—
8-bit (Q8_0) •22.4 GB No22.6 GB No24.0 GB No29.2 GB No—
16-bit (F16/BF16) •41.5 GB No41.7 GB No43.0 GB No48.3 GB No—

• real GGUF file size from unsloth/ERNIE-4.5-21B-A3B-Thinking-GGUF. Speed is a bandwidth ceiling (100 GB/s), not a benchmark. Methodology.

More

ERNIE 4.5 21B A3B Thinking on every GPU and Mac · Every model that runs on the Mac M2 24GB · Apple Silicon guide · Try other settings in the calculator

Data: Hugging Face Hub (baidu/ERNIE-4.5-21B-A3B-Thinking), Apple specs. Data as of 2026-11-17.