Can a Mac run Phi-4 mini instruct?

Yes, with 8 GB of unified memory or more. Phi-4 mini instruct has 3.8B parameters; here is the memory it needs at each precision and how fast every Apple chip runs it.

Memory at 4-bit3.6 GBweights 2.1 GB + context
Smallest Mac8 GB8-bit · 58 Mac configurations
Fastest Mac135–240tokens/s · M5 Ultra 96 GB (estimate)

Memory at each precision

VersionWeightsWith contextSmallest Mac
8-bit4 GB5.5 GB8 GB
6-bit3.1 GB4.6 GB8 GB
4-bit2.1 GB3.6 GB8 GB
3-bit lower quality1.7 GB3.2 GB8 GB
2-bit lower quality1.2 GB2.7 GB8 GB

On every Apple chip

The smallest memory size of each chip that runs Phi-4 mini instruct, the best version that fits it, and the writing speed you can expect.

ChipNeedsVersionTokens/s
M616 GB8-bit Runs well17–31
M5 Ultra96 GB8-bit Runs well135–240
M5 Max36 GB8-bit Runs well52–92
M5 Pro24 GB8-bit Runs well35–61
M516 GB8-bit Runs well17–31
M4 Max36 GB8-bit Runs well46–82
M4 Pro24 GB8-bit Runs well31–55
M416 GB8-bit Runs well14–24
M3 Ultra96 GB8-bit Runs well92–164
M3 Max36 GB8-bit Runs well34–60
M3 Pro18 GB8-bit Runs well17–30
M38 GB8-bit Runs well11–20
M2 Ultra64 GB8-bit Runs well90–160
M2 Max32 GB8-bit Runs well45–80
M2 Pro16 GB8-bit Runs well23–40
M28 GB8-bit Runs well11–20
M1 Ultra64 GB8-bit Runs well90–160
M1 Max32 GB8-bit Runs well45–80
M1 Pro16 GB8-bit Runs well23–40
M18 GB6-bit Runs well10–18

How to run it

  1. The easy way: download MLX Harness, free and open source. Search for Phi-4 mini instruct, download the version that fits your Mac, and chat. It also serves the model to your other apps over an OpenAI-compatible API.Download MLX HarnessFree · Apple Silicon · macOS 14.5 or later
  2. In Terminal with Apple’s MLX:pip install mlx-lmmlx_lm.chat --model mlx-community/Phi-4-mini-instruct-4bitBuild: mlx-community/Phi-4-mini-instruct-4bit on Hugging Face. Other precisions sit next to it.

Step by step: download and run LLMs on a Mac · how to use MLX Harness · MLX vs Ollama vs llama.cpp

About Phi-4 mini instruct

Made byMicrosoft
Parameters3.8B (dense)
Context128K tokens
LicenceMIT
Released2025-02
InputText
Weightsmicrosoft/Phi-4-mini-instruct

Questions

How much memory does Phi-4 mini instruct need?
About 2.1 GB of weights at 4-bit, plus room for the context: 3.6 GB in all. On a Mac that means 8 GB of unified memory or more, since macOS lets the GPU use about 75% of it by default.
How fast is Phi-4 mini instruct on a Mac?
Writing speed depends on memory bandwidth. The fastest Mac for it here is an M5 Ultra with 96 GB at about 135–240 tokens a second (8-bit). The smallest Mac that runs it, with 8 GB, manages about 11–20 on an M3.
Does quantization hurt Phi-4 mini instruct?
At 4 bits most models stay close to the original quality; below 4 bits quality drops faster. Pick the highest precision that fits your Mac with room to spare.

Similar models

Every model · Every Mac · Compare your Mac

For your model card or README

Runs on a Mac: Phi-4 mini instruct Shows the smallest Mac that runs Phi-4 mini instruct well and links here.

[![Runs on a Mac](https://mlx.app/badge/run/phi-4-mini.svg)](https://mlx.app/run/phi-4-mini)

How it’s worked out

Memory: the model’s parameters at 8, 6, 4, 3 or 2 bits per weight plus MLX’s group scales (half a bit per weight), or its native format, with room for the context on top. By default macOS lets the GPU use about 75% of unified memory. Speed: memory bandwidth divided by the bytes read per token is the ceiling for one conversation; in llama.cpp’s public Apple Silicon benchmarks real runs reach about 45% to 80% of it, which is the range shown. These are estimates, not measurements: measure your own Mac on MLX Bench. Model figures from each official model card, chip figures from Apple’s Tech Specs. Checked 2026-10-19. Same data as mlx.app/compare.

Can a Mac run Phi-4 mini instruct? RAM and speed