Phone and edge LLM inference runtimes compared
Android and iOS paths, model artifacts, acceleration and app APIs
更新
なぜこれらを比べるか
A runtime determines how a model is converted, packaged and called from an app. The options here range from portable GGUF execution to compiler-led stacks that target phone GPUs or NPUs, so the best fit depends on the source model, platforms and hardware acceleration you need.
-
1
E
ExecuTorch
PyTorch's edge runtime exports LLMs to PTE and provides C++, Swift and Java bindings with CPU, GPU and NPU backends.
PyTorch export to mobile and edge backends
-
2
L
LiteRT-LM
A production-oriented orchestration layer with Kotlin, Swift, C++ and Python APIs plus CPU, GPU and NPU execution paths.
Google's cross-platform LLM layer for LiteRT
-
3
M
MLC LLM
An Apache TVM-based compiler and runtime with open Android and iOS applications and native SDK tutorials.
Compile models for phone GPUs and native apps
-
4
l
llama.cpp
The GGML runtime has an official Android binding and NDK workflow and is widely embedded through its C and C++ APIs.
Portable GGUF inference with a small C++ core
-
5
O
ONNX Runtime Mobile
Microsoft's mobile runtime loads ONNX models and offers CPU plus Android NNAPI/XNNPACK and iOS Core ML/XNNPACK execution providers.
ONNX execution on Android and iOS
-
6
C
Core ML
Apple's model framework and coremltools conversion stack target CPU, GPU and Neural Engine execution across Apple devices.
Apple-native model deployment and compression
並べて比較
| ExecuTorch | LiteRT-LM | MLC LLM | llama.cpp | ONNX Runtime Mobile | Core ML | |
|---|---|---|---|---|---|---|
| Targets | ||||||
| Phone platforms | Android and iOS | Android; iOS early-preview API | Android and iOS | Android official; iOS via native embedding | Android and iOS | iOS and iPadOS |
| Packaging | ||||||
| Model artifact | PTE | LiteRT-LM bundle (.litertlm) | Converted weights plus compiled model library | GGUF | ONNX or ORT format | ML Program (.mlpackage/.mlmodelc) |
| Integration | ||||||
| App APIs | C++, Java/Kotlin, Objective-C/Swift | Kotlin, Swift, C++, Python | Kotlin and Swift SDKs; C++ runtime | C/C++; official Android Kotlin example | Java/Kotlin, Objective-C, C/C++, React Native | Swift and Objective-C |
| Hardware | ||||||
| Acceleration path | XNNPACK, Core ML, Vulkan, Qualcomm and more | CPU, GPU and supported NPU delegates | GPU-oriented compiled kernels | Arm CPU; Vulkan/OpenCL and Metal backends | CPU, XNNPACK, NNAPI and Core ML | Apple CPU, GPU and Neural Engine |
| Use | ||||||
| Licence | BSD-3-Clause | Apache-2.0 | Apache-2.0 | MIT | MIT | coremltools BSD-3-Clause |
参考資料
- Official mobile and edge LLM runtime documentation, the runtime maintainers (facts). Checked 2026-11-25 07:24 UTC.
- Deploying LLMs to ExecuTorch, PyTorch, checked 2026-11-25.
- LiteRT-LM repository, Google AI Edge, checked 2026-11-25.
- MLC LLM quick start, MLC LLM, checked 2026-11-25.
- llama.cpp Android guide, ggml-org, checked 2026-11-25.
- Get started with ONNX Runtime Mobile, Microsoft, checked 2026-11-25.
- Core ML Tools documentation, Apple, checked 2026-11-25.

