EmbeddingGemma 2: an open, lightweight multimodal embedding model
Google DeepMind introduced EmbeddingGemma last year as a lightweight option for high-quality text embeddings, aimed at helping apps organize, search, and connect information directly on consumer hardware. The developer community's response exceeded expectations: the model has surpassed 20 million downloads and has been used to power smarter on-device search tools and privacy-first retrieval-augmented generation (RAG) pipelines.
EmbeddingGemma 2 expands beyond text to unify code, images, video, and audio in a shared embedding space. Built on the Gemma 4 architecture and released under a commercially permissive Apache 2.0 license, it has 740 million parameters and is designed for optimal on-device inference. Google says it can find a specific video clip from a voice memo or search through hours of audio recordings based on a text query, all handled by a single natively multimodal model built from the same technology as Gemini Embedding models.
The model is best-in-class for its size, achieving leading scores among sub-1B multimodal embedders on benchmarks such as MTEB (Massive Text Embedding Benchmark) Code and MAEB (Massive Audio Embedding Benchmark), while matching or outperforming many larger models across text, vision, and audio tasks. It is modular by design, requiring as little as 270M parameters for text-only workloads with optional vision (170M) and audio (300M) encoders for full multimodal support. Using Matryoshka Representation Learning (MRL), developers can dynamically truncate output vectors from 768 dimensions down to 512, 256, or 128 dimensions, providing up to 6x storage reduction for local vector databases and memory usage. With quantization on a Google Pixel 11 Pro, it requires as little as ~191MB active RAM for text-only weights and ~567MB for the full multimodal model.
It also features an 8K token context window — 4x larger than EmbeddingGemma 1 — allowing it to process up to 5.5 minutes of audio, 29 images, 58 video frames, or interleaved combinations directly on local hardware. For code, vision, and audio quality, EmbeddingGemma 2 matches the strong multilingual text performance of its predecessor while delivering a 9.92-point improvement on MTEB Code (from 68.76 to 78.68), making it well-suited for local codebase indexing, semantic code search, and coding-related retrieval tasks.