text model · Gemma · iOS
Can I run Gemma 4 31B on iPhone 17 Pro?
No. Gemma 4 31B needs ~20.5 GB even at Q4_K_M, but iPhone 17 Pro only has ~8 GB usable.
Needs ~20.5 GB even at Q4_K_M, but only ~8 GB is usable.
That figure is at a 4k context and moves about ±15% as context length changes.
The gap is about 12.5 GB: Gemma 4 31B needs roughly 20.5 GB at Q4_K_M and iPhone 17 Pro leaves only about 8 GB usable for a model. The lightest tracked hardware that runs Gemma 4 31B is the Nvidia GeForce RTX 4090 (24GB) at 24 GB. See Gemma 4 31B on Nvidia GeForce RTX 4090 (24GB).
- Q4_K_M needed
- ~20.5 GB
- Usable on device
- ~8 GB
- Device memory
- 12 GB
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
- 32.7B
- Q4_K_M size
- 18.32 GB
- Q8_0 size
- 32.64 GB
- Context
- 256k
- Ollama tag
- gemma4:31b
- Memory
- 12 GB unified
- Usable for weights
- ~8 GB
- Power draw
- ~12 W
- Best runtime
- llama.cpp + Metal (via PocketPal or Off Grid app)
What you can run instead
Run Gemma 4 31B on other hardware
FAQ
Can iPhone 17 Pro run Gemma 4 31B?
No. Gemma 4 31B needs ~20.5 GB even at Q4_K_M, but iPhone 17 Pro only has ~8 GB usable.
How much memory does Gemma 4 31B need?
iPhone 17 Pro does not have enough memory. At Q4_K_M the weights are ~18.32 GB; with KV cache and runtime overhead, budget ~20.5 GB at a 4k context.
What is the best tool to run Gemma 4 31B 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-31b/iphone-17-pro) 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.