HubLensLLMgoogle-ai-edge/LiteRT-LM
// archived 2026-04-09
google-ai-edge

LiteRT-LM

View on GitHub
95

// summary

LiteRT-LM is a high-performance, production-ready inference framework designed by Google for deploying Large Language Models on edge devices. It supports a wide range of platforms including Android, iOS, desktop, and IoT, while leveraging GPU and NPU hardware acceleration for optimal performance. The framework enables advanced capabilities such as multi-modality and function calling, powering on-device AI experiences in various Google products.

// technical analysis

LiteRT-LM is a production-ready, high-performance inference framework designed by Google to enable the deployment of Large Language Models directly on edge devices. By bridging the gap between resource-constrained hardware and advanced AI capabilities, it solves the challenge of running GenAI locally in environments like browsers, wearables, and IoT devices. The framework prioritizes hardware acceleration and cross-platform compatibility, making it a robust solution for developers aiming to integrate agentic workflows and multimodal features into their applications.

// key highlights

01
Provides extensive cross-platform support, enabling deployment across Android, iOS, Web, Desktop, and IoT devices.
02
Optimizes inference performance by leveraging dedicated GPU and NPU hardware acceleration.
03
Supports multimodal inputs, allowing models to process both vision and audio data.
04
Enables agentic workflows through built-in function calling capabilities.
05
Offers broad model compatibility, including support for Gemma, Llama, Phi-4, and Qwen architectures.

// use cases

01
Cross-platform deployment of LLMs like Gemma, Llama, and Phi-4 on mobile, desktop, and IoT devices.
02
Hardware-accelerated inference using GPU and NPU to achieve peak performance on edge hardware.
03
Implementation of agentic workflows and multi-modal applications through built-in function calling and vision/audio support.

// getting started

To begin, you can install the LiteRT-LM CLI tool using 'uv tool install litert-lm' and immediately run models from Hugging Face repositories via the command line. For application development, you can explore the stable language-specific guides for Kotlin, Python, or C++ to integrate the framework into your native projects.