Two ways an iPhone app runs a language model: Apple's own or one you choose (MLX)
An iPhone app that uses a language model on the phone does it one of two ways. This page compares them using Apple's developer page for the built-in model and the GitHub page for MLX Swift LM, both read on 27 November 2026. We did not build or run either.
Route 1: Apple's built-in model
Apple's page says SystemLanguageModel "refers to the on-device text foundation model that powers Apple Intelligence." An app can use the base model for general text tasks, or a specialised version for a task such as content tagging.
- Model versions change with the OS. Apple says it updates the model "in routine OS updates" and that there are currently three model versions, matching iOS 26.0 to 26.3, iOS 26.4, and iOS 27.0. An app's prompts can behave differently across them.
- Availability depends on the phone and region. Apple says "model availability depends on whether the device and region supports Apple Intelligence," and tells developers to check availability before use. The device list is in Apple Intelligence devices and storage.
- You do not pick the model. For the framework itself see Apple's Foundation Models framework.
Route 2: a model you or the app picks, through MLX
MLX Swift LM, hosted in Apple's ml-explore organisation on GitHub, describes itself as "a Swift package to build tools and applications with large language models (LLMs) and vision language models (VLMs) in MLX Swift." Its page lists:
- model loading with Hugging Face downloader and tokenizer integrations,
- low-rank (LoRA) and full fine-tuning, with support for quantized models,
- many model architectures for both LLMs and VLMs,
- an embeddings module, and grammar-constrained generation for JSON Schema or EBNF output,
- a bridge, MLXFoundationModels, that exposes MLX models through Apple's Foundation Models interface, which the page says needs the 27.0 SDK.
The project is MIT-licensed, and its page says the main branch moved to a new major version, 3.x, with breaking changes. That tells a developer the code is still changing quickly.
What this means for a buyer
- The built-in route ties you to Apple Intelligence supported phones and Apple's model. That is why the iPhone model list matters.
- The MLX route lets an app run other models, so what fits depends on the model's size and the phone's memory. Neither page gives a RAM requirement or a speed. For memory by model size see which AI models fit your phone by RAM.
- Apple does not state iPhone RAM, so neither page can tell you which iPhones are big enough. See the iPhone RAM list, whose figures are reported by third parties.
Sources
- SystemLanguageModel, Apple Developer Documentation
- Foundation Models, Apple Developer Documentation
- ml-explore/mlx-swift-lm, GitHub
Checked: 27 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.