10:50Running LLMs on your iPhone: 40 tok/s Gemma 4 with MLX
Adrien Grondin shows how to run Gemma 4 and other compatible language models directly on an iPhone using Apple’s MLX framework and the MLX Swift LM repository. He explains how to find MLX-ready model weights on Hugging Face, choose quantized versions for a phone’s memory limits, and integrate a model into an iOS app. A live demo reports up to 40 tokens per second on a recent iPhone, with older devices also offering useful performance. He also describes Locally AI’s model-running app and its acquisition by LM Studio.
Apr 20, 2026· 11 min
