Skip to main content
Watch: I Built an AI App Without Leaving Databricks

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.

Python
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.

More Voyage AI embedding models

Default dimensions, max input tokens and list price per 1M tokens.

All embedding models

Newsletter

New models, every week

One email per week. New model releases, embedding and retrieval updates and what they mean for what you build.