Back to Embeddings & vector search

Model comparison

Voyage Context 4 vs Voyage Code 4

Compare Voyage Context 4 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

Estimate your cost

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.

How this estimate works

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.

Estimate your cost
ModelEstimated total (USD)
Voyage Code 4Voyage AI$0.0007
Voyage Context 4Voyage AI$0.0007

Quick take

Voyage Context 4

Voyage AI's document-aware embedding model that automatically creates vectors for chunks while preserving information from the surrounding document.

Best for

  • Long-document RAG
  • Knowledge bases where isolated chunks lose meaning
  • Teams that want managed contextual chunking

Watch out for

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 Code 4

Voyage AI's specialist embedding model for finding relevant code from natural-language questions or other source-code context.

Best for

  • Repository and symbol search
  • Coding-agent retrieval
  • RAG over multilingual source-code collections

Watch out for

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

Voyage Context 4 vs Voyage Code 4

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 searchVoyage Context 4Voyage 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 automatically32K tokens
Vector dimensionsSupported output sizes; smaller vectors reduce storage while larger vectors may preserve more information.256, 512, 1,024, or 2,0481,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 documentsCode 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 splittingQuery/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 routesVoyage API and MongoDB-integrated routes

How to choose

Compare the job, not the hype.

Start with the job you need to complete, then validate cost, access, and policy details on your exact provider route.

Voyage Context 4

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.

Voyage Code 4

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.

Frequently asked questions

Voyage Context 4 vs Voyage Code 4 FAQ

What is the main difference between Voyage Context 4 and Voyage Code 4?

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.

Should I choose Voyage Context 4 or Voyage Code 4?

Consider Voyage Context 4 when your priority is Long-document RAG. Consider Voyage Code 4 when your priority is Repository and symbol search. Test both with your own data and provider route before committing.

Is this Voyage Context 4 vs Voyage Code 4 comparison based on Cody benchmarks?

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.