Topophones

Home / Guides

How to run an LLM on an iPhone: apps, runtimes and limits

Updated 26 Nov 2026.

Cover graphic for: 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

  1. Install from the App Store.
  2. On Wi-Fi, download one model. Start small.
  3. 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

  1. Local LLM on Android and iPhone, VDF AI (14 Nov 2026)
  2. Google AI Edge: Gemma 4 on LiteRT-LM
  3. 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