Can I run Qwen3 14B on the Apple M4 Pro?

Runs wellQ4_K_M fits in unified memory (10.9 of 16.8 GB usable by the GPU): Runs well, est. 15.8 tok/s (12.7–19.0, calibrated estimate ±20%). Q2_K (heavy quality loss) would reach Runs great, est. 23.1 tok/s (18.5–27.7, calibrated estimate ±20%).

Unified memory — by default the GPU can use about 70% of itOpen license · Apache-2.0Community GGUF · unsloth

24 GB unified memory · 273.0 GB/s · FP16 17.0 TFLOPS. Assumes 8k context and an f16 KV cache. Verdicts are shown for each memory size.

Verdict by memory size

The page uses the 24 GB configuration; here is every size.

  • 24 GBRuns wellest. 15.8 tok/s (12.7–19.0, calibrated estimate ±20%)
  • 48 GBRuns wellest. 15.8 tok/s (12.7–19.0, calibrated estimate ±20%)
  • 64 GBRuns wellest. 15.8 tok/s (12.7–19.0, calibrated estimate ±20%)

Every quant of Qwen3 14B on the Apple M4 Pro

4 tracked GGUF files, smallest first, at 8k context
QuantFile sizeVerdictSpeedMemoryRuns asNotes
Q2_K5.75 GBRuns great
est. 23.1 tok/s18.5–27.7calibrated estimate ±20%
7.7 / 16.8 GBUnified memory—
IQ4_XS8.14 GBRuns well
est. 17.3 tok/s13.8–20.7calibrated estimate ±20%
10.1 / 16.8 GBUnified memory—
Q4_K_Mbaseline9.00 GBRuns well
est. 15.8 tok/s12.7–19.0calibrated estimate ±20%
10.9 / 16.8 GBUnified memory—
Q8_015.70 GBRuns slowly
est. 5.6 tok/s3.9–7.3theoretical estimate ±30%
17.0 GB RAMCPU only—

Where the memory goes at Q4_K_M

Weights, KV cache and compute buffer are the model; the OS reservation is the display driver.
Unified memory
Weights
9.0 GB
KV cache
1.3 GB
Compute buffer
0.6 GB
Free
5.9 GB
Not usable by the GPU
7.2 GB

Context length vs. KV cache

KV cache

Memory needed and verdict at Q4_K_M for each context length and KV cache type, with estimated tokens per second.
ContextKV f16KV q8_0KV q4_0
4k
10.2 GBRuns well
est. 16.9 tok/s13.5–20.3calibrated estimate ±20%
9.9 GBRuns well
est. 17.5 tok/s14.0–21.0calibrated estimate ±20%
9.7 GBRuns well
est. 17.8 tok/s14.3–21.4calibrated estimate ±20%
8k
10.9 GBRuns well
est. 15.8 tok/s12.7–19.0calibrated estimate ±20%
10.3 GBRuns well
est. 16.9 tok/s13.5–20.2calibrated estimate ±20%
10.0 GBRuns well
est. 17.5 tok/s14.0–20.9calibrated estimate ±20%
16k
12.3 GBRuns well
est. 14.0 tok/s11.2–16.8calibrated estimate ±20%
11.1 GBRuns well
est. 15.7 tok/s12.6–18.8calibrated estimate ±20%
10.4 GBRuns well
est. 16.8 tok/s13.4–20.1calibrated estimate ±20%
32k
15.2 GBRuns well
est. 11.4 tok/s9.1–13.7calibrated estimate ±20%
12.7 GBRuns well
est. 13.8 tok/s11.0–16.6calibrated estimate ±20%
11.3 GBRuns well
est. 15.6 tok/s12.4–18.7calibrated estimate ±20%

S = Runs great · A = Runs well · B = Runs slowly · F = Won't run

At Q4_K_M the verdict stays Runs well up to 32k context with an f16 KV cache, and up to 32k with q8_0.

Estimated speed

Generation
est. 15.8 tok/s (12.7–19.0, calibrated estimate ±20%)
Prompt processing
about 765 tok/s (459–1,071, rough estimate ±40%)

Measured on this exact combination

No public measurement for this exact combination yet; the numbers above are estimates.

If this is not enough

How to run it

Commands for the Q4_K_M file. Both tools download from Hugging Face on first run.

File: Qwen3-14B-Q4_K_M.gguf (9.00 GB) from unsloth/Qwen3-14B-GGUF.

llama.cpp
llama-server -hf unsloth/Qwen3-14B-GGUF:Q4_K_M -c 8192 -ngl all -fa on
  • -ngl all loads every layer on the GPU.
  • -fa on enables flash attention (needed for KV cache quantization).
  • --cache-type-k q8_0 --cache-type-v q8_0 shrinks the KV cache to 0.72 GB at 8k context.
Ollama

Terminal:

OLLAMA_CONTEXT_LENGTH=8192 ollama serve
ollama run hf.co/unsloth/Qwen3-14B-GGUF:Q4_K_M
  • Ollama defaults to 4k context on GPUs under 24 GB. Set OLLAMA_CONTEXT_LENGTH when starting the server, or /set parameter num_ctx inside the chat.
  • /set parameter num_ctx 8192

Related pages

Frequently asked questions

Can I run Qwen3 14B on the Apple M4 Pro?

Q4_K_M fits in unified memory (10.9 of 16.8 GB usable by the GPU): Runs well, est. 15.8 tok/s (12.7–19.0, calibrated estimate ±20%). Q2_K (heavy quality loss) would reach Runs great, est. 23.1 tok/s (18.5–27.7, calibrated estimate ±20%). Q4_K_M needs 10.9 GB at 8k context; the GPU can use 16.8 GB of the unified memory.

How much context can Qwen3 14B use on the Apple M4 Pro?

At Q4_K_M the verdict stays Runs well up to 32k context with an f16 KV cache (5.4 GB of KV) and up to 32k with a q8_0 KV cache (2.9 GB). The model supports up to 32k.

Which quant should I use, and how fast is it?

Q4_K_M (9.00 GB) is the recommended balance: Runs well, est. 15.8 tok/s (12.7–19.0, calibrated estimate ±20%). It is also the largest tracked file that gets this verdict.

Speeds are estimates from memory bandwidth, calibrated against public benchmarks, and each one comes with an error band and a confidence label. Real results vary with drivers, backend, context length and thermals.