Skip to content
localmodel.run

text model · gemma · iOS

Can I run Gemma 2 27B on iPhone 17?

Compatibility verdict VRAM threshold engine
No, not enough memorywould not load

No. Gemma 2 27B needs ~18.7 GB even at Q4_K_M, but iPhone 17 only has ~4.5 GB usable.

Needs ~18.7 GB Device usable ~4.5 GB

Needs ~18.7 GB even at Q4_K_M, but only ~4.5 GB is usable.

Q4_K_M needed
~18.7 GB
Usable on device
~4.5 GB
Device memory
8 GB

How to run it

On iOS use Apple Foundation Models (Built into iOS 26, ~3B on-device model, zero download, fully private.). Phones realistically run 1B-4B class models. Anything larger thermally throttles or OOMs.

Model gemma
Parameters
27B
Q4_K_M size
16.65 GB
Q8_0 size
28.94 GB
Context
8k
Ollama tag
gemma2:27b
Full Gemma 2 27B requirements →
Device iOS
Memory
8 GB unified
Usable for weights
~4.5 GB
Best runtime
llama.cpp + Metal (via PocketPal or Off Grid app)
Best models for iPhone 17 →

What you can run instead

Run Gemma 2 27B on other hardware

FAQ

Can iPhone 17 run Gemma 2 27B?

No. Gemma 2 27B needs ~18.7 GB even at Q4_K_M, but iPhone 17 only has ~4.5 GB usable.

How much memory does Gemma 2 27B need?

iPhone 17 does not have enough memory. At Q4_K_M the weights are ~16.65 GB; with KV cache and runtime overhead, budget ~18.7 GB at a 4k context.

What is the best tool to run Gemma 2 27B 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.

Sources

Memory figures are estimates. See methodology.