# Can I run Gemma 2 9B on iPhone 17?

> **No, not enough memory.** Needs ~7.3 GB even at Q4_K_M, but only ~4.5 GB is usable.

Last validated: 2026-06-15.

## Memory math
- Gemma 2 9B: 9B; Q4_K_M weighs 5.76 GB on disk.
- At Q4_K_M with a 4k context it needs ~7.3 GB (weights + KV cache + ~0.8 GB runtime overhead, ±15% with context length).
- iPhone 17: 8 GB unified, ~4.5 GB usable for model weights.
- Headroom: ~-2.8 GB.

## How to run
Recommended quant: n/a. Best tool on iOS: Apple Foundation Models.

## Run Gemma 2 9B on other devices
- [Nvidia GeForce RTX 3060 (12GB)](https://localmodel.run/can-i-run/gemma-2-9b/nvidia-rtx-3060-12gb)
- [Nvidia GeForce RTX 4070 (12GB)](https://localmodel.run/can-i-run/gemma-2-9b/nvidia-rtx-4070-12gb)
- [Samsung Galaxy S24 Ultra](https://localmodel.run/can-i-run/gemma-2-9b/samsung-s24-ultra)
- [Generic Android Phone (12GB RAM)](https://localmodel.run/can-i-run/gemma-2-9b/android-generic-12gb)
- [iPhone 17 Pro](https://localmodel.run/can-i-run/gemma-2-9b/iphone-17-pro)
- [iPhone Air](https://localmodel.run/can-i-run/gemma-2-9b/iphone-air)

## Other models that run on iPhone 17
- [Gemma 3 4B (4B)](https://localmodel.run/can-i-run/gemma-3-4b/iphone-17)
- [Qwen3 4B (4B)](https://localmodel.run/can-i-run/qwen3-4b/iphone-17)
- [Phi-3.5-mini 3.8B (3.82B)](https://localmodel.run/can-i-run/phi-3.5-mini/iphone-17)
- [Phi-4-mini 3.8B (3.8B)](https://localmodel.run/can-i-run/phi-4-mini-3.8b/iphone-17)
- [Qwen2.5-VL 3B (3.75B)](https://localmodel.run/can-i-run/qwen2.5-vl-3b/iphone-17)
- [Qwen2.5 3B (3.09B)](https://localmodel.run/can-i-run/qwen2.5-3b/iphone-17)

Estimate, not a guarantee. Sources: https://ollama.com/library/gemma2, https://ollama.com/library/gemma2/tags, https://huggingface.co/bartowski/gemma-2-9b-it-GGUF, https://lmarena.ai/leaderboard.
More: https://localmodel.run/can-i-run/gemma-2-9b/iphone-17