Not published
Only provider-documented reasoning controls are shown; missing controls remain unpublished rather than inferred.
MODEL REFERENCE / GOOGLE
Google stable text-only embedding model for semantic search, retrieval, clustering, classification, and similarity workflows.
PRIMARY-SOURCE VERIFIED
Google documents a 2,048-token context window. Input modalities: text. Output: embedding. Pricing status: Official paid API.
CAPABILITY CONTRACT
Only provider-documented reasoning controls are shown; missing controls remain unpublished rather than inferred.
Input modalities come from the cited official model documentation.
Output modality and output-limit claims remain separate so an undocumented token cap is not guessed.
PRICING STATUS
$0.15 input per 1 million tokens.
SXF preserves the provider-published native billing basis. Only calculator-eligible generative token models enter token-cost arithmetic; specialist units and input-only embeddings remain visible without forced conversion.
CAVEATS
Google explicitly states gemini-embedding-001 remains available for text-only embedding use cases alongside the newer multimodal Gemini Embedding 2.
Standard pricing is $0.15 per 1M text input tokens; embeddings have no generative output-token price.
The model is excluded from the generative token calculator because it is input-only embedding inference.
EXPLORE
OFFICIAL SOURCES
WHAT CHANGED
No post-baseline factual changes recorded for Gemini Embedding 001 since 2026-10-06.
VERIFIED CHANGE HISTORY
Baseline verified: 2,048 context · Not published max output · $0.15 input per 1 million tokens
Official evidence ↗Append-only SXF ledger · 1 verified event · chain head 5cb61a0bb057…
TEXT EMBEDDINGS · GOOGLE GEMINI API
Gemini Embedding 001 (gemini-embedding-001) is Google's stable text embedding model. It converts text into numerical vectors to help software find related passages by meaning instead of exact keywords. It is designed for semantic search, retrieval-augmented generation (RAG), clustering, classification and similarity scoring—not writing chat responses.
Google documents 2,048 input tokens per text and a 3,072-dimensional default vector, with shorter vectors such as 768 and 1,536 dimensions available to trade storage against retrieval quality. The Gemini Developer API charges $0.15 per million input tokens for paid Standard use and $0.075 per million for paid Batch use; an eligible free tier is also listed.
As of October 14, 2026, this text-only model remains available. Gemini Embedding 2 is Google's newer multimodal offering. Its vectors are not interchangeable with Embedding 001 vectors, so an upgrade requires re-embedding stored documents and queries. Google's embeddings documentation explains the migration rules.
Verified October 14, 2026 against Google's official Gemini API model card, embeddings guide and pricing documentation. The prices shown are Gemini Developer API reference rates; Vertex AI or contracted pricing can differ.
gemini-embedding-001API COSTS
Google bills this embedding model on input text tokens, not output tokens. A vector is returned instead of generated prose, so a separate text-generation output rate does not apply. Paid Standard pricing is $0.15 per 1 million input tokens; the asynchronous Batch API is $0.075 per 1 million, a 50% reduction for workloads that can tolerate delayed processing. Google also lists a free tier subject to applicable limits and terms.
| Serving mode | Price / 1M text tokens | Best for |
|---|---|---|
| Free tier | Free within quota | Experiments and light prototypes; quota and data-use terms apply |
| Paid Standard | $0.15 | Interactive indexing and on-demand embedding calls |
| Paid Batch | $0.075 | Offline ingestion and bulk re-indexing where completion time is flexible |
Estimate = input tokens ÷ 1,000,000 × selected rate. This is not a Google billing quote and excludes vector-database storage, retrieval infrastructure, subsequent Gemini generation, applicable tax and tier-specific terms.
Example: indexing 1 million documents averaging 500 input tokens is approximately 500 million tokens. At published rates that is $75 Standard or $37.50 Batch, before storage and search costs. The same document may need several chunks if it exceeds the model's per-input token limit. Check live Google Gemini API pricing.
VECTOR SPECIFICATIONS
The 2,048-token maximum applies to the input text sent to gemini-embedding-001. It is not a 2K-token generative context window: this endpoint generates a vector, not a chat completion. For long documents, chunk by tokens and add source metadata before indexing. Avoid silently truncating policies, citations or headings that matter to retrieval quality.
By default, Google returns a 3,072-number vector. Its Matryoshka Representation Learning support lets developers request shorter vectors using output_dimensionality. Google's suggested options are 768, 1,536 and 3,072 dimensions. Smaller vectors can materially reduce vector-database size and similarity-search compute, but the best dimensionality depends on your own retrieval recall and language mix.
| Dimensions | Bytes / vector | 1M vectors, decimal GB | Typical reason to test |
|---|---|---|---|
| 768 | 3,072 B | 3.072 GB | Lower storage cost, faster candidate search |
| 1,536 | 6,144 B | 6.144 GB | Middle ground between size and quality |
| 3,072 (default) | 12,288 B | 12.288 GB | Maximum documented vector detail |
Google notes that truncated Embedding 001 vectors should be normalized before cosine or dot-product ranking; the full 3,072-dimensional vector is already normalized. This differs from Gemini Embedding 2, which automatically normalizes shortened output. Whatever dimensionality you choose, configure your vector index to the same fixed dimension as both stored vectors and query vectors. Do not mix dimensions in one index. See Google's normalization guidance.
RETRIEVAL QUALITY
Unlike the newer Embedding 2 API, Embedding 001 uses the task_type parameter to optimize different relationships between text vectors. For document search, embed your indexed passages with RETRIEVAL_DOCUMENT and the search prompt with RETRIEVAL_QUERY. Matching the task to the workflow is often more useful than blindly increasing vector dimensionality.
| Task type | Use it for |
|---|---|
RETRIEVAL_DOCUMENT | Indexing documents, articles and code passages |
RETRIEVAL_QUERY | Embedding a user's search phrase before vector retrieval |
QUESTION_ANSWERING | Finding passages that answer a question |
CODE_RETRIEVAL_QUERY | Matching natural-language queries to indexed code |
SEMANTIC_SIMILARITY | Sentence similarity and near-duplicate detection; not the default document-retrieval setting |
CLASSIFICATION / CLUSTERING | Grouping, labeling and segmenting text |
FACT_VERIFICATION | Retrieving evidence relevant to checking a claim |
Google also documents usage-specific choices such as question answering and code retrieval. Use task settings consistently with your evaluation protocol; compare recall@k and answer quality on a labeled set rather than assuming a task label is a guaranteed quality boost.
DEVELOPER EXAMPLES
Install Google's supported SDK with pip install -U google-genai. Set GEMINI_API_KEY in your environment; never paste your key into a browser-side page. This minimal Python example embeds a document using the Gemini API and explicitly requests 768 dimensions:
from google import genai
from google.genai import types
client = genai.Client()
response = client.models.embed_content(
model="gemini-embedding-001",
contents="Refunds are available within 30 days with a receipt.",
config=types.EmbedContentConfig(
task_type="RETRIEVAL_DOCUMENT",
output_dimensionality=768,
),
)
document_vector = response.embeddings[0].values
print(len(document_vector)) # 768
The response contains embedding vectors, not a summary or generated answer. For search indexes, you should store each vector alongside a document identifier, title, chunk number, update timestamp and access-control metadata.
Use RETRIEVAL_DOCUMENT for indexed passages, RETRIEVAL_QUERY for the user question, and normalize both 768-dimensional vectors before comparing them. The following demo deliberately uses small in-memory vectors so it can be understood without an external vector database:
import math
from google import genai
from google.genai import types
client = genai.Client()
documents = [
"A customer may request a refund within thirty days.",
"Shipping usually takes three to five business days.",
]
doc_vectors = client.models.embed_content(
model="gemini-embedding-001",
contents=documents,
config=types.EmbedContentConfig(
task_type="RETRIEVAL_DOCUMENT",
output_dimensionality=768,
),
).embeddings
query_vector = client.models.embed_content(
model="gemini-embedding-001",
contents="How long do I have to ask for a refund?",
config=types.EmbedContentConfig(
task_type="RETRIEVAL_QUERY",
output_dimensionality=768,
),
).embeddings[0].values
def unit(vector):
length = math.sqrt(sum(value * value for value in vector))
return [value / length for value in vector] if length else vector
q = unit(query_vector)
scores = [
sum(a * b for a, b in zip(q, unit(item.values)))
for item in doc_vectors
]
best_index = max(range(len(scores)), key=scores.__getitem__)
print(documents[best_index], scores[best_index])
These scores demonstrate a vector-retrieval technique; they do not prove a fixed accuracy. In production, compute embeddings offline, keep access controls in the retrieval layer, apply metadata filters and optionally rerank the top candidates before sending grounded passages to a generative answer model. See Google's Python and task-type examples.
REAL APPLICATIONS
Index support articles or product descriptions as passage vectors; retrieve relevant chunks when users ask in different wording. Preserve citations and permissions with each result.
Retrieve passages using embeddings, then give those passages to a separate generative model. Gemini Embedding 001 itself does not formulate the final prose answer.
Find descriptions that convey similar intent, cluster duplicate records or build related-product suggestions. Test on genuine catalog examples.
Group tickets or feedback into topics and train downstream classifiers. Evaluate language coverage and class balance rather than treating vector proximity as certainty.
RETRIEVAL_DOCUMENT and one consistent dimensionality.RETRIEVAL_QUERY, filter by user permissions, then rank the candidate chunks.For privacy-sensitive data, send only documents you are authorized to process; review Google's free-tier versus paid-tier data-use terms. Embedding is a search primitive, not a substitute for an access-control system or factual verification.
2026 MODEL COMPARISON
Google released Gemini Embedding 2 as a newer multimodal embedding model. Embedding 001 remains relevant for existing text-only indexes and its lower published text-token rate. Embedding 2 is more flexible if you need vector search across text, images, audio, video or PDFs. The two models operate in incompatible embedding spaces—rebuild the index rather than mixing generations.
| Property | Gemini Embedding 001 | Gemini Embedding 2 |
|---|---|---|
| Input | Text | Text, images, audio, video, PDFs |
| Text token limit | 2,048 | 8,192 |
| Default vector | 3,072 dimensions | 3,072 dimensions |
| Paid Standard text price | $0.15 / 1M | $0.20 / 1M |
| Paid Batch text price | $0.075 / 1M | $0.10 / 1M |
| Task instructions | task_type field | Text instructions in prompt; no task_type field |
| Truncated vectors | Manually normalize | Auto-normalized |
Re-embed your stored corpus and all search queries using the new model; choose a consistent dimension; create a separate vector index; retune similarity thresholds; compare offline recall, ranking, speed and actual costs; and switch traffic gradually with a fallback. Never compare an Embedding 001 vector directly with an Embedding 2 vector, even when both have 768 dimensions. Consult Google's official migration section.
For a broader provider comparison, see Cohere Embed v4.0, Codestral Embed and Google's model catalog. Benchmark any replacement using the same dataset, retrieval task and infrastructure rather than comparing prices alone.
FREQUENTLY ASKED QUESTIONS
Gemini Embedding 001 converts text into numerical vectors for semantic search, RAG document retrieval, clustering, classification and similarity. It does not generate conversational text.
Google lists $0.15 per million input text tokens on the paid Standard Gemini API tier and $0.075 per million on Batch. An eligible free tier also exists. These are embedding input charges, not generative output-token charges.
Google lists a free Gemini API tier for this model, subject to limits and data-use terms. Production paid usage is charged by input tokens. Check the official pricing page for your account and serving route.
Google documents a limit of 2,048 input tokens per text. Chunk longer documents before embedding them and preserve metadata to reconnect retrieved results with the source.
The default embedding vector has 3,072 dimensions. Google recommends evaluating 768, 1,536 or 3,072 dimensions depending on the desired storage and retrieval-quality trade-off.
No. Gemini Embedding 001 is text-only. Google's newer Gemini Embedding 2 supports embedding text, images, video, audio and PDFs in a unified multimodal vector space.
Install the google-genai SDK, provide GEMINI_API_KEY, then call client.models.embed_content with model gemini-embedding-001 and an optional EmbedContentConfig specifying task_type and output_dimensionality.
Use RETRIEVAL_DOCUMENT when indexing source passages and RETRIEVAL_QUERY for the user's search text. Embed both sides with the same model and dimensionality and evaluate ranking quality.
Yes. Google recommends manual normalization for Embedding 001 vectors truncated below the default 3,072 dimensions before cosine or dot-product comparisons. Gemini Embedding 2 automatically normalizes shortened vectors.
No. Google states their embedding spaces are incompatible. Migrating requires re-embedding the stored corpus and query vectors and validating a separate index.
An embedding model returns a fixed-length vector representing text meaning, useful for search and similarity. A generative Gemini model produces text or other content; RAG commonly combines vector retrieval with a separate generator.
OFFICIAL SOURCES & REVIEW
Editorial review: October 14, 2026. Specifications are taken from Google AI for Developers model pages and embedding guides. Pricing refers to Gemini Developer API Standard and Batch text input; the cost tool and raw vector-memory estimates are arithmetic illustrations, not benchmark results. No model superiority, ranking outcome or performance guarantee is inferred from these numbers.