Model comparison
Gemini Embedding 2 vs Voyage Code 4
Compare Gemini Embedding 2 and Voyage Code 4 using the same provider-sourced embeddings & vector search rubric. No mystery score and no invented benchmark ranking.
Facts checked September 4, 2026
Model comparison
Compare Gemini Embedding 2 and Voyage Code 4 using the same provider-sourced embeddings & vector search rubric. No mystery score and no invented benchmark ranking.
Facts checked September 4, 2026
Set your usage. Your estimate updates as you type.
Assumes 600 tokens per page, processed separately. Actual token counts vary. This covers embedding only, not storage, search, or generated answers.
Estimates exclude taxes, tools, cache storage/writes, free allowances and custom discounts. Image estimates cover output only, not prompt or reference-image charges. Quality modes differ by model. Unlisted settings are not treated as free.
| Model | Access | Estimated total (USD) |
|---|---|---|
| Voyage Code 4Voyage AI | Voyage AI | $0.0007 |
| Gemini Embedding 2Google | $0.0012 |
Quick take
Google's multimodal embedding model for placing text, images, video, audio, and PDFs in one searchable vector space.
Media inputs have separate limits and prices, so text-only cost estimates do not describe a multimodal index. Free-tier and paid Gemini API data-use terms also differ.
Voyage AI's specialist embedding model for finding relevant code from natural-language questions or other source-code context.
A specialist code model is not automatically better for README files, tickets, or business documentation. Evaluate mixed repositories separately and account for recurring re-index costs.
Compare the published facts
Values use each provider's own published units and limits. A blank means the provider did not publish a directly comparable value in the sources reviewed.
| Embeddings & vector search | Gemini Embedding 2 | Voyage Code 4 |
|---|---|---|
| Embedding priceCurrent provider price per million input tokens or the closest published billing unit. | Text $0.20 / 1M tokens; multimodal rates vary | $0.12 / 1M tokens after 200M free |
| Input capacityMaximum content accepted in one embedding input, using the provider's documented token basis. | 8,192 text tokens; media has separate limits | 32K tokens |
| Vector dimensionsSupported output sizes; smaller vectors reduce storage while larger vectors may preserve more information. | 128–3,072; 768, 1,536, or 3,072 recommended | 1,024 default; 256, 512, or 2,048 optional |
| Accepted inputsText, code, image, audio, video, PDF, or document-aware input supported by the endpoint. | Text, image, video, audio, PDF | Code and natural-language text |
| Retrieval controlsQuery/document modes, task types, truncation, chunking, or other controls that shape vectors for retrieval. | Task types, output dimension, title for retrieval documents | Query/document modes, truncation, and shared Voyage 4 vector space |
| Where it runsDirect API, cloud marketplace, private deployment, or self-hosted route documented by the provider. | Gemini Developer API and Google AI Studio | Voyage API and MongoDB-integrated routes |
How to choose
Start with the job you need to complete, then validate cost, access, and policy details on your exact provider route.
Google's Gemini API terms distinguish unpaid and paid services: content from unpaid services may be used to improve products, while paid-service prompts and responses are not used to improve products.
Provider and API links
Voyage's public terms allow customer content to improve services unless the customer opts out. Eligible paid organizations can configure an opt-out and zero-day retention; separately negotiated enterprise terms may differ.
Provider and API links
Frequently asked questions
Gemini Embedding 2: Google's multimodal embedding model for placing text, images, video, audio, and PDFs in one searchable vector space. Voyage Code 4: Voyage AI's specialist embedding model for finding relevant code from natural-language questions or other source-code context.
Consider Gemini Embedding 2 when your priority is Multimodal search across text and media. Consider Voyage Code 4 when your priority is Repository and symbol search. Test both with your own data and provider route before committing.
No. This comparison aligns provider-published facts for the Embeddings & vector search category. It does not claim a universal winner or combine incompatible third-party benchmark scores.