WhoBuilt

MLX Swift LM

A Swift package for using MLX language models in Apple platform apps.

Key facts

Capabilities
Does not yet support structured generation
Supports tool calling
Integrates with

Timeline 2

Dated events, newest first. Open the sources under any item.

How we verify
20262 events
  1. as of Apr 2026Capability
    Does not yet support structured generation
    “but not structured generation yet” 9:05
    Unverified1 source· Talk
  2. as of Apr 2026Capability
    Supports tool calling
    “MLX Swift LM does support tool calling” 9:05
    Unverified1 source· Talk

Talks 1

10:50
Running 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 minDiscussed 1:50