Open Source
Explore the latest AI open-source projects from GitHub and HuggingFace.
Explore the latest AI open-source projects from GitHub and HuggingFace.
For years, running a large language model meant a round trip to a cloud server. Latency, privacy concerns, bandwidth costs, and offline unavailability were accepted as fixed constraints of LLM deployment. Google's LiteRT-LM, released publicly in April 2026 and now available on GitHub under the Apache-2.0 license, directly challenges these assumptions. Built by the google-ai-edge team as the successor to TensorFlow Lite's ML infrastructure, LiteRT-LM is a production-ready inference framework specifically engineered for running LLMs on edge devices — smartphones, tablets, wearables, desktop machines, and IoT hardware — without cloud connectivity. It already powers on-device AI features in Chrome, Chromebook Plus, and Pixel Watch.
1. Cross-Platform Edge Deployment
LiteRT-LM supports an unusually broad range of deployment targets for a single inference framework:
| Platform | Support Status |
|---|---|
| Android | Production (Kotlin, C++ APIs) |
| iOS | Production (C++, Swift in development) |
| Web | Supported |
| Desktop (Linux/Windows/macOS) | Supported |
| IoT / Raspberry Pi | Supported |
This cross-platform scope means a team can write model integration logic once and deploy across Android, iOS, and web targets without framework-switching. The C++ API provides a common low-level interface across all platforms, with Kotlin and Python wrappers for platform-specific productivity.
2. Hardware Acceleration: GPU and NPU
LiteRT-LM is built around hardware-accelerated inference as the default, not an optional add-on. GPU acceleration is supported across all major mobile GPU architectures, and NPU acceleration enables peak performance on devices with dedicated neural processing units — increasingly common in flagship Android and iOS devices. On Apple Silicon Macs, the framework leverages the Neural Engine. For IoT targets like Raspberry Pi, the framework falls back gracefully to CPU inference with optimized SIMD kernels. This tiered acceleration strategy ensures that each deployment target achieves the best performance its hardware can provide.
3. Supported Model Ecosystem
LiteRT-LM supports a growing range of open-weight models optimized for edge deployment:
| Model Family | Provider | Edge Size |
|---|---|---|
| Gemma 4 (E2B, E4B) | 2B-4B | |
| Llama 3.x | Meta | Quantized variants |
| Phi-4-mini | Microsoft | 3.8B |
| Qwen 2.5 | Alibaba | Small variants |
Pre-optimized model weights are available on HuggingFace under the google/gemma-3n-*-litert-lm namespace, providing a ready-to-deploy starting point without manual quantization setup.
4. Multimodal and Agentic Capabilities
LiteRT-LM goes beyond text-only inference. The framework supports vision and audio inputs, enabling multimodal model deployment on edge devices. Function calling — the mechanism for agentic tool use — is supported for building local AI agents that can invoke device APIs, sensors, and services without cloud routing. This combination of multimodal input and function calling positions LiteRT-LM as infrastructure for the next generation of AI-native mobile applications.
5. Production Deployment in Google Products
Unlike many inference frameworks that are primarily research tools, LiteRT-LM is battle-tested in production. The framework powers on-device GenAI features in Chrome (real-time text assistance), Chromebook Plus (Gemini Nano integration), and Pixel Watch (health and notification AI). This production history provides confidence in stability and performance that purely community-maintained edge inference projects cannot match.
6. Developer API Surface
LiteRT-LM provides four API tiers for different integration needs:
The v0.10.1 release (April 3, 2026) is the latest stable version, with 1,388 commits on the main branch reflecting active development pace.
The build system uses Bazel and CMake, both well-established in C++ and mobile development workflows. Android integration via Maven artifacts is straightforward for teams already using Gradle. The Python API enables rapid prototyping before committing to a native integration. Pre-built model weights on HuggingFace significantly lower the barrier to first deployment — developers can have a running Gemma 4 inference pipeline on Android without writing quantization code.
The main friction points are the C++ build complexity for custom hardware targets and the Swift API still being in development, which limits iOS integration ergonomics for Swift-native teams. The framework's Apache-2.0 license enables commercial use without royalty obligations.
Pros
Cons
LiteRT-LM's open-source release marks a significant strategic shift: Google is betting that making on-device LLM inference infrastructure freely available will accelerate the adoption of AI-native edge applications built on Google's model ecosystem (Gemma). The combination of NPU acceleration, multimodal support, and function calling suggests that LiteRT-LM is not just an inference engine but the foundation for a new category of AI-native mobile and embedded applications. As Gemma 4 models improve and edge hardware NPUs become more capable, LiteRT-LM's production pedigree and cross-platform scope position it as a leading candidate for the default edge AI runtime.
LiteRT-LM is Google's most significant contribution to the on-device AI inference ecosystem since TensorFlow Lite. Its production deployment history, hardware acceleration support, and cross-platform coverage make it the most credible open-source option for teams deploying LLMs at the edge in 2026. For mobile developers, IoT engineers, and AI teams seeking privacy-preserving or offline-capable inference, LiteRT-LM provides a production-grade foundation that few alternatives can match.