Model comparison
Voyage Context 4 vs Voyage Code 4
Provider-published facts for Voyage Context 4 and Voyage Code 4, side by side: price, limits, inputs, access and data policy. No mystery scores and no invented benchmark rankings.
Model comparison
Provider-published facts for Voyage Context 4 and Voyage Code 4, side by side: price, limits, inputs, access and data policy. No mystery scores and no invented benchmark rankings.
Set your usage. Your estimate updates as you type.
Estimated total (USD)
These models cost the same for this usage.
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.
Quick take
Voyage AI's document-aware embedding model that automatically creates vectors for chunks while preserving information from the surrounding document.
Automatic chunking is convenient but less application-controlled than a custom parser. Test headings, tables, citations, metadata, and update behavior before adopting it across a document estate.
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 | Voyage Context 4 | Voyage Code 4 |
|---|---|---|
| Embedding priceCurrent provider price per million input tokens or the closest published billing unit. | $0.12 / 1M tokens after 200M free | $0.12 / 1M tokens after 200M free |
| Input capacityMaximum content accepted in one embedding input, using the provider's documented token basis. | 32K per internal pass; longer documents split automatically | 32K tokens |
| Vector dimensionsSupported output sizes; smaller vectors reduce storage while larger vectors may preserve more information. | 256, 512, 1,024, or 2,048 | 1,024 default; 256, 512, or 2,048 optional |
| Accepted inputsText, code, image, audio, video, PDF, or document-aware input supported by the endpoint. | Whole text documents | Code and natural-language text |
| Retrieval controlsQuery/document modes, task types, truncation, chunking, or other controls that shape vectors for retrieval. | Automatic contextual chunking, overlap, and long-document splitting | 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. | Voyage hosted API and MongoDB-integrated routes | 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.
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
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
Voyage Context 4: Voyage AI's document-aware embedding model that automatically creates vectors for chunks while preserving information from the surrounding document. Voyage Code 4: Voyage AI's specialist embedding model for finding relevant code from natural-language questions or other source-code context.
Best fit for Voyage Context 4: Long-document RAG. Best fit for Voyage Code 4: Repository and symbol search. Test both with your own data and provider route before committing.
From each provider's own documentation, pricing and policy pages for the Embeddings & vector search category. Cody does not add its own benchmark scores or name a universal winner.