Voyage AI - API - verified
Voyage Context 4 embeddings
Voyage Context 4 is a current embedding model from Voyage AI, called by API as voyage-context-4. It returns 1,024-dimension vectors by default and accepts up to 32,000 input tokens, for text input. The first-party list price is $0.12 per 1M input tokens.
CurrentModel id: voyage-context-4
- Default dims
- 1,024
- Max input
- 32,000 tok
- Price / 1M
- $0.12
- Inputs
- Text
Dimensions
Flexible output size- 2,048
- 1,024default
- 512
- 256
Default output: 1,024 dimensions.
Listed sizes: 2,048, 1,024, 512 and 256.
Voyage AI documents shorter output vectors for this model (Matryoshka-style), so you can store smaller embeddings by asking for fewer dimensions instead of re-embedding with another model.
Pricing
- Per 1M input tokens
- $0.12
- Batch, per 1M
- Not stated
First 200 million tokens free per account; overlapping chunk tokens are billed as input tokens.
Source: docs.voyageai.com/docs/pricing
Usage
Copied verbatim from the page linked below. Placeholders such as project ids and API keys are the source's own.
import voyageai
vo = voyageai.Client()
result = vo.contextualized_embed(
model="voyage-context-4",
inputs=[
"What was the revenue growth for Leafy Inc. in Q2 2024?",
"What changed in Greenery Corp. between Q1 and Q2 2024?",
],
input_type="query",
)Source: docs.voyageai.com/docs/contextualized-chunk-embeddings
Worth knowing
Contextualized chunk embeddings with a 32,000-token per-chunk window and up to 120K total tokens per request when enable_auto_chunking is true.
Release date not stated in the sources. Multilingual: yes.
FAQ
How many dimensions does Voyage Context 4 output?
Default output: 1,024 dimensions. Listed sizes: 2,048, 1,024, 512 and 256. Voyage AI documents shorter output vectors for this model (Matryoshka-style), so you can store smaller embeddings by asking for fewer dimensions instead of re-embedding with another model.
What is the max input length of Voyage Context 4?
32,000 tokens per input, per Voyage AI's documentation. Longer text has to be chunked before you embed it.
How much does Voyage Context 4 cost?
The first-party list price is $0.12 per 1M input tokens. First 200 million tokens free per account; overlapping chunk tokens are billed as input tokens. Source: https://docs.voyageai.com/docs/pricing.
What can Voyage Context 4 embed?
Text input, per the provider. It is documented as multilingual.
Sources
Last verified from the pages below.
- Voyage contextualized chunk embeddings docs - docs.voyageai.com
- Voyage pricing - docs.voyageai.com
More Voyage AI embedding models
Default dimensions, max input tokens and list price per 1M tokens.
- Voyage 4 Large1,024 dims - 32,000 tokens - $0.12
- Voyage 41,024 dims - 32,000 tokens - $0.06
- Voyage 4 Lite1,024 dims - 32,000 tokens - $0.02
- Voyage Code 41,024 dims - 32,000 tokens - $0.12
- Voyage Multimodal 3.51,024 dims - 32,000 tokens - $0.12
- Voyage Finance 21,024 dims - 32,000 tokens - $0.12
- Voyage Law 21,024 dims - 16,000 tokens - $0.12
- Voyage 4 Nano1,024 dims - 32,000 tokens - Self-hosted
- Voyage 3 LargeLegacy1,024 dims - 32,000 tokens - $0.18
- Voyage 3.5Legacy1,024 dims - 32,000 tokens - $0.06
- Voyage 3.5 LiteLegacy1,024 dims - 32,000 tokens - $0.02
- Voyage Code 3Legacy1,024 dims - 32,000 tokens - $0.18
- Voyage Context 3Legacy1,024 dims - 32,000 tokens - $0.18
- Voyage Multimodal 3Legacy1,024 dims - 32,000 tokens - $0.12
- Voyage 3Legacy1,024 dims - 32,000 tokens - $0.06
- Voyage 3 LiteLegacy512 dims - 32,000 tokens - $0.02
- Voyage Multilingual 2Legacy1,024 dims - 32,000 tokens - $0.12
- Voyage Large 2 InstructLegacy1,024 dims - 16,000 tokens - $0.12
- Voyage Large 2Legacy1,536 dims - 16,000 tokens - $0.12
- Voyage 2Legacy1,024 dims - 4,000 tokens - $0.10
Newsletter
New models, every week
One email per week. New model releases, embedding and retrieval updates and what they mean for what you build.
Keep exploring
Model API pricing and specs
First-party prices per 1M tokens for chat and reasoning models.
Local models
Open-weight LLMs you can download and run, with sizes and licenses.
What is RAG?
Where embeddings fit in a retrieval pipeline, end to end.
Vector databases compared
Where the vectors go once you have picked a model.