Phi-2 2.7B on Apple iPhone 17 Pro / 17 Pro Max
Can the Apple iPhone 17 Pro / 17 Pro Max run Phi-2 2.7B?
Yes, it runs great
Runs great. At Q3_K_M it needs about 2.6 GB of 7.2 GB usable, with an estimated speed of 45.1 tok/s.
- Best quant
Q3_K_M- Generation speed
- 45.1 tok/s
- Prompt processing
- 692 tok/s
- First token (1K prompt)
- 1.5 s
- Largest safe context
- 2K
Best app to run it on the Apple iPhone 17 Pro / 17 Pro Max
On iOS
- Runs the model on the device itself, offline: download it once in the app.
Download Phi-2 2.7B
On a phone, tablet or other mobile device you install a chat app and get the model file through it, so there are no commands to copy. Use phi-2.Q3_K_M.gguf for the Apple iPhone 17 Pro / 17 Pro Max.
On iPhone or iPad
- Install PocketPal AI (free) and open it.
- Download phi-2.Q3_K_M.gguf (opens in a new tab) on the device. It goes to Files › Downloads on an iPhone or iPad, or the Downloads folder on Android.
- In PocketPal AI, tap the menu (☰), then Models, then + and Add Local Model, and pick the file.
- Tap Load next to the model and start a chat. It runs on the device, offline.
Files and commands for a computer
Recommended for the Apple iPhone 17 Pro / 17 Pro Max: Q3_K_M. Every other quantization has its own download link in the table below.
Quickest · Ollama
One command downloads a ready-to-run version and starts a chat.
ollama run phi:2.7b-chat-v2-q3_K_MQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the Q3_K_M file (opens in a new tab)
huggingface.co/TheBloke/phi-2-GGUF (opens in a new tab)
ollama run hf.co/TheBloke/phi-2-GGUF:Q3_K_MOriginal weights · Hugging Face
Full-precision files from Microsoft, for fine-tuning, vLLM, Transformers.
How it’s rated
Match score
To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.
| Model quality | 6.0 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 15.0 / 15 | |
| Memory use | 8.4 / 15 | |
| Match score | 54.5 / 100 |
Every quantization on the Apple iPhone 17 Pro / 17 Pro Max
| Quant | Memory needed | Available | Speed | Runs | Quality | File to pick in the app |
|---|---|---|---|---|---|---|
Q2_K | 2.4 GB | 7.2 GB | 57.2 tok/s | Runs great | 11Basic quality (D) · 11 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 52/100 (quality, fit, speed and memory use) sets the ranking. | Q2_K |
Q3_K_M | 2.6 GB | 7.2 GB | 45.1 tok/s | Runs great | 13Basic quality (D) · 13 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 54/100 (quality, fit, speed and memory use) sets the ranking. | Q3_K_M |
Q4_K_M | 3.0 GB | 7.2 GB | 34.9 tok/s | Runs great | 15Basic quality (D) · 15 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 55/100 (quality, fit, speed and memory use) sets the ranking. | Q4_K_M |
Q5_K_M | 3.2 GB | 7.2 GB | 28.8 tok/s | Runs well | 15Basic quality (D) · 15 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 55/100 (quality, fit, speed and memory use) sets the ranking. | Q5_K_M |
Q6_K | 3.6 GB | 7.2 GB | 24.2 tok/s | Runs well | 15Basic quality (D) · 15 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 55/100 (quality, fit, speed and memory use) sets the ranking. | Q6_K |
Q8_0 | 4.2 GB | 7.2 GB | 17.7 tok/s | Runs well | 16Basic quality (D) · 16 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 55/100 (quality, fit, speed and memory use) sets the ranking. | Q8_0 |
F16 | 6.8 GB | 7.2 GB | 8.2 tok/s | Slowtight fit | 16Basic quality (D) · 16 of 100: how capable the model is at F16, whatever it runs on. Match score 52/100 (quality, fit, speed and memory use) sets the ranking. |
Memory figures assume 2K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
-
16Basic quality (D) · 16 of 100: how capable the model is at F16, whatever it runs on. Match score 61/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 SUPER
-
16Basic quality (D) · 16 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 60/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4060
-
16Basic quality (D) · 16 of 100: how capable the model is at F16, whatever it runs on. Match score 58/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 9070 XT
-
16Basic quality (D) · 16 of 100: how capable the model is at F16, whatever it runs on. Match score 58/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 Ti SUPER
-
16Basic quality (D) · 16 of 100: how capable the model is at F16, whatever it runs on. Match score 58/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4080 SUPER
-
16Basic quality (D) · 16 of 100: how capable the model is at F16, whatever it runs on. Match score 58/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 5060 Ti 16GB
Quick answers
How much memory does Phi-2 2.7B need on the iPhone 17 Pro?
At Q3_K_M it needs about 2.6 GB. The iPhone 17 Pro has 7.2 GB usable.
How fast is Phi-2 2.7B on the iPhone 17 Pro?
About 45.1 tok/s at Q3_K_M, an estimate from the hardware’s memory bandwidth and the size of the model.
Which quantization of Phi-2 2.7B should I use on the iPhone 17 Pro?
Q3_K_M. Of the versions that fit, it is the one that runs best; when two run equally well, the check prefers the higher-rated one.
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.