- Text Embeddings
Gemini Embedding 001 is Google’s production-grade text embedding model that provides high-quality, multilingual vector representations for retrieval, classification, and other language tasks.
Powered by Google
Gemini Embedding 2 is Google's natively multimodal embedding model that maps text, images, video, audio, and documents into a single semantic vector space. It is notable for unifying many media types in one model to power cross-modal search and retrieval.
Output tokens per second · Higher is better
Seconds · Lower is better
USD per 1M tokens (blended) · Lower is better
About the model
Gemini Embedding 2 is a proprietary multimodal embedding model from Google that produces numerical vector representations for text, images, audio, video, and documents in a unified space. Its main use cases include powering retrieval-augmented generation, semantic search, recommendation, and classification across mixed media, and enabling cross-modal applications like using a text query to retrieve relevant images or video clips. It is part of Google’s Gemini Embedding family and succeeds earlier text-focused Gemini embedding models.
Model capabilities
Generates dense vector representations of text inputs optimized for semantic similarity, clustering, search, and other retrieval-augmented applications.
Creates embeddings for text in many languages, enabling cross-lingual search, retrieval, and clustering across diverse multilingual content.
Encodes relatively long documents into embeddings, supporting use cases like document search, recommendation, and large-scale corpus analysis.
Produces embeddings for source code snippets, improving code search, code recommendation, and semantic understanding across programming languages.
Supports joint embedding space for text and images, enabling multimodal retrieval like image search based on natural language queries.
Use cases
Transparent pricing
LLM API offers the lowest cost and latency for Gemini-class embeddings.
| Provider | Region | Latency | Throughput | Uptime | Input ($/1M) | Output ($/1M) | Context |
|---|---|---|---|---|---|---|---|
| LLM API BEST | Global | 80ms | 120K tokens/s | 99.99% | $0.05 | $0.00 | 512K tokens |
| Global | ~150ms | ~60K tokens/s | 99.9% | ~$0.13 | $0.00 | ~307K tokens | |
| Vertex AI (Google Cloud) | US East | ~160ms | ~55K tokens/s | 99.9% | ~$0.15 | $0.00 | ~307K tokens |
| AWS Bedrock (equivalent embedding model) | US East | ~180ms | ~50K tokens/s | 99.9% | ~$0.12 | $0.00 | ~100K tokens |
| Azure AI (equivalent embedding model) | EU West | ~190ms | ~45K tokens/s | 99.9% | ~$0.11 | $0.00 | ~100K tokens |
Performance benchmarks
| Metric | Gemini Embedding 2 | OpenAI text-embedding-3-large | Cohere Embed v3 English | AWS Titan Text Embeddings V2 |
|---|---|---|---|---|
| Embedding Dimensions | 3072 | 3072 | 1024 | 1024 |
| Max Input Tokens | 8,192 | — | — | 8,000 |
| Price per 1M Tokens (Input) | $0.02 | $0.13 | $0.10 | $0.12 |
| Price per 1M Tokens (Output) | — | $0.13 | — | — |
| Modalities Supported | Text, Image | Text | Text | Text |
| Throughput | — | — | — | — |
| Avg Latency | — | — | — | — |
| Service Uptime (SLA) | — | — | — | — |
30-day usage via LLM API
Architecture & Integration
One unified API. Every major model. Built-in reliability, cost control, and observability.
Automatically route each request to the optimal model across providers based on latency, capability, and policies—no client changes, just better defaults.
One endpoint, every modelDefine per-project or per-tenant budgets, choose cost ceilings, and let LLM.API pick the cheapest model that still meets your quality and latency targets.
Lower spend, same outputEliminate single-vendor outages with built-in failover across providers, automatic retries, and policy-based degradation that keeps your product responsive.
Never ship 500s againGet unified logs, traces, and metrics for every provider—latency, errors, token usage, and prompts—all correlated to requests and tenants in one place.
See every token flowDescribe tasks, constraints, and tools once; LLM.API handles model selection, tool calling, and execution flow so you focus on product logic, not glue code.
Ship workflows, not wiringProcess millions of inferences efficiently with bulk submission, concurrency control, and automatic chunking tuned for each provider’s limits and quotas.
Scale from 10 to millionsDecision guide
FAQ
Gemini Embedding 2 is Google’s latest text and code embedding model designed to generate dense vector representations for search, retrieval, and semantic similarity.
Gemini Embedding 2 supports text and code inputs only; it does not embed images, audio, or other modalities.
You call the unified LLM.API embeddings endpoint with the provider set to Google and model set to Gemini Embedding 2.
Gemini Embedding 2 supports input sequences up to 8,192 tokens, after which inputs must be truncated or chunked.
Embedding requests typically return in tens of milliseconds to low hundreds of milliseconds per batch, depending on batch size and network latency.
LLM.API charges per 1,000 input tokens for Gemini Embedding 2, with the exact rate shown in your LLM.API pricing and usage dashboard.
Gemini Embedding 2 offers strong multilingual and code understanding, often outperforming many older open-source embedding models in retrieval and semantic similarity benchmarks.
Gemini Embedding 2 cannot generate text, has a fixed maximum context length, and may encode provider-specific biases present in its training data.
Yes, Gemini Embedding 2 supports many languages and produces a shared embedding space suitable for cross-lingual retrieval and semantic search.
Yes, you can send an array of input texts in a single embeddings request to Gemini Embedding 2 to reduce per-item latency and cost.
Compare
Gemini Embedding 001 is Google’s production-grade text embedding model that provides high-quality, multilingual vector representations for retrieval, classification, and other language tasks.
bge-base-en-v1.5 is a base-sized English text embedding model from BAAI’s BGE (BAAI General Embedding) series, optimized for semantic similarity and retrieval. It generates 768-dimensional embeddings for…
Trinity Mini is a 26B-parameter (3B active) sparse mixture-of-experts language model from Arcee AI, optimized for efficient long-context reasoning with low per-token cost. It is an…