1.  [](/)
2.  [Models](/models)
3.  Gemini Embedding 2

Provider APIEmbeddingVerified 2026-11-05

# Gemini Embedding 2

gemini-embedding-2

Gemini Embedding 2 is a embedding model. Called on Mixpeek through the provider API.

Mixpeek calls the provider's API by name. Provider terms apply.

Used by[RTSP Live Monitoring Wall](/templates/rtsp-live-monitoring)[Video Moderation Extraction Foundation](/templates/video-moderation)

[Use in a new namespace](https://studio.mixpeek.com/namespaces/design?utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp)[Add to an existing namespace](https://studio.mixpeek.com/namespaces?utm_source=homepage&utm_medium=model_page&utm_campaign=mvs_onramp "Open the namespace in Studio, then its Designer tab") [Record as JSON](/models/gemini-embedding-2.json)

New opens the Designer in Studio. For an existing namespace, open it in Studio and use its Designer tab.

No demo for Gemini Embedding 2 yet

A video, image, slideshow or playground goes here once we record one on our own data.

## What it is good and bad at

Best at

One vector space for video segments, images, PDFs, audio and text queries; the default for object-level multimodal extractors (multimodal\_extractor v2, universal\_extractor).

Worst at

Cost and latency per call (provider API, 1.9 to 7 s query spikes after a lull per the routes comment); no task\_type parameter, so Mixpeek prepends instruction text instead; 3072-d vectors are large to store.

Task

Embedding

Input

Text, Image, Video, Audio, Document

Output

Vector

Use cases

Visual search, Text search, Multilingual search, Video understanding, Audio search, Document search

## Templates that use it

*   [RTSP Live Monitoring Wall](/templates/rtsp-live-monitoring)
    
    Turn always-on RTSP cameras into a searchable monitoring wall where quiet footage is skipped before extraction, kept segments carry gate verdicts, and email alerts fire from retriever results.
    
    [Deploy this template](https://studio.mixpeek.com/manifests/apply?url=https%3A%2F%2Fmixpeek.com%2Ftemplates%2Frtsp-live-monitoring.namespace.yaml&manifest_url=https%3A%2F%2Fmixpeek.com%2Ftemplates%2Frtsp-live-monitoring.namespace.yaml&src=template-rtsp-live-monitoring&template=rtsp-live-monitoring&template_name=RTSP+Live+Monitoring+Wall&sync=1&utm_source=homepage&utm_medium=model_template_deploy&utm_campaign=mvs_onramp)
*   [Video Moderation Extraction Foundation](/templates/video-moderation)
    
    Segment a video corpus, extract a keyframe record for every segment, and match brand marks against a reference set you upload. Face and public-figure matching run on a dedicated or customer-hosted deployment. This deploy is the extraction layer a moderation policy sits on, and the page carries a state on every part so you can see which policy pieces are yours to add.
    
    [Deploy this template](https://studio.mixpeek.com/manifests/apply?url=https%3A%2F%2Fmixpeek.com%2Ftemplates%2Fvideo-moderation.namespace.yaml&manifest_url=https%3A%2F%2Fmixpeek.com%2Ftemplates%2Fvideo-moderation.namespace.yaml&src=template-video-moderation&template=video-moderation&template_name=Video+Moderation+Extraction+Foundation&sync=1&starter=brand-logo-match&utm_source=homepage&utm_medium=model_template_deploy&utm_campaign=mvs_onramp)

## Input and output

### Input

Text

Max tokens

8192

Image

inline or URI parts

Video

segments up to 120 s (multimodal\_extractor caps Gemini segments at 120 s)

Prompts

embedding\_task maps to a text prefix: RETRIEVAL\_QUERY 'Represent this query for retrieving relevant documents: ', RETRIEVAL\_DOCUMENT 'Represent this document for retrieval: ', SEMANTIC\_SIMILARITY ...

### Output

Vector

Dims

3072

Distance

cosine

Matryoshka

outputDimensionality when dimensions != 3072

## How Mixpeek wires it

Extractors

*   `multimodal_extractor@v2` fixed
*   `universal_extractor@v1` fixed (GEMINI\_EMBEDDING\_MODEL env, default gemini-embedding-2)

Feature URIs

*   `mixpeek://multimodal_extractor@v2/gemini-embedding-2`
*   `mixpeek://universal_extractor@v1/gemini-embedding-2`

Vector indexes

`multimodal_extractor_v2_multimodal_embedding``universal_extractor_v1_embedding`

Retriever stages

feature\_search

Combines with

*   multimodal\_extractor v2: video segment + Gemini description -> one Gemini Embedding 2 vector, beside E5 transcription/OCR/description vectors

## How it runs

Status

Provider API Provider API (Gemini developer API or Vertex). The google\_\_gemini\_embedding\_2 registry app proxies query embeds; on the planes it is hosted inside mixpeek\_\_api\_inference. Extractors call the API directly from the batch step.

Serve apps

`google__gemini_embedding_2`

Runtime

Gemini REST embedContent (gemini\_rest\_endpoint) for queries; google-genai client.models.embed\_content in extractors

Weights

Provider API, no remote code

Parameters

Not recorded

Size on disk

Not recorded

Preprocessing

Build content parts (text, image, video, PDF), prepend the task instruction to text.

Postprocessing

Vector as returned (3072 dims unless dimensions is set); responses cached by model, task, dims and content.

Serving

both

Hardware

Provider API

### Scale to zero

Minimum replicas

0

Maximum replicas

6

Idle timeout

300 s

Memory

Not recorded

CPUs

0.5

GPUs

0

Cold start, node warm

Not recorded

Cold start, new node

Not recorded

## Measured cost

Unmeasured

No committed throughput+latency+cost measurement; billed per token by Google.

## Our evaluations

Unmeasured

We have not evaluated this model on our own data yet. Publisher results are in the sources below.

## Questions

What is Gemini Embedding 2 best at?

One vector space for video segments, images, PDFs, audio and text queries; the default for object-level multimodal extractors (multimodal\_extractor v2, universal\_extractor).

What are the limits of Gemini Embedding 2?

Cost and latency per call (provider API, 1.9 to 7 s query spikes after a lull per the routes comment); no task\_type parameter, so Mixpeek prepends instruction text instead; 3072-d vectors are large to store.

Can Gemini Embedding 2 be used commercially?

Yes. Paid Google API under Google's terms; Mixpeek resells the call and pays per token.

How does Gemini Embedding 2 run on Mixpeek?

Provider API (Gemini developer API or Vertex). The google\_\_gemini\_embedding\_2 registry app proxies query embeds; on the planes it is hosted inside mixpeek\_\_api\_inference. Extractors call the API directly from the batch step.

What does Gemini Embedding 2 output?

A 3072-dimensional dense vector, compared by cosine similarity.

## Identity

Catalog id

`gemini-embedding-2`

Family

gemini-embedding

API name

`gemini-embedding-2`

License

Google Gemini API / Vertex AI terms of service

Commercial use

AllowedPaid Google API under Google's terms; Mixpeek resells the call and pays per token.

Released

2026-03

Last verified

Verified 2026-11-05

## References and formats

*   `api://google/gemini-embedding-2`

Format

File

Loads today

Provider API

n/a

Yes

## Related models

*   [Multilingual E5 Large Instruct](/models/multilingual-e5-large-instruct)Embedding
*   [all-MiniLM-L6-v2](/models/all-minilm-l6-v2)Embedding
*   [Vertex AI multimodalembedding@001](/models/multimodalembedding)Embedding
*   [SigLIP Base patch16 224](/models/siglip-base-patch16-224)Embedding
*   [LAION CLAP HTSAT-tiny (630k-audioset-best)](/models/clap-htsat-tiny)Embedding
*   [DINOv2 Base](/models/dinov2-base)Embedding

## Sources

*   [blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-embedding-2/](https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-embedding-2/)