Gemma 4 E4B on Apple iPhone 17 Pro / 17 Pro Max
Can the Apple iPhone 17 Pro / 17 Pro Max run Gemma 4 E4B?
Yes, it runs well
Runs well. At Q4_K_M it needs about 5.6 GB of 7.2 GB usable, with an estimated speed of 21.5 tok/s.
- Best quant
Q4_K_M- Generation speed
- 21.5 tok/s
- Prompt processing
- 428 tok/s
- First token (1K prompt)
- 2.4 s
- Largest safe context
- 102K
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.
Get it on the App Store Then download Gemma 4 E4B in the app
Download Gemma 4 E4B
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 gemma-4-E4B-it-Q4_K_M.gguf for the Apple iPhone 17 Pro / 17 Pro Max.
On iPhone or iPad
- Install PocketPal AI (free) and open it.
- Tap the menu (☰), then Models, then + and Add from Hugging Face.
- Search for
unsloth/gemma-4-E4B-it-GGUF, open it and downloadgemma-4-E4B-it-Q4_K_M.gguf. - Tap Load next to the model and start a chat. It runs on the device, with no connection needed from then on.
Files and commands for a computer
Recommended for the Apple iPhone 17 Pro / 17 Pro Max: Q4_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 gemma4:e4b-it-q4_K_MQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
Download the Q4_K_M file (opens in a new tab)
huggingface.co/unsloth/gemma-4-E4B-it-GGUF (opens in a new tab)
ollama run hf.co/unsloth/gemma-4-E4B-it-GGUF:Q4_K_MOriginal weights · Hugging Face
Full-precision files from Google, for fine-tuning, vLLM, Transformers.
Official repo · GitHub
Reference code, inference scripts and docs from Google. The weights themselves download from Hugging Face.
github.com/google-deepmind/gemma (opens in a new tab)
git clone https://github.com/google-deepmind/gemmaHow 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 | 29.1 / 45 | |
|---|---|---|
| Memory fit | 25.0 / 25 | |
| Speed | 11.0 / 15 | |
| Memory use | 15.0 / 15 | |
| Match score | 80.1 / 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 | 3.9 GB | 7.2 GB | 35.4 tok/s | Runs great | 47Fair quality (C) · 47 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 73/100 (quality, fit, speed and memory use) sets the ranking. | UD-Q2_K_XL |
Q3_K_M | 4.7 GB | 7.2 GB | 27.8 tok/s | Runs well | 57Good quality (B) · 57 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | Q3_K_M |
Q4_K_M | 5.6 GB | 7.2 GB | 21.5 tok/s | Runs well | 64Good quality (B) · 64 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking. | Q4_K_M |
Q5_K_M | 6.4 GB | 7.2 GB | 17.8 tok/s | Runs welltight fit | 65Good quality (B) · 65 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 78/100 (quality, fit, speed and memory use) sets the ranking. | Q5_K_M |
Q6_K | 7.3 GB | 7.2 GB | — | Won't runover the app memory limit | 67Good quality (B) · 67 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 9/100 (quality, fit, speed and memory use) sets the ranking. | Q6_K |
Q8_0 | 9.2 GB | 7.2 GB | — | Won't runover the app memory limit | 68Good quality (B) · 68 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 9/100 (quality, fit, speed and memory use) sets the ranking. | Q8_0 |
F16 | 16.7 GB | 7.2 GB | — | Won't runover the app memory limit | 68Good quality (B) · 68 of 100: how capable the model is at F16, whatever it runs on. Match score 9/100 (quality, fit, speed and memory use) sets the ranking. | BF16 |
Memory figures assume 8K of context. Longer conversations or documents grow the KV cache.
Other hardware that runs it
-
68Good quality (B) · 68 of 100: how capable the model is at F16, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking.
AMD Radeon RX 7900 XTX
-
68Good quality (B) · 68 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking.
Intel Arc B580
-
68Good quality (B) · 68 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 3060 12GB
-
68Good quality (B) · 68 of 100: how capable the model is at F16, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 3090
-
68Good quality (B) · 68 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4070 SUPER
-
68Good quality (B) · 68 of 100: how capable the model is at F16, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking.
NVIDIA GeForce RTX 4090
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.