How to run an LLM on an iPhone: apps, runtimes and limits
This guide summarises VDF AI's November 2026 article, which looked up app versions on 14 and 15 November. App versions change fast. Check the store listing before you install.
Three runtimes
| Runtime | App | What it runs | iOS needed |
|---|---|---|---|
| llama.cpp (GGUF) | PocketPal AI | Any GGUF from Hugging Face, accelerated by Metal | iOS 15.1 or later |
| MLX | Locally (published by LM Studio's developer, Element Labs) | Models in Apple's MLX format | iOS 18.1 or later |
| LiteRT | Google AI Edge Gallery | Gemma 4 and other models from Google's list | iOS 17 or later |
PocketPal AI is open source (MIT). VDF AI saw version 1.23.0 from 10 November 2026. Google AI Edge Gallery is Apache 2.0, version 1.0.23 from 4 November 2026.
The steps
- Install from the App Store.
- On Wi-Fi, download one model. Start small.
- Test in airplane mode to confirm nothing depends on the network.
iPhone settings do not show how much RAM the device has. Go by file size and by which models the app offers for your phone. If the app closes when you load a model, it may be too large for that device. Try the next size down.
What to expect
- MLX conversions of multimodal models can be larger than the text-only GGUF. VDF AI gives the 4-bit MLX build of Gemma 4 E2B as 3.55 GB.
- Google's published numbers for Gemma 4 E2B on an iPhone 17 Pro are 56 tokens per second generation on the GPU and 25 on the CPU (Google's LiteRT-LM page). See phone AI speed.
- Long sessions heat the phone and drain the battery. See heat, battery and storage.
For built-in Apple features, see the iPhone RAM list.
Sources
- Local LLM on Android and iPhone, VDF AI (14 Nov 2026)
- Google AI Edge: Gemma 4 on LiteRT-LM
- Best Phone for Local AI in 2026, Local AI Scout
Checked: 26 Nov 2026. Figures change; confirm on the source before you rely on them.
Keep reading
- 8 GB vs 12 GB vs 16 GB phone for AI: which one should you buy?What each RAM tier lets you run, with the models, file sizes and the one-sentence verdict for each.
- AI-Benchmark ranking: what the columns mean, and what the top phones showReading the AI-Benchmark phone table: the score columns, five phones with their chip, RAM and AI Score as listed, and what the numbers cannot tell you about chat models.
- The airplane mode test: how to check a phone model is really offlineLoad a model on Wi-Fi, switch on airplane mode, send a prompt. The check VDF AI recommends and what it does and does not prove.
- Android local AI runtimes explained: MLC LLM, llama.cpp, ExecuTorch and moreA May 2026 guide lists five ways to run models on Android and warns about NNAPI deprecation, aggressive background killing and vendor-locked NPU tools. A secondary source, with caveats.