Article summary — original
Google DeepMind Launches EmbeddingGemma 2 Multimodal Embedding Model
Google DeepMind has introduced EmbeddingGemma 2, an open-source, 740-million-parameter multimodal embedding model built on the Gemma 4 architecture under an Apache 2.0 license. The model maps text, code, audio, images, and video into a shared embedding space designed for on-device inference.
EmbeddingGemma 2 features 740 million total parameters in a modular design, requiring 270M for text-only tasks alongside optional vision (170M) and audio (300M) encoders.
The model incorporates an 8K token context window capable of handling up to 5.5 minutes of audio, 29 images, or 58 video frames.
It uses Matryoshka Representation Learning to compress 768-dimension vectors down to 128 dimensions, enabling up to a 6x storage reduction.
Quantized deployments on a Google Pixel 11 Pro require approximately 191MB active RAM for text-only weights and around 567MB for the full multimodal model.
Architecture and Efficiency
EmbeddingGemma 2 uses technology derived from Gemini Embedding models and Gemma 4. Its modular structure allows developers to run text-only setups at 270 million parameters or attach vision and audio components up to 740 million parameters. Through Matryoshka Representation Learning, output dimensions can be reduced from 768 to 512, 256, or 128, cutting storage and memory demands by up to sixfold. Memory optimizations allow the quantized full model to operate within 567MB of active RAM on devices like the Pixel 11 Pro.
Performance and Cross-Modal Capabilities
The model features an 8K token context window—four times larger than the first EmbeddingGemma—enabling cross-modal searches like querying audio using text or locating video segments via voice memos. On benchmark evaluations, it scored 78.68 on MTEB Code, up from 68.76, while recording top scores on the Massive Audio Embedding Benchmark (MAEB) for sub-1B parameter models.
On-Device Deployment and Ecosystem
Designed for offline, privacy-first retrieval augmented generation (RAG) and semantic search, EmbeddingGemma 2 shares a text tokenizer and audio encoder with Gemma 4 to minimize memory when run concurrently. The weights are distributed on Hugging Face and Kaggle under an Apache 2.0 license, supporting deployment tools such as LiteRT, MediaPipe, MLX, llama.cpp, Ollama, vLLM, and WebGPU.
Saved original article
Oct 06, 2026
|
EmbeddingGemma 2 is the most capable model for on-device multimodal embeddings, natively mapping combinations of text, images, audio, and video into a unified embedding space.
Sahil Dua
Research Engineer, Google DeepMind
Henrique Schechter Vera
Research Engineer, Google DeepMind
Your browser does not support the audio element.
Listen to article
[[duration]] minutes
This content is generated by Google AI. Generative AI is experimental
We introduced
EmbeddingGemma
last year to provide a lightweight option for high-quality text embeddings, to help your apps organize, search, and connect information directly on consumer hardware. The developer community’s response blew past our expectations. With more than 20 million downloads, builders have used it to power smarter on-device search tools and privacy-first retrieval augmented generation (RAG) pipelines.
Today, we’re launching EmbeddingGemma 2
,
expanding 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, EmbeddingGemma 2 has 740 million parameters, making it optimal for on-device inference. It can help find a specific video clip from a voice memo, or search through hours of audio recordings based on a text query, all processed by a single, natively multimodal model.
Built from the same technology as Gemini Embedding models, EmbeddingGemma 2 is:
Best-in-class for its size:
Achieves leading scores among sub-1B multimodal embedders for its size across benchmarks like 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.
Modular by design:
Requires as little as 270M parameters for text-only workloads with optional vision (170M) and audio (300M) encoders for full multimodal support.
Storage-efficient:
Using Matryoshka Representation Learning (MRL), developers can dynamically truncate output vectors from 768 dimensions down to 512, 256, or 128 dimensions. This provides up to 6x storage reduction for local vector databases and memory usage.
Optimized for on-device performance:
Runs efficiently within tight resource constraints. With quantization, on a Google Pixel 11 Pro, EmbeddingGemma 2 requires as little as ~191MB active RAM for text-only weights and ~567MB for the full multimodal model.
Extended context ready:
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 thereof directly on local hardware.
Achieving top-tier quality for code, vision, and audio
EmbeddingGemma 2 matches the strong multilingual text performance of EmbeddingGemma while delivering a significant 9.92-point improvement on code performance (in MTEB Code, from 68.76 to 78.68), making it well-suited for local codebase indexing, semantic code search, and coding agent retrieval. Across image, video, documents, and audio, it sets a new standard in quality-per-parameter for sub-1B models and even outperforms some specialist models more than twice its size.
Find full evaluation metrics and model information in the
EmbeddingGemma 2 model card
.
Enabling semantic search, routing, and retrieval, fully on-device
EmbeddingGemma 2 brings robust capabilities directly to edge hardware. Generating embeddings locally helps ensure data privacy, reduces pipeline latency, and empowers developers to build cross-modal search and retrieval that works entirely offline.
When paired with generative models such as Gemma 4, EmbeddingGemma 2 enables on-device RAG pipelines that understand complex multimodal data. Because EmbeddingGemma 2 is built on Gemma 4 and shares its text tokenizer and audio encoder, developers can run both models together in a unified pipeline with a lower combined total memory footprint.
To learn how to build on-device search and RAG systems with LiteRT, read the
Google AI Edge blog post
.
Getting started with EmbeddingGemma 2
We worked closely with the following partners to ensure EmbeddingGemma 2 works immediately where you build:
Download the models:
Find the model weights on
Hugging Face
and
Kaggle
, with Gemini Enterprise Agent Platform Model Garden availability coming soon. Visit
LiteRT Community on Hugging Face
for models optimized for on-device.
On-device deployment:
Develop cross-platform apps with Google AI Edge
MediaPipe
for turnkey embedding, retrieval & decision tasks or
LiteRT
for custom model integration. Build for the browser with transformers.js or
WebGPU
.
Use your favorite development tools
: Serve the model efficiently using transformers, sentence-transformers,
MLX
, vLLM,
llama.cpp
, SGLang,
Ollama
, and LMStudio. Store your embedding vectors with
Qdrant
.
Fine-tuning:
Follow guidance by
Unsloth
for how to fine-tune EmbeddingGemma 2 for your use cases.
Explore our
developer guide
,
documentation
, and guides for
inference
and
fine-tuning
.