This model card provides the Gemma 4 12B model in LiteRT-LM format ready for deployment on macOS, Linux and Windows, as well as web in a more limited capacity. The current
gemma-4-12B-it.litertlm file supports
text, vision and audio modalities as well as
Multi-Token Prediction (MTP) for accelerated speculative decoding and lower latency inference.
Gemma is a family of lightweight, state-of-the-art open models from Google, built from the same research and technology used to create the Gemini models. This particular Gemma 4 model is medium sized, so it is ideal for desktop use cases. By running this model on device, users can have private access to Generative AI without requiring an internet connection.
Ready to integrate this into your product? Get started
with LiteRT-LM documentation.
All benchmarks were taken using 1024 prefill tokens and 256 decode tokens with a context length of 4096 tokens via LiteRT-LM. The model can support up to 128k context length on devices with sufficent memory (please set the context length, max_num_tokens, to be smaller when encountering memory issue). Time-to-first-token does not include load time. Benchmarks were run with caches enabled and initialized. During the first run, the latency and memory usage may differ. Model size is the size of the file on disk.