For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
Docs Menu

Voyage AI Embedding and Reranking Models Overview

Voyage AI provides state-of-the-art embedding and reranking models. The Embedding and Reranking API provides access to the latest Voyage AI models. This page describes the available models and when to use them.

What are embedding models and rerankers?

Voyage AI provides the following text embedding models to capture the semantic meaning of text.

For details and example usage, see Text Embeddings.

Use the following models for most AI search and retrieval applications.

Model
Context Length
Dimensions
Description

voyage-4-large

32,000 tokens

1024 (default), 256, 512, 2048

The best general-purpose and multilingual retrieval quality. All embeddings created with the 4 series are compatible with each other.

To learn more, see the blog post.

voyage-4

32,000 tokens

1024 (default), 256, 512, 2048

Optimized for general-purpose and multilingual retrieval quality. All embeddings created with the 4 series are compatible with each other.

To learn more, see the blog post.

voyage-4-lite

32,000 tokens

1024 (default), 256, 512, 2048

Optimized for latency and cost. All embeddings created with the 4 series are compatible with each other.

To learn more, see the blog post.

Use the following models for specialized domains to achieve better accuracy.

Model
Context Length
Dimensions
Description

voyage-code-4

32,000 tokens

1024 (default), 256, 512, 2048

Optimized for code retrieval and agentic-coding applications. Recommended for new code-retrieval use cases.

To learn more, see the blog post.

voyage-finance-2

32,000 tokens

1024

Optimized for finance retrieval and RAG applications.

To learn more, see the blog post.

voyage-law-2

16,000 tokens

1024

Optimized for legal retrieval and RAG applications.

To learn more, see the blog post.

Voyage also provides the following open-weight models.

Model
Context Length
Dimensions
Description

voyage-4-nano

32,000 tokens

512 (default), 128, 256

Open-weight model available on Hugging Face. All embeddings created with the 4 series are compatible with eachother

To learn more, see the blog post.

Voyage AI provides the following models that generate embeddings while incorporating surrounding context for improved retrieval accuracy.

For details and example usage, see Contextualized Chunk Embeddings.

Model
Context Length
Dimensions
Description

voyage-context-4

120,000 tokens *

1024 (default), 256, 512, 2048

Contextualized chunk embeddings optimized for general-purpose and multilingual retrieval quality.

Note

* The total number of tokens across all inputs must not exceed 120K if enable_auto_chunk = true; otherwise they must not exceed 32K.

Voyage AI provides the following embedding models that process text, images, and video.

For details and example usage, see Multimodal Embeddings.

Model
Context Length
Dimensions
Description

voyage-multimodal-3.5

32,000 tokens

1024 (default), 256, 512, 2048

Rich multimodal embedding model that can vectorize interleaved text and visual data, such as screenshots of PDFs, slides, tables, figures, videos, and more.

To learn more, see the blog post.

Voyage AI provides the following reranking models to refine your search results.

For details and example usage, see Rerankers.

Model
Context Length
Description

rerank-3

32,000

Highest accuracy. Recommended for most applications.

To learn more, see the blog post.

rerank-3-lite

32,000

Fast and cost-effective model optimized for latency-sensitive applications.

To learn more, see the blog post.

Scoped endpoints don't serve every Voyage AI model. The Supported Endpoints column of the model tables lists All for models that every endpoint serves, and ai.mongodb.com for models that only the unscoped endpoint serves.

To check which endpoints serve a given model, see Model Deprecations, Lifecycle States, and Support.

To learn about Geographies and their endpoints, see Geographies for Voyage AI Inference.

Model pricing is usage-based, with charges billed to the Atlas account linked to the API key used for access. All models include a free tier. Get started with 200 million free tokens for most models, or 50 million tokens for specialized models.

Pricing is based on the number of tokens in your documents and queries. The free tier includes 200 million tokens for most models, and 50 million tokens for the following specialized models: voyage-finance-2, voyage-law-2, voyage-code-2.

Model
Price per 1K tokens
Price per 1M tokens
Free tokens

voyage-4-large

$0.00012

$0.12

200 million

voyage-4

$0.00006

$0.06

200 million

voyage-4-lite

$0.00002

$0.02

200 million

voyage-code-4

$0.00012

$0.12

200 million

voyage-finance-2
voyage-law-2
voyage-code-2

$0.00012

$0.12

50 million