Run Gemma 4 on iPhone 17 with Google AI Edge Gallery
The standard iPhone 17 brings Apple's A19 chip and 8 GB of RAM to a non-Pro device for the first time. That combination handles Google Gemma 4 E2B effortlessly through Google AI Edge Gallery, with estimated speeds north of 35 tokens per second. The larger E4B model technically runs but eats most of your memory budget, so close other apps before loading it. For most users, E2B at full speed is the right pick.
- Chip
- Apple A19
- RAM
- 8 GB
- Neural Engine
- 16-core
- Released
- 2025
On the iPhone 17 (Apple A19, 8GB RAM), run Google Gemma 4 E2B at ~35 tok/s (est.) via Google AI Edge Gallery. Gemma 4 E2B is ~2.5 GB on disk and uses 1-1.5 GB in memory, fully offline, no account required.
Sizing rule: an on-device model must fit its weights plus working memory inside the iPhone 17's 8GB of RAM, shared with iOS and the host app. The larger Gemma 4 E4B (~5GB on disk, 2-3GB in use) is the quality upgrade, but it only fits phones with more free memory. Everything runs fully offline once the model is downloaded, and speed varies with thermal state during long sessions. What it will not run: 7B-class and larger models exceed a phone's usable memory; those need a Mac, a GPU, or a cloud API.
→ Install Google AI Edge Gallery (iOS 17+), then download Gemma 4.
- Top pick
- Gemma 4 E2B
- Speed
- ~35 tok/s (est.)
- Device RAM
- 8 GB
Speed is a ModelFit estimate from chip generation, not a measured benchmark.
Cite this page: ModelFit, Run Gemma 4 on iPhone 17: Edge Gallery Setup & Speed (2026), https://modelfit.io/iphone/iphone-17/, updated November 2026, CC BY 4.0.
Verdict
Recommended: Gemma 4 E2BiPhone 17 with 8 GB RAM is the value sweet spot for on-device Gemma. E2B runs fast and cool; E4B works if you really need it.
Gemma 4 performance on iPhone 17
On-device speed in Google AI Edge Gallery (Apple A19, 8 GB RAM)
| Model | Download | RAM in Use | Speed | Source |
|---|---|---|---|---|
| Gemma 4 E2BTop Pick | ~2.5 GB | 1-1.5 GB | ~35 tok/s | Estimated |
| Gemma 4 E4B | ~5 GB | 2-3 GB | ~20 tok/s | Estimated |
Speeds via Google AI Edge Gallery on iOS 17+. "Measured" numbers come from real-world Hacker News user reports; "Estimated" numbers are interpolations from chip generation. Both Gemma 4 variants use int4 quantization-aware training.
Best for
- Daily-driver chat and writing assistance
- Camera + AI: ask Gemma about anything you can photograph
- Offline translation for travel
- Voice memos with on-device transcription via Audio Scribe
Watch outs
- E4B uses most of the 8 GB RAM. Close other apps first
- Background apps may be evicted while a model is loaded
- Wi-Fi recommended for the initial 2.5 GB E2B download
Setup guide
Step-by-step install for Google AI Edge Gallery on iPhone 17, plus full benchmarks and the privacy details.
Get told when a better model fits your iPhone 17
Get one email when a new open-weight model is a better fit for this machine.
For: iPhone 17
You'll also get the weekly ModelFit email. By signing up you agree to our Privacy Policy. Unsubscribe from either email anytime, in one click.