aicoolies logo
LiteRT-LM logo
LiteRT-LM logo

LiteRT-LM

Google's production on-device LLM inference framework

open sourceupdated Jul 8, 2026

LiteRT-LM is Google's official open-source framework for running large language models on-device across Android, iOS, Web, Desktop, and Raspberry Pi. Already deployed in Chrome and Pixel hardware, it provides production-grade on-device LLM inference with 1.4K+ GitHub stars. Apache 2.0 licensed.

LiteRT-LM is Google's production-ready, open-source inference framework for deploying Large Language Models on edge devices. It is the same engine that powers Gemini Nano across Google products including Chrome, Chromebook Plus, Pixel Watch, and Android system features. The framework supports cross-platform deployment on Android, iOS, Web, Desktop, and IoT devices like Raspberry Pi, with hardware acceleration through GPU and NPU accelerators for maximum on-device performance.

Beyond basic text generation, LiteRT-LM provides built-in support for multi-modal inputs including vision and audio, enabling developers to build sophisticated on-device AI applications. The framework also includes function calling and tool use APIs, allowing agentic workflows where on-device models can invoke external tools and services without cloud roundtrips. A streaming API delivers token-by-token output for responsive user experiences, while the underlying C++ interface gives advanced developers full control over custom inference pipelines.

LiteRT-LM works with Gemini Nano models available through Google AI Edge and supports quantized model formats optimized for constrained hardware. The framework handles model loading, memory management, and hardware-specific optimizations automatically, abstracting away the complexity of running LLMs on diverse device configurations. As an open-source project maintained by Google AI Edge, it receives regular updates aligned with Android and Chrome platform releases. For developers building privacy-sensitive, offline-capable, or latency-critical AI features, LiteRT-LM provides a battle-tested path from prototyping to production-scale edge deployment.

Pricing

Free and open-source (Apache 2.0)

full pricing breakdown →

Platforms

Android, iOS, Web, Desktop, Raspberry Pi

Categories

Tags

Use Cases

llama.cpp logo

llama.cpp

High-performance local LLM inference in C/C++

llama.cpp is the foundational C/C++ library with 75K+ GitHub stars powering local LLM inference on consumer hardware. Provides optimized CPU and GPU inference for quantized models in GGUF format. Supports LLaMA, Mistral, Phi, Gemma, and most open-weight families. Features 2-8 bit quantization for reduced memory, multi-GPU support, context extension, grammar-constrained output, and an OpenAI-compatible API server. The engine behind Ollama and LM Studio.

Open Source
ONNX Runtime logo

ONNX Runtime

Cross-platform high-performance ML inference engine

ONNX Runtime is Microsoft's open-source inference engine for machine learning models in ONNX format. It delivers cross-platform acceleration via execution providers for NVIDIA CUDA, TensorRT, DirectML, CoreML, OpenVINO, and more. Supports training acceleration, quantization, and GenAI workloads. Used in production across Windows, Azure, Office 365, and thousands of applications with pip-installable Python and native C++/C#/Java APIs.

Open Source
ExecuTorch logo

ExecuTorch

PyTorch on-device AI for mobile and edge devices

ExecuTorch is PyTorch's official solution for deploying AI models on mobile, embedded, and edge devices. It features a 50KB base runtime, 12+ hardware backends including Apple CoreML, Qualcomm QNN, ARM, and Vulkan, and native PyTorch export without format conversions. Powers Meta's on-device AI across Instagram, WhatsApp, Quest 3, and Ray-Ban Smart Glasses, supporting LLMs, vision, speech, and multimodal models.

Open Source
TensorFlow Lite logo

TensorFlow Lite

Google's lightweight ML framework for mobile and embedded

TensorFlow Lite is Google's lightweight ML framework for deploying models on mobile and embedded devices. It supports quantization, GPU/NPU delegation, and runs on Android, iOS, Linux, and microcontrollers. Provides pre-trained models, model conversion tools from TensorFlow and JAX, and hardware acceleration via GPU, Hexagon DSP, and CoreML delegates. Powers on-device ML in billions of Google app installations.

Open Source

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

Cilium logo

Cilium

eBPF-based networking, security, and observability for Kubernetes

Cilium is a CNCF Graduated, Apache-2.0 project for Kubernetes networking, security, and observability using eBPF. It can replace kube-proxy, enforce identity-aware L3-L7 network policies, and add Hubble flow observability plus Tetragon runtime-security signals. Current source checks support GKE Dataplane V2 using Cilium/eBPF and Azure CNI Powered by Cilium for AKS.

Open Source
OrbStack logo

OrbStack

Fast and lightweight Docker Desktop alternative for macOS

OrbStack is a macOS application that replaces Docker Desktop with lightweight container and Linux VM management. Its docs emphasize fast starts, lower CPU and memory overhead, and native macOS integration with menu bar controls, file sharing, and network access to containers by name, with exact gains depending on workload. Supports Docker, Kubernetes, and full Linux VMs.

freemium
Ray logo

Ray

Distributed AI compute engine for scaling Python and ML workloads

Ray is an open-source distributed computing framework built for scaling AI and Python applications from a laptop to thousands of GPUs. It provides libraries for distributed training, hyperparameter tuning, model serving, reinforcement learning, and data processing under a single unified API. Ray's public site highlights OpenAI and other enterprise users. Maintained by Anyscale with Apache-2.0 open-source licensing.

Open Source
LLaMA Factory project logo

LLaMA-Factory

Unified framework for fine-tuning 100+ large language models

LLaMA-Factory is an open-source toolkit providing a unified interface for fine-tuning over 100 LLMs and vision-language models. It supports SFT, RLHF with PPO and DPO, LoRA and QLoRA for memory-efficient training, and continuous pre-training. The LLaMA Board web UI enables no-code configuration, while CLI and YAML workflows serve advanced users. Integrates with Hugging Face, ModelScope, vLLM, and SGLang for model deployment.

Open Source
Act logo

Act

Run GitHub Actions locally for fast feedback

Act is an open-source tool that runs GitHub Actions workflows locally using Docker containers that match GitHub's execution environment. It provides instant feedback on workflow changes without pushing to a repository, supports matrix builds, secret management, and artifact handling. Act can also replace Makefiles by using workflow files as task definitions, making it useful for both CI/CD development and local task automation across development teams.

Open Source
Clerk logo

Clerk

Drop-in authentication for modern JavaScript apps

Clerk is a complete authentication and user management platform for React, Next.js, and modern JavaScript frameworks. It provides pre-built UI for sign-in, sign-up, user profiles, organizations, MFA, passkeys, JWT sessions, webhooks, and billing. The Hobby plan supports up to 50,000 monthly retained users per app, with Pro, Business, and Enterprise tiers for growing teams.

freemium

FAQ

What is LiteRT-LM?

LiteRT-LM is Google's official open-source framework for running large language models on-device across Android, iOS, Web, Desktop, and Raspberry Pi. Already deployed in Chrome and Pixel hardware, it provides production-grade on-device LLM inference with 1.4K+ GitHub stars. Apache 2.0 licensed.

Is LiteRT-LM free?

Yes — LiteRT-LM is open source and free to use. Free and open-source (Apache 2.0)

Is LiteRT-LM open source?

Yes — LiteRT-LM is open source.

What are the best LiteRT-LM alternatives?

The top editor-verified LiteRT-LM alternatives are llama.cpp, ONNX Runtime, ExecuTorch, and more.