text model · Gemma · iOS
Can I run Gemma 4 E2B on iPhone 17?
Yes. Gemma 4 E2B runs on iPhone 17 at Q4_K_M (~4.4 GB of ~4.5 GB usable).
Fits at Q4_K_M (~4.4 GB of ~4.5 GB usable) but with little headroom. Close background apps, and expect slow generation on a phone.
That figure is at a 4k context and moves about ±15% as context length changes. iPhone 17 leaves ~0.1 GB of headroom.
- Q4_K_M needed
- ~4.4 GB
- Usable on device
- ~4.5 GB
- Device memory
- 8 GB
- Best quant
- Q4_K_M
Which quant fits
How to run it
On iOS use Apple Foundation Models (Built into iOS 26, ~3B on-device model, zero download, fully private.).
- Parameters
- 5.1B
- Q4_K_M size
- 3.11 GB
- Q8_0 size
- 5.05 GB
- Context
- 128k
- Ollama tag
- gemma4:e2b
- Memory
- 8 GB unified
- Usable for weights
- ~4.5 GB
- Best runtime
- llama.cpp + Metal (via PocketPal or Off Grid app)
You could also run
Run Gemma 4 E2B on other hardware
FAQ
Can iPhone 17 run Gemma 4 E2B?
Yes. Gemma 4 E2B runs on iPhone 17 at Q4_K_M (~4.4 GB of ~4.5 GB usable).
How much memory does Gemma 4 E2B need?
It is a tight fit on iPhone 17. At Q4_K_M the weights are ~3.11 GB; with KV cache and runtime overhead, budget ~4.4 GB at a 4k context.
What is the best tool to run Gemma 4 E2B on iOS?
On iPhone and iPad, Apple Foundation Models (Built into iOS 26, ~3B on-device model, zero download, fully private.) is the standard choice. Phones realistically run 1B-4B class models. Anything larger thermally throttles or OOMs.
Embed this
[](https://localmodel.run/can-i-run/gemma-4-e2b/iphone-17) Sources
Weights are measured from GGUF files; KV cache and overhead are computed, so totals can vary ~15% with context and runtime. Any tok/s is a bandwidth estimate. See methodology.