Android local AI runtimes explained: MLC LLM, llama.cpp, ExecuTorch and more
Source note: RunLocalAI's guide was last reviewed on 8 May 2026, so it predates the phones we cover elsewhere. It is a third-party guide and its battery and heat figures are labeled by its author as editorial estimates. Use it for the map of options, not for current numbers.
The five runtimes it lists
| Runtime | What the guide says |
|---|---|
| MLC LLM | Cross-device runtime. Compiles for Adreno GPU, iOS Metal and WebGPU. Does not use the Hexagon NPU. |
| llama.cpp (Termux or in-app) | Works with GGUF files. CPU only by default. Simplest to debug if you know it on desktop. |
| ONNX Runtime Mobile | Stable, but needs model conversion. Fits an existing ONNX pipeline. |
| ExecuTorch | PyTorch-native mobile runtime with pluggable backends. |
| Qualcomm AI Hub | Snapdragon only, NPU first. The guide says Qualcomm's numbers show roughly 30 to 50 percent faster than the MLC Adreno path on the same phone. |
For Google's own route, see the LiteRT-LM figures in how fast is AI on a phone. The guide mentions LiteRT as the successor to TensorFlow Lite.
Android-specific problems the guide names
- NNAPI is deprecated, per the guide, with developers steered to LiteRT and vendor tools.
- Manufacturer software can kill long-running background processes, which hurts keeping a model loaded.
- Graphics driver behavior differs by software build.
- Vendor NPU toolkits (Qualcomm, Samsung, MediaTek) do not work with each other.
What to take from it
If you only want to try a local model, install an existing app. See run an LLM on Android. If you are building an app, pick a runtime that matches your hardware target, and expect to test on the specific phones you care about.
We did not test any of these runtimes ourselves. Retrieved 27 November 2026.
Sources
- How to run local AI on Android, RunLocalAI (reviewed 8 May 2026, secondary and partly editorial)
- Gemma 4 on LiteRT-LM, Google AI Edge
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.
- Apple's Foundation Models framework: what Apple's developer page saysWhat the framework lets apps do with Apple's on-device model, which OS versions it needs, and what Apple says the on-device model is and is not for.