Model reference · open weights

embeddinggemma-2

Embeddings google Embeddings 3 builds Open weights 364 dl/mo

embeddinggemma-2 is an open-weight embedding model from Google. embeddinggemma-2 (BF16) weighs 1.5 GB; the smallest configuration that runs it is RTX 3060 12 GB.

For self-hosting, compare this build's requirements below with the GPU you plan to rent.

  • EmbeddingGemma 2 is a multimodal embedding model by Google that maps text, images, video, and audio into a unified 768-dimensional vector space.
  • It features 740M parameters and an 8,192 token context window, supporting over 100 languages.
  • The model is released under the Apache 2.0 license and is designed for on-device applications like search and retrieval.

Summary of the google/embeddinggemma-2 model card, 2026-10-07. The estimate below is for another build of the family.

What it is

Released byGoogle
Released2026-09-14
Parameters744M
VRAM1.5 GB for the weights

What it runs on

Memory and cards for embeddinggemma-2 (BF16)

1.5 GBweights, file size
1.1 GBruntime overhead
CardRunsMemory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
embeddinggemma-2 ↗ 744MBF16 1.5 GBRTX 3060 12 GB
embeddinggemma-2-GGUF ↗
packaged by unsloth
6 builds: Q4_K_XL 176 MB … F16 558 MB
GGUF 310 MBRTX 3060 12 GB
embeddinggemma-2 (above) ↗
packaged by unsloth
744MBF16 1.5 GBRTX 3060 12 GB

From the model card

What Google says about embeddinggemma-2

Read the model card

EmbeddingGemma 2 is an open multimodal embedding model built by Google DeepMind which maps text (incl. code), images, video, and audio inputs—and combinations thereof—into a single, unified 768-dimensional vector space. The model has 740M total parameters, combining a 270M parameter text model with modular vision (170M) and audio (300M) encoders.

Designed to run on consumer hardware such as mobile devices and laptops, EmbeddingGemma 2 delivers low-latency semantic representations for on-device applications, like search, retrieval-augmented generation (RAG), classification, and clustering.

EmbeddingGemma 2 builds upon the architectural and capability advancements of Gemma 4, offering several core features: 

  • Native multimodality: Native multimodality: Unifies 4 modalities (text, images, video, and audio) in a single shared 768-dimensional embedding space.
  • Multilinguality and code: EmbeddingGemma 2 understands 100+ languages, and achieves a ~14% improvement on code tasks relative to its predecessor. 
  • Flexible footprint: Combines a 270M parameter text backbone (130M transformer + 140M embedder) with selectively loadable vision (170M) and audio (300M) encoders, allowing developers to load only the modalities required for their use case.
  • Matryoshka Representation Learning (MRL): Native support for truncated embeddings across 128d, 256d, 512d, and 768d, enabling up to a 6x reduction in vector storage costs with minimal impact on quality.
  • Context length: 8K token context window, capable of processing minutes of audio or video.
  • Task-steered representations: Uses lightweight text instruction prefixes to optimize embeddings for different tasks (search, classification, clustering, semantic similarity, etc.).

Model Overview

ParametersTotal740M
Backbone130M
Embedder140M
Modality EncodersVision: 170M Audio: 300M
ArchitectureLayers24
Model Dimension512
Hidden Dimension2048
Sliding Window1024 tokens
Vocabulary Size262,144
# Heads4
# KV-Heads (Local/Global)2/1
Local:Global5:1
AttentionGQA/MQA
ActivationGated FFN with GELU
PoolingMean Pooling
Projection Layer512→768
Input/OutputSupported ModalitiesText, Images, Video, Audio
Context Window8,192 tokens
Native Output Dimension768
MRL Truncation Dimensions128, 256, 512

Benchmark Results

EmbeddingGemma 2 was evaluated across text, code, vision, visual document, video, and audio embedding benchmarks. All results reported below use the full-precision checkpoint.

Overall Evaluation Results (768d)

ModalityBenchmarkMetricEmbeddingGemma 2EmbeddingGemma 1
TextMassive Text Embedding Benchmark (MTEB, multilingual, v2)Mean(Task), Multiple61.3661.15
Massive Text Embedding Benchmark (MTEB, code, v1)Mean(Task), NDCG@1078.6868.76
ImageMassive Image Embedding Benchmark (MIEB, lite)Mean(TaskType), Multiple64.64-
Massive Multimodal Embedding Benchmark (MMEB v2 - Image)Mean(Task), Hit@157.28-
Massive Multimodal Embedding Benchmark (MMEB v2 - VisDoc)Mean(Task), NDCG@567.84-
VideoMassive Multimodal Embedding Benchmark (MMEB v2 - Video)Mean(Task), Hit@150.67-
AudioMassive Sound Embedding Benchmark (MSEB, Retrieval)Mean(Task), MRR@1069.54-
Massive Audio Embedding Benchmark (MAEB) Hugging Face Mean(Task), Multiple49.39-

Evaluation Results with Vector Truncation

With MRL, EmbeddingGemma 2 representations can be truncated below the native 768d to 128d, 256d, and 512d representations and re-normalized. With this, model users can reduce storage requirements, with minimal quality impact down to 256d. 128d is best suited to text-only workloads.

Output DimensionCompression RatioMTEB (multilingual, v2) Mean(Task)MTEB (eng, v2) Mean(Task)MTEB (code, v1) Mean(Task)MIEB (lite) Mean(TaskType)MMEB (v2) OverallMSEB (Retrieval) Mean(Task)MAEB Mean(Task)
768d (Full)1:161.3668.4678.6864.6459.0169.5449.39
512d1:1.561.1768.4177.2464.3258.3869.1849.21
256d1:360.4167.7876.1863.1356.2466.7648.91
128d1:657.8965.6871.4159.0645.6556.7146.92

Quick Start

Install the sentence-transformers library:

pip install -U sentence-transformers transformers

Generate text embeddings:

from sentence_transformers import SentenceTransformer

model = SentenceTransformer("google/embeddinggemma-2")

query = "What causes the northern lights?"
document = "The northern lights are caused by charged particles from the sun."

query_emb = model.encode(query, prompt_name="SearchQuery")
doc_emb = model.encode(document, prompt_name="Document")
print(model.similarity(query_emb, doc_emb))

Best Practices

For optimal embedding quality and runtime efficiency, follow these configurations and best practices:

1. Task Instruction Prefixes

EmbeddingGemma 2 is trained with short task instruction prefixes prepended to text inputs. Using the right prefix improves quality; omitting it still works but reduces precision. Prefixes apply to text only. Pass images, video, and audio without any prefix.

Documents with a real title should be formatted as title: {title} | text: {content}. Use title: none when no title is available.

Prefix Notation & Usage

We offer two types of task prefixes, depending on how embeddings are used in the task. There are two types of tasks

Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms