Gemini Embedding 2: Google's First Natively Multimodal Embedding Model Released

Google DeepMind has released Gemini Embedding 2 in public preview, their first fully multimodal embedding model built on the Gemini architecture. Unlike previous text-only models, this one maps text, images, videos, audio, and documents into a single, unified embedding space, capturing semantic intent across over 100 languages.
Key Technical Details
The model is available through the Gemini API and Vertex AI, and supports these specific capabilities:
- Text: Supports context of up to 8192 input tokens
- Images: Processes up to 6 images per request (PNG and JPEG formats)
- Videos: Supports up to 120 seconds of video input (MP4 and MOV formats)
- Audio: Natively ingests and embeds audio without needing text transcriptions
- Documents: Directly embeds PDFs up to 6 pages long
Beyond processing single modalities, the model natively understands interleaved input, allowing you to pass multiple modalities (e.g., image + text) in a single request to capture nuanced relationships between different media types.
Flexible Output Dimensions
Gemini Embedding 2 incorporates Matryoshka Representation Learning (MRL), enabling flexible output dimensions scaling down from the default 3072. This lets developers balance performance and storage costs. Google recommends using 3072, 1536, or 768 dimensions for highest quality.
Integration and Use Cases
The model is designed for multimodal downstream tasks including Retrieval-Augmented Generation (RAG), semantic search, sentiment analysis, and data clustering. It's available through multiple platforms:
- Gemini API
- Vertex AI
- LangChain, LlamaIndex, Haystack
- Vector databases: Weaviate, QDrant, ChromaDB, and Vector Search
Google provides interactive Colab notebooks for getting started with the Gemini API and Vertex AI implementations.
📖 Read the full source: HN AI Agents
👀 See Also

Claude's policy filter blocks bioinformatics work with pathogen names
A computational virology researcher reports Claude's usage policy filter flags legitimate bioinformatics scripts when pathogens are named, requiring workarounds like describing tasks without organism names or downgrading to Sonnet 4. The issue affects Claude Code, claude.ai, and both Opus 4.6 and Sonnet 4.6 models.

Claude Code Performance Regression Diagnosed: Configuration, Not Model Intelligence
Anthropic's postmortem reveals Claude Code's performance drop was caused by three product changes — default reasoning effort, session caching bug, and prompt-verbosity — not model degradation. Rollback restored performance.

Nemotron 3 4B Underperforms Qwen 3.5 4B in Demanding Benchmarks
A Reddit user tested Nemotron 3 4B Q8 against Qwen 3.5 4B Q8 on complex mathematical and programming tasks, finding Nemotron failed to produce correct reasoning and structured output while Qwen passed all tests.

Trump Pulls Back AI Executive Order Over Fears of Slowing US Tech
President Trump rescinded a Biden-era AI executive order, arguing it could hinder US technological leadership. The move eliminates federal safety reporting mandates.