Skip to content
RAG Explained Better

Voyage Embedding Models for RAG

Domain-specialised retrieval embeddings and where the specialisation actually shows up.

Voyage’s embedding models are strongest when retrieval quality, long context, and query-versus-document tuning matter more than zero-ops convenience. Their most distinctive operational feature, as of July 2026, is the shared embedding space across the Voyage 4 family, which can remove one of the ugliest migration costs in retrieval systems: a full re-index when you switch models inside that family.

What are Voyage embedding models, and what makes them distinctive for RAG?

Voyage provides hosted text embedding models built for retrieval, including general-purpose, latency-optimized, code, finance, and legal variants, plus an open-weight voyage-4-nano model on Hugging Face. In a RAG stack, that matters because the embedder decides what the index can find before the vector database ever searches it. Voyage’s current docs, the MongoDB-hosted Voyage docs, and Azure’s voyage-4 catalog entry all repeat the same core shape: long context windows, retrieval-specific query versus document tuning, and configurable output dimensions on the current family.

The retrieval-specific angle is the real difference. Voyage does not frame embeddings as a generic “text to vector” utility alone. Its current docs expose input_type for query versus document, and its current family keeps 32,000-token context windows on voyage-4-large, voyage-4, voyage-4-lite, and voyage-code-3, while voyage-law-2 keeps a 16,000-token window. If you need the concept background rather than the provider profile, that sits at embeddings in RAG; the parent hub for sibling providers is embedding models for retrieval.

Which Voyage models are current, and when should you use each one?

Use voyage-4-large when you want maximum general retrieval quality, voyage-4 when you want the balanced default, voyage-4-lite when latency and cost dominate, voyage-code-3 for code retrieval, voyage-finance-2 for finance, and voyage-law-2 for legal retrieval. The open-weight voyage-4-nano is the row to inspect when local development or self-hosting matters more than a fully hosted API.

Voyage embedding models for RAG, with the retrieval-relevant limits exposed, as of July 2026.
Model Context length Published dimensions Best fit in RAG
voyage-4-large 32,000 tokens 2048, 1024, 512, 256 Highest-quality general and multilingual retrieval on Voyage’s current family
voyage-4 32,000 tokens 2048, 1024, 512, 256 Balanced default when you want current-generation quality without the largest model
voyage-4-lite 32,000 tokens 2048, 1024, 512, 256 Latency-sensitive or cost-sensitive retrieval paths
voyage-code-3 32,000 tokens 2048, 1024, 512, 256 Code search and technical-document retrieval
voyage-finance-2 32,000 tokens 1024 Finance retrieval and finance-heavy RAG
voyage-law-2 16,000 tokens 1024 Legal retrieval and long-context legal RAG
voyage-4-nano 32,000 tokens Verify the live model card before pinning Open-weight local development or self-hosted experimentation inside the Voyage 4 family

The open-weight row needs one extra sentence because the docs do not present it identically everywhere. The main Voyage docs emphasize that voyage-4-nano stays compatible with the Voyage 4 family and list the same dimension choices as the hosted 4-series, while the MongoDB-hosted Voyage docs present a smaller published default-width set. That does not invalidate the model. It means you should verify the exact live card on the deployment surface you intend to use before you freeze an index shape. The broader provider-neutral chooser lives at how to choose an embedding model for RAG.

How do Voyage’s query and document modes change retrieval quality?

Voyage is an asymmetric retrieval encoder, so documents should be embedded as document and user questions as query. Voyage’s current docs say the API automatically prepends retrieval prompts when input_type is set: Represent the query for retrieving supporting documents: for queries and Represent the document for retrieval: for documents. That is not cosmetic syntax. It is the contract that tells the model which side of retrieval it is encoding.

The effect shows up in the LangChain case study from November 2023. The LangChain Team evaluated a docs chatbot built on a 6,522-document corpus with 50 gold query-answer pairs, kept GPT-4 fixed as the generator, and swapped only the embedding model. On their reported metrics, voyage-01 beat OpenAI’s text-embedding-ada-002 on retrieval quality (47.55 NDCG@10 versus 45.81) and on GPT-4-scored response quality (5.08 versus 4.34). Their fine-tuned voyage-langchain-01 rose further to 52.40 retrieval quality and 6.25 response quality. That is a narrower claim than “Voyage wins every benchmark,” but it is a more useful one: retrieval-specific tuning changed answer quality in a real docs QA workload. The wider evaluation method belongs on RAG evaluation.

What does the shared Voyage 4 embedding space change operationally?

The shared embedding space across voyage-4-large, voyage-4, voyage-4-lite, and voyage-4-nano means you can switch among those models without rebuilding the entire vector index. Voyage’s own docs say embeddings created with the 4 series are compatible with each other, and the Hugging Face card for voyage-4-nano makes the operational consequence explicit: teams can index with a higher-fidelity 4-series model and serve some query paths with a faster or cheaper 4-series sibling because the vectors remain directly comparable.

That compatibility is not a universal escape hatch. It applies inside the Voyage 4 family, not across every Voyage model ever published. If you switch from a Voyage 4 model to an older 3.x model, or from a general model to a domain-specific family such as voyage-law-2, you still face the normal migration cost of re-embedding the corpus. That is why this feature matters: it removes one migration boundary, not all of them. The deeper re-embedding and migration problem lives at embedding drift and re-indexing.

What are Voyage’s capabilities and limits, side by side?

Voyage’s capabilities are real, but each comes with an engineering ceiling. A profile page is most useful when those ceilings are named before you commit to the stack.

Voyage embeddings for RAG — what the product gives you, and what still constrains the system
Capability What you get The limit that rides along
Long context on the current family 32,000-token windows on the current general family and voyage-code-3, plus 16,000 on voyage-law-2 Long context does not make giant chunks retrieve well. You still have to test chunking on your own corpus.
Query-versus-document tuning Asymmetric retrieval embeddings from the same endpoint via input_type Wrappers that ignore the query/document distinction leave retrieval quality on the table.
Shared Voyage 4 space Model swaps inside the 4-series without a full re-index The compatibility boundary is the family itself. Older or domain-specific models still imply migration.
Flexible dimensions and output dtypes 2048, 1024, 512, or 256 output sizes on the current flexible family, plus float, int8, uint8, binary, and ubinary output dtypes Compression and smaller vectors save storage only if recall loss is acceptable on your own evaluation set.
Domain-specific models Dedicated legal, finance, and code retrieval families Those gains do not automatically transfer to a general corpus with different vocabulary.
Open-weight option voyage-4-nano creates a local or self-hosted path inside the same family Exact defaults differ across published surfaces, so the deployment card in front of you should win.

The table is easiest to trust when you tie it back to the docs. Voyage’s current embedding reference publishes the dimension and dtype options, including binary and ubinary. The Azure AI Foundry card for voyage-4 repeats the same dimension set and 32k context. The Nile’s Voyage guide adds two operational details many model inventories skip: it says Voyage embeddings are normalized to length 1, so L2, cosine, and dot product can be used interchangeably, and it warns that the free plan rate limits are strict enough that throughput planning still matters even when the headline token allowance sounds generous.

How much do Voyage embeddings cost as of July 2026?

Voyage’s public token pricing is straightforward on the MongoDB-hosted Voyage docs surface captured on 2026-07-28. As of July 2026, voyage-4-large is listed at $0.12 per 1M tokens, voyage-4 at $0.06, voyage-4-lite at $0.02, voyage-code-3 at $0.18, and the specialized voyage-finance-2, voyage-law-2, and older voyage-code-2 rows at $0.12. The same capture says most models include a free tier of 200 million tokens, while those specialized rows include 50 million free tokens.

The more important engineering fact is not the price table alone. It is where the bill compounds. API Scout’s 2026 comparison makes the same point the project docs imply: query embedding cost is often negligible compared with the cost of ingesting and re-ingesting the corpus. So the expensive architecture mistake is rarely “one extra query embedding.” It is choosing a model family casually, then paying to re-embed millions of chunks after the fact. Whole-system cost planning belongs at what a RAG system costs to run.

When do Voyage’s domain-specific and custom embeddings outperform general models?

Voyage’s specialization shows up when retrieval has domain vocabulary that general models blur together. Harvey’s July 2024 legal case study is the clearest proof in this capture. Harvey and Voyage fine-tuned a legal retrieval model from voyage-law-2 on more than 20 billion tokens of US case law plus expert-annotated retrieval examples, and they report that the resulting voyage-law-2-harvey model reduced irrelevant material in top results by nearly 25% versus the next-best off-the-shelf models while using one-third of the embedding dimensionality. That combination matters because it improves retrieval while also lowering storage and latency pressure.

The narrower lesson is more durable than the legal example. Domain-specific Voyage models can win when the corpus contains terminology that a general embedder treats as semantically flat. LangChain’s 2023 docs-QA experiment showed the same pattern on a smaller scale: the fine-tuned voyage-langchain-01 beat general voyage-01, which itself beat OpenAI’s older general model, because the tuned model had seen the domain vocabulary. The boundary is just as important as the upside: if your corpus is not legal, finance, code, or another tight domain, you should benchmark the specialized model against a good general embedder before you assume the specialization transfers. The deeper adaptation playbook belongs on domain-specific embeddings and fine-tuning.

How does Voyage compare with OpenAI, Cohere, and open-weight embedding models?

Voyage is strongest when you want a hosted text-retrieval specialist with long context, asymmetric query/document tuning, and domain variants. OpenAI is usually the easiest text-only default, Cohere has the broader multimodal and multilingual deployment story, and open-weight models are strongest when local control matters more than hosted convenience. API Scout’s 2026 comparison captures the broad benchmark surface without pretending it settles the decision: it lists voyage-3-large at 68.2 on MTEB, OpenAI text-embedding-3-large at 64.6, and text-embedding-3-small at 62.3, then immediately warns that chunking and retrieval design usually matter more in practice than a small leaderboard gap.

The honest summary is narrower than a ranked-list headline. Choose Voyage when retrieval quality itself is the product problem and you value long context, model-role tuning, and domain variants from one family. Choose OpenAI’s embedding models when you want the simplest hosted default for text RAG. Choose Cohere’s embedding models when multimodal or very broad multilingual deployment is the deciding factor. Choose the neutral method at how to choose an embedding model for RAG when you are not yet sure whether this profile’s strengths match your workload.

What are Voyage embedding models?

Voyage's embedding models are retrieval-focused text encoders for RAG, semantic search, and related search workloads. As of July 2026, the current family includes general-purpose Voyage 4 models, domain-specific code, finance, and legal variants, and an open-weight `voyage-4-nano` option.

Which Voyage embedding model should I use for RAG?

Use `voyage-4-large` when maximum general retrieval quality matters most, `voyage-4` when you want the balanced default, and `voyage-4-lite` when latency and cost matter more than the last quality increment. Use `voyage-code-3`, `voyage-finance-2`, or `voyage-law-2` only when your corpus really is code, finance, or legal text.

Do I need to re-index when switching Voyage 4 models?

Not when you stay inside the Voyage 4 family. Voyage's current docs and the Hugging Face card for `voyage-4-nano` say the 4-series models share one embedding space, so embeddings from `voyage-4-large`, `voyage-4`, `voyage-4-lite`, and `voyage-4-nano` remain directly comparable. Switching to an older 3.x family or to a different domain-specific family is still a re-embedding event.

How much do Voyage embeddings cost?

On the MongoDB-hosted Voyage docs surface captured on 2026-07-28, `voyage-4-large` is listed at $0.12 per 1M tokens, `voyage-4` at $0.06, `voyage-4-lite` at $0.02, and `voyage-code-3` at $0.18. The same page lists 200 million free tokens for most models and 50 million free tokens for the specialized finance, law, and older code rows.

When should I use Voyage instead of OpenAI or Cohere?

Use Voyage when retrieval quality itself is the main problem and you want long context, query-versus-document tuning, and domain-specific variants from one family. OpenAI is usually the easier text-only default, and Cohere is stronger when multimodal or very broad multilingual deployment is the deciding factor.