Gemma 4 E2B is Google's multimodal on-device foundation model, specifically quantized and packaged for Google AI Edge (LiteRT-LM). In OfflineGPT, it runs through the native LiteRT-LM runtime on Android, allowing simultaneous understanding of text prompts, camera or gallery photos, and audio recordings.
Unlike conventional multi-engine setups that pass image crops through an external vision projector into a separate text LLM, Gemma 4 processes image tokens and audio tokens directly in its unified architecture. This reduces translation overhead and preserves contextual nuances across modalities.
In OfflineGPT, Gemma 4 E2B also integrates with the on-device web search tool. When enabled, the model can query search results to answer questions requiring current facts, while still running inference entirely on the smartphone.