Run Phi-4 14B on M6

The LLMCheck index estimates Phi-4 14B at ~16 tok/s on an M6 at Q4_K_M, a figure from its published bandwidth model, not a measured run. It needs about 10 GB of unified memory. It is Microsoft's 14B dense model, released under the MIT licence.

Speed
estimated~16
tok/s
First Token
—
seconds
RAM Needed
10
GB minimum
Engine
MLX
of this figure
Want to run Phi-4 14B faster — or step up to bigger models? Find your Mac →

The figure

This is an LLMCheck index estimate from its published two-term bandwidth model, not a measured run; the index labels it so everywhere it appears. The bandwidth formula’s typical error for dense models is ±9%, against 75 measured runs of 20 models (how it is computed). Own this Mac? Submit a real run →

MetricValue
Tokens per secondestimated~16 tok/s
Provenanceestimate · how estimates are made
QuantizationQ4_K_M
EngineMLX
Figure dated2026-08
Minimum RAM10 GB
Parameters14B
Chip bandwidth170 GB/s

Every figure for Phi-4 14B on the M6

Each row as the index holds it, with its source. “Mac RAM” is the memory of the Mac a run used, not the model’s requirement (10 GB). The headline figure follows the reference rule: the lower-median measured plain-decode run at 5 bits or fewer (a run whose quant was not stated counts only when no stated-quant run qualifies), else the estimate; a run marked “not used to anchor estimates” is listed here but never becomes the headline.

SpeedQuantEngineMac RAMContextSourceNote
estimated16 tok/sQ4_K_MMLX24 GB—LLMCheck estimator—
Provenance key
sourced
Published figure — vendor or press review
estimated
community
Linked individual run — blog, forum or submission

Setup: run Phi-4 14B on a Mac

Ollama — install it (brew install ollama or the app from ollama.com), then pull the model by its tag, checked on ollama.com on 2026-11-14:

ollama run phi4:14b

MLX — pick a build from Hugging Face’s MLX listings, then run it with its repo id:

pip install -U mlx-lm
mlx_lm.generate --model <repo-id> --prompt "Hello"

Downloads: Ollama page → · Hugging Face model card →

Prefer a GUI? LM Studio downloads GGUF and MLX builds in one click. Step by step: install Ollama on a Mac.

Phi-4 14B on other Apple Silicon chips

ChipSpeedQuantEngineBandwidth
M5 Maxestimated55 tok/sQ4_K_MMLX614 GB/s
M4estimated12 tok/sQ4_K_MOllama120 GB/s
M2estimated10 tok/sQ4_K_MMLX100 GB/s

About Phi-4 14B

Microsoft's 14B model, ~55 tok/s on M5 Max. MIT license, LLMCheck capability 19/50.

MIT licence · 14B · 128K context · LLMCheck capability 19/50 · see its leaderboard rank →

Memory by context length

Estimated, not measured: the index’s minimum for Phi-4 14B (10 GB — the weights at the quant that fits, plus ~2 GB) plus the KV cache for that many tokens, computed from its config.json. GQA on all 40 layers (10 kv heads x 128). A 16-bit KV cache is the default in llama.cpp, Ollama, LM Studio and mlx-lm; a q8 cache halves the KV part. Coding agents hold 64K tokens or more. Runtimes also add a buffer that grows with context, so leave a few GB spare. macOS lets the GPU use only part of a Mac’s memory by default (figures for an M6 Mac, which runs macOS 26 or later): “fits” means within the GPU memory a Mac of that tier can use with the limit raised, a tier tagged raise GPU limit fits only after sudo sysctl iogpu.wired_limit_mb raises it (the tooltip has the exact command), and the last column is the smallest Mac memory size whose default limit holds it (the GPU memory limit).

ContextKV cache (16-bit)RAM neededRAM, q8 KVSmallest tier that fitsWithin the default GPU limit
8K~1.7 GB~10.8 GB~10.4 GB16 GB Macsame
32K~6.7 GB~15.9 GB~12.9 GB24 GB Macsame
64K (coding-agent context)~13.4 GB~22.6 GB~16.3 GB32 GB Macsame
128K~26.8 GB~36.0 GB~23.0 GB64 GB Mac48 GB Mac

System requirements

Macs with the M6

🛒 Get a Mac that runs Phi-4 14B

Phi-4 14B needs about 10 GB of unified memory. These Apple Silicon Macs have enough to run it.

As an Amazon Associate, LLMCheck earns from qualifying purchases. These affiliate links cost you nothing extra and help keep the LLMCheck index free.

Compare More Models

See how Phi-4 14B stacks up against other models on your specific Mac hardware.

Open Compare Tool Full Leaderboard