# Voyage AI

CreateWithAI Hub page: https://createwithaihub.com/apis-sdks/voyage-ai
Latest version of this file: https://createwithaihub.com/apis-sdks/voyage-ai.md

- Type: API / SDK · Category: APIs & SDKs
- Publisher: Voyage AI (MongoDB)
- Pricing: Free plan plus paid plans
- Runs on: API (cloud)

MongoDB-owned API for text, code, domain-specific and multimodal embeddings and rerankers, with large free token allowances.

Voyage AI offers embedding models (voyage-4-large, voyage-4, voyage-4-lite, voyage-code-4, voyage-context-4, finance and law models, multimodal models) and rerankers (rerank-3, rerank-3-lite) through a REST API and official Python and TypeScript libraries. MongoDB acquired Voyage AI in February 2025; the models remain available through Voyage's API and the AWS and Azure marketplaces. The open-weight voyage-4-nano can also run locally without an API key.

Useful for: Embedding a code base or legal documents for semantic search and reranking the top results before sending them to an LLM.

## Key features

- voyage-4 family with 32,000-token context and 256 to 2048 dimensions
- Domain models: voyage-code-4, voyage-finance-2, voyage-law-2; voyage-context-4
- Multimodal embeddings for text, images and video frames (voyage-multimodal-3.5)
- Rerankers rerank-3 and rerank-3-lite
- Python (voyageai) and TypeScript libraries; voyage-4-nano runs locally
- Batch API with a 12-hour completion window, priced 33% below the standard endpoints

## Connection

- Modality: Text, Multimodal
- SDK language: Python, TypeScript / JS
- Free tier: Has a free tier

## Before you start

- Voyage AI API key

## Install steps from the official documentation

Python with local model support:

```
pip install "voyageai[local]"
```

## Limitations

- Free allowance is per account and per model (200M tokens for current models such as voyage-4 and voyage-code-4, 50M for some older ones such as voyage-law-2; none for the oldest models such as voyage-code-3)
- Free tokens do not apply to Batch API usage
- Hosted API only, apart from the open-weight voyage-4-nano

## Official links

- Website: https://www.voyageai.com
- Source repository: https://github.com/voyage-ai/voyageai-python
- Documentation: https://docs.voyageai.com/docs/embeddings
- Source: https://docs.voyageai.com/docs/pricing (Per-model prices (e.g. voyage-4 $0.06/1M, voyage-4-large $0.12/1M, rerank-3 $0.05/1M), free token allowances, multimodal pixel pricing, 33% batch discount)
- Source: https://docs.voyageai.com/docs/embeddings (Model list with context length and dimensions, REST endpoint, Python and TypeScript libraries, voyage-4-nano open-weight)
- Source: https://github.com/voyage-ai/voyageai-python (Official Python library (MIT); pip install "voyageai[local]" for local voyage-4-nano)
- Source: https://investors.mongodb.com/news-releases/news-release-details/mongodb-announces-acquisition-voyage-ai-enable-organizations (MongoDB acquired Voyage AI (February 24, 2025); models remain available via voyage.ai, AWS and Azure marketplaces)
- Source: https://docs.voyageai.com/docs/batch-inference (Batch API: 12-hour completion window, 33% discount compared to standard endpoints)
