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.
The full story
This article is one source in a clustered incident β the cluster page carries the summary, timeline and every other outlet covering it.
