Can I run it? / iPhone

Best LLMs to run on an iPhone

Updated November 2026

As of November 2026, the best model to run on an iPhone is Nanbeige4.2 3B by Nanbeige (Kanzhun) (Small LM Index 67.2), at about 9 tokens/s with 4-bit weights. For faster replies, LFM3 1.7B (61.2) runs at about 23 tokens/s.

Recent iPhones have 8 GB of memory (12 GB on the 17 Pro), but iOS lets one app use only about half of it, so models up to about 4 GB fit. About 4.0 GB is usable for a model, at 60 GB/s. The figures below assume 4-bit weights and a 4K-token context, and only include models that generate at least 5 tokens per second.

Best quality · Best with Apache 2.0 or MIT
Nanbeige4.2 3B
Index 67.2 · Q4_K_M · 3.5 GB · ≈ 9 tok/s · Apache-2.0
Fast (20+ tok/s)
LFM3 1.7B
Index 61.2 · Q4_K_M · 1.6 GB · ≈ 23 tok/s · LFM Open License

Models that run well on an iPhone

The 25 best of the 29 models that run at 5+ tokens/s, ranked by the Small LM Index.

#ModelIndexRuns atMemorySpeedLicense
1Nanbeige4.2 3B Nanbeige (Kanzhun)Nanbeige (Kanzhun) · 4-bit · Apache-2.067.24-bit Q4_K_M3.5 GB≈ 9 tok/sApache-2.0
2Spark-X2.6 4B SparkLLM (XHToken)SparkLLM (XHToken) · 4-bit · Apache-2.066.54-bit Q4_K_M3.3 GB≈ 10 tok/sApache-2.0
3Spark-X2.5 4B SparkLLM (XHToken)SparkLLM (XHToken) · 4-bit · Apache-2.065.94-bit Q4_K_M3.3 GB≈ 10 tok/sApache-2.0
4LFM3 1.7B Liquid AILiquid AI · 4-bit · LFM Open License61.24-bit Q4_K_M1.6 GB≈ 23 tok/sLFM Open License
5MiniCPM5 2B OpenBMB (MiniCPM)OpenBMB (MiniCPM) · 4-bit · Apache-2.060.94-bit Q4_K_M2.3 GB≈ 16 tok/sApache-2.0
6Qwen3 4B Thinking 2507 Alibaba (Qwen)Alibaba (Qwen) · 4-bit · Apache-2.059.84-bit Q4_K_M3.6 GB≈ 10 tok/sApache-2.0
7Qwen3.5 4B Alibaba (Qwen)Alibaba (Qwen) · 4-bit · Apache-2.059.74-bit Q4_K_M3.1 GB≈ 10 tok/sApache-2.0
8Nemotron Labs Dory 1.0 4B NVIDIANVIDIA · 4-bit · OpenMDW-1.158.64-bit Q4_K_M3.3 GB≈ 10 tok/sOpenMDW-1.1
9Granite 4.2 3B IBM (Granite)IBM (Granite) · 4-bit · Apache-2.057.34-bit Q4_K_M2.7 GB≈ 13 tok/sApache-2.0
10Ministral 3 3B Mistral AIMistral AI · 4-bit · Apache-2.053.84-bit Q4_K_M2.8 GB≈ 13 tok/sApache-2.0
11Spark-X2.6 1.7B SparkLLM (XHToken)SparkLLM (XHToken) · 4-bit · Apache-2.052.34-bit Q4_K_M1.7 GB≈ 23 tok/sApache-2.0
12LFM2.5 2.6B Liquid AILiquid AI · 4-bit · LFM Open License44.74-bit Q4_K_M2.3 GB≈ 15 tok/sLFM Open License
13EXAONE 4.0 1.2B LG AI Research (EXAONE)LG AI Research (EXAONE) · 4-bit · EXAONE License (non-commercial)42.54-bit Q4_K_M1.6 GB≈ 31 tok/sEXAONE License (non-commercial)
14Gemma 4 E2B GoogleGoogle · 4-bit · Apache-2.037.44-bit Q4_K_M3.7 GB≈ 17 tok/sApache-2.0
15SmolLM3 3B Hugging Face (SmolLM)Hugging Face (SmolLM) · 4-bit · Apache-2.036.84-bit Q4_K_M2.7 GB≈ 13 tok/sApache-2.0
16Qwen3.5 2B Alibaba (Qwen)Alibaba (Qwen) · 4-bit · Apache-2.035.94-bit Q4_K_M2.0 GB≈ 17 tok/sApache-2.0
17LFM2.5 1.2B Thinking Liquid AILiquid AI · 4-bit · LFM Open License34.74-bit Q4_K_M1.3 GB≈ 34 tok/sLFM Open License
18MiniCPM5 1B OpenBMB (MiniCPM)OpenBMB (MiniCPM) · 4-bit · Apache-2.029.44-bit Q4_K_M1.3 GB≈ 37 tok/sApache-2.0
19LFM2.5 1.2B Instruct Liquid AILiquid AI · 4-bit · LFM Open License25.44-bit Q4_K_M1.3 GB≈ 34 tok/sLFM Open License
20MiniCPM-V 4.6 OpenBMB (MiniCPM)OpenBMB (MiniCPM) · 4-bit · Apache-2.024.74-bit Q4_K_M1.4 GB≈ 30 tok/sApache-2.0
21Gemma 3n E2B GoogleGoogle · 4-bit · Gemma20.94-bit Q4_K_M4.0 GB≈ 20 tok/sGemma
22Gemma 3 4B GoogleGoogle · 4-bit · Gemma19.44-bit Q4_K_M3.4 GB≈ 9 tok/sGemma
23Llama 3.2 3B MetaMeta · 4-bit · Llama 3.2 Community19.14-bit Q4_K_M3.0 GB≈ 12 tok/sLlama 3.2 Community
24LFM2.5 350M Liquid AILiquid AI · 4-bit · LFM Open License16.64-bit Q4_K_M0.8 GB≈ 113 tok/sLFM Open License
25Phi-4-mini Microsoft (Phi)Microsoft (Phi) · 4-bit · MIT15.84-bit Q4_K_M3.4 GB≈ 10 tok/sMIT

Change the context length or quantization, or see models that only just fit, in Can I run it? for this device.

How to run Nanbeige4.2 3B on an iPhone

  1. Install an app. PocketPal AI (free, open source) downloads GGUF models from Hugging Face; Google AI Edge Gallery runs Gemma and other LiteRT models.
  2. Load Nanbeige4.2 3B. In PocketPal, search Hugging Face for bartowski/Nanbeige_Nanbeige4.2-3B-GGUF and pick the Q4_K_M file.
  3. Build it into an app. For developers: MLX Swift or llama.cpp run these models inside an iOS app.

Every model page lists the same commands for its own files. Nanbeige4.2 3B's page also has a memory table for other context lengths.

Questions

What is the best LLM for an iPhone?

As of November 2026, the best model to run on an iPhone is Nanbeige4.2 3B by Nanbeige (Kanzhun) (Small LM Index 67.2), at about 9 tokens/s with 4-bit weights. For faster replies, LFM3 1.7B (61.2) runs at about 23 tokens/s.

What is the biggest model that runs on an iPhone?

Gemma 3n E2B (5.4B parameters) fits at 4-bit, needing 4.0 GB and generating about 20 tokens/s. Bigger models may fit at lower quality or run more slowly; try them in the Can I run it? tool.

How much memory can a model use on an iPhone?

About 4.0 GB of the 8 GB. Recent iPhones have 8 GB of memory (12 GB on the 17 Pro), but iOS lets one app use only about half of it, so models up to about 4 GB fit.

How accurate are these speeds?

They are estimates from memory bandwidth (60 GB/s here), which limits how fast a model generates text, with a typical efficiency for this kind of hardware. Expect real speeds within about a third either way. Long prompts take longer to read before the first word appears.

Other devices