Build once, run everywhere

Deploy across mobile, web, desktop, and IoT.
Engineered with superior support for LLMs, Diffusion, and more generative models.
CPU, GPU, and NPU hardware acceleration with SOTA performance across leading edge platforms.
Direct export and quantization from PyTorch, TensorFlow, and JAX into .tflite format.

Built on the battle-tested foundation of TensorFlow Lite

Trusted by prominent Google apps

250K+ applications, billions of global users

Migrate your TensorFlow Lite app

YouTube video streaming application
Google Photos media gallery application
Gmail messaging and email service
Google Maps navigation and places
Google Chrome web browsing application
Google Meet video conferencing service
Google ML Kit on-device machine learning SDK
Google AI Edge Gallery application

Deploy with LiteRT

Streamline your AI workflow from training to on-device deployment.
1. Convert
2. Quantize
3. Deploy & Accelerate
Convert PyTorch, JAX, or TensorFlow models to .tflite, or start from pre-trained .tflite models.
Use the LiteRT quantizer to quantize your models post-training.
Deploy your model with LiteRT and pick the optimal accelerator for your app.

Choose LiteRT Runtime or LiteRT-LM

Use LiteRT Runtime to run models with CPU, GPU, and NPU acceleration. For LLMs, use LiteRT-LM, which builds on LiteRT to manage conversations, the KV cache, and streaming output.
High-performance runtime for ML workloads. Tailored for hardware-accelerated execution across CPU, GPU, and NPU backends with advanced features such as zero-copy buffer interoperability and async execution.
LiteRT-LM is an orchestration layer built on the LiteRT Runtime that powers the LLM execution loop—seamlessly integrating hardware-accelerated inference, multimodal inputs, constrained decoding, and agentic tool calling.
Install LiteRT Packages

Python

# Platform: Linux, macOS, Windows (Python 3.9+)
pip install ai-edge-litert

Android (Kotlin)

// Platform: Android (API 24+) | In app/build.gradle.kts
// GPU and NPU acceleration are built in; select via Accelerator in Options.
implementation("com.google.ai.edge.litert:litert:2.2.0")

iOS (Swift)

// Platform: iOS 15+, macOS 12+
// Swift Package Manager support is in progress.
// For a production iOS build today, see the LiteRT-LM tab.

Web (JS)

# Platform: Web (Browsers & Node.js)
npm install @litertjs/core

C++

# Platform: Linux, Android NDK, macOS, Windows
# In CMakeLists.txt (link LiteRT C++ SDK)
target_link_libraries(${PROJECT_NAME} PRIVATE litert_cc_api)

CLI Tools

# Platform: Linux, macOS, Windows | Model conversion & benchmarking
pip install litert-cli-nightly

Python

# Platform: Linux, macOS, Windows | LiteRT-LM Python SDK
pip install litert-lm-api

Android (Kotlin)

// Platform: Android (API 24+) | In app/build.gradle.kts
implementation("com.google.ai.edge.litertlm:litertlm-android:latest.release")

iOS (Swift)

// Platform: iOS 15+, macOS 12+ (Apple Silicon GPU)
// In Package.swift dependencies:
.package(url: "https://github.com/google-ai-edge/LiteRT-LM", from: "0.16.0")

// In target dependencies:
.product(name: "LiteRTLM", package: "LiteRT-LM")

Web (JS)

# Platform: Web (WebGPU required)
npm install @litert-lm/core

C++

# Platform: Linux, Android NDK, macOS, Windows
# Option A: prebuilt C API (headers + shared libs), no build required.
# Download litert_lm_c_api-*.zip from github.com/google-ai-edge/LiteRT-LM/releases
target_include_directories(${PROJECT_NAME} PRIVATE ${LITERT_LM_SDK}/include)
target_link_libraries(${PROJECT_NAME} PRIVATE ${LITERT_LM_SDK}/lib/linux_x86_64/liblitert-lm.so)

# Option B: build LiteRT-LM from source, then link the C++ aggregate target.
target_link_libraries(${PROJECT_NAME} PRIVATE LiteRTLM::Aggregate)

CLI Tools

# Platform: Linux, macOS, Windows | On-Device LLM runner & test harness
pip install litert-lm
Supported Platforms: Android • iOS • Web • Linux • macOS • Windows

Samples, models, and demos

Explore open-source code samples, pre-trained models, and interactive demos.
Complete, runnable open-source sample applications across Android, iOS, Web, desktop, and IoT for LiteRT and LiteRT-LM.
Pre-converted, ready-to-deploy models on Hugging Face including Gemma 4, Llama 3.2, Qwen 3.5, and MobileNet.
Experience offline LLMs running entirely on your mobile device with LiteRT-LM. Download the open-source sample app on Google Play and GitHub.
Stay up to date with the latest announcements, technical deep dives, and performance benchmarks on the LiteRT news and blogs page.

Join the community

Contribute directly to the project and collaborate with core developers.
Access optimized open-weight models on the Hugging Face Hub.
Submit feature requests and collaborate with the LiteRT team.
Ready to build? Explore the docs and ship your first on-device model.