Topophones

Home / Guides

Two ways an iPhone app runs a language model: Apple's own or one you choose (MLX)

Updated 27 Nov 2026.

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

  1. SystemLanguageModel, Apple Developer Documentation
  2. Foundation Models, Apple Developer Documentation
  3. ml-explore/mlx-swift-lm, GitHub

Checked: 27 Nov 2026. Figures change; confirm on the source before you rely on them.

Keep reading