Skip to content
Lite RT LM

Lite RT LM

github.com β€’ November 28, 2026

LiteRT-LM is Google's production-ready orchestration layer to run LLMs with LiteRT, engineered for high-performance , cross-platform execution.

πŸ”— Product Website | πŸ’¬βœ¨ Chat Demo | πŸ”Žβœ¨ Embedding Demo

πŸ”₯ What's New: v0.20.0

NPU Executor Metadata & Default Behavior Change : Added LlmNpuExecutorMetadata to ExecutorMetadata proto and updated the runtime to resolve unset NPU execution flags ( enable_neon_for_npu_greedy_sampling, use_hw_masking_for_npu, use_hw_cache_update_for_npu, use_hw_ple_for_npu ) from .litertlm bundle metadata. Behavior Change : Handwritten NPU components now default to disabled unless enabled in bundle metadata or runtime flags (except KV-cache updates on ring-buffer models).

NPU Executor Metadata & Default Behavior Change :

Added LlmNpuExecutorMetadata to ExecutorMetadata proto and updated the runtime to resolve unset NPU execution flags ( enable_neon_for_npu_greedy_sampling, use_hw_masking_for_npu, use_hw_cache_update_for_npu, use_hw_ple_for_npu ) from .litertlm bundle metadata.

Behavior Change : Handwritten NPU components now default to disabled unless enabled in bundle metadata or runtime flags (except KV-cache updates on ring-buffer models).

Python 3.10 support is deprecated . Python 3.10 reached upstream end-of-life on 2026-10-01 ( PEP 619 ). Importing litert_lm on Python 3.10 now emits a FutureWarning . 0.20.0 is the last release that supports Python 3.10 . The release (0.21.0) will require Python β‰₯ 3.11 and will no longer publish cp310 wheels. If you are on Python 3.10, upgrade to 3.11 or newer, or pin litert-lm==0.20.* .

Python 3.10 support is deprecated . Python 3.10 reached upstream end-of-life on 2026-10-01 ( PEP 619 ). Importing litert_lm on Python 3.10 now emits a FutureWarning . 0.20.0 is the last release that supports Python 3.10 . The release (0.21.0) will require Python β‰₯ 3.11 and will no longer publish cp310 wheels. If you are on Python 3.10, upgrade to 3.11 or newer, or pin litert-lm==0.20.* .

Benchmark init time : No longer counts engine creation twice in the C, Kotlin, Swift and Python APIs and litert-lm benchmark.

Benchmark init time : No longer counts engine creation twice in the C, Kotlin, Swift and Python APIs and litert-lm benchmark.

litert_lm_main : Now stops each after --max_output_tokens tokens when the flag is above 0.

litert_lm_main : Now stops each after --max_output_tokens tokens when the flag is above 0.

Reproducible .litertlm builds : With SOURCE_DATE_EPOCH set, litert-lm-builder now writes byte-identical files from the same inputs and uuid.

Reproducible .litertlm builds : With SOURCE_DATE_EPOCH set, litert-lm-builder now writes byte-identical files from the same inputs and uuid.

πŸ‘‰ Try Gemma4-E4B with MTP on Linux, macOS, Windows or Raspberry Pi with the LiteRT-LM CLI :

πŸ“± Cross-Platform Support : Android, iOS, Web, Desktop, and IoT (e.g. Raspberry Pi).

πŸš€ Hardware Acceleration : Peak performance via GPU and NPU accelerators.

πŸ‘οΈ Multi-Modality : Support for vision and audio inputs.

πŸ”§ Tool Use : Function calling support for agentic workflows.

πŸ“š Broad Model Support : Gemma, Llama, Phi-4, Qwen, and more.

πŸš€ Production-Ready for Google's Products

LiteRT-LM powers on-device GenAI experiences in Chrome , Chromebook Plus , Pixel Watch , and more.

You can also try the Google AI Edge Gallery app to run models immediately on your device.

πŸ“° Blogs & Announcements

πŸ‘‰ Technical Overview including performance benchmarks, model support, and more.

πŸ‘‰ LiteRT-LM CLI Guide including installation, getting started, and advanced usage.

⚑ Quick Try (No Code)

Try LiteRT-LM immediately from your terminal without writing a single line of code using uv :

πŸ“š Supported Language APIs

Ready to get started? Explore our language-specific guides and setup instructions.

This guide shows how you can compile LiteRT-LM from source. If you want to build the program from source, you should checkout the stable tag.

Extracted Entities