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

Voyage AI - API - verified

Voyage Code 3 embeddings

Voyage Code 3 is a legacy embedding model from Voyage AI, called by API as voyage-code-3. It returns 1,024-dimension vectors by default and accepts up to 32,000 input tokens, for text and code input. The first-party list price is $0.18 per 1M input tokens.

LegacyModel id: voyage-code-3

Default dims
1,024
Max input
32,000 tok
Price / 1M
$0.18
Inputs
Text, Code

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.18
Batch, per 1M
Not stated

Older-model table lists $0.18 per 1M tokens with no free tokens, while the page intro still names voyage-code-3 among 200M-free-token models.

Source: docs.voyageai.com/docs/pricing

Usage

The sources read for this directory publish no copyable snippet for Voyage Code 3. Call it with the model id voyage-code-3 as shown in the provider docs linked under Sources.

Worth knowing

Listed under older models still accessible from the API; superseded by voyage-code-4.

Release date not stated in the sources. Multilingual: not stated.

FAQ

How many dimensions does Voyage Code 3 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 Code 3?

32,000 tokens per input, per Voyage AI's documentation. Longer text has to be chunked before you embed it.

How much does Voyage Code 3 cost?

The first-party list price is $0.18 per 1M input tokens. Older-model table lists $0.18 per 1M tokens with no free tokens, while the page intro still names voyage-code-3 among 200M-free-token models. Source: https://docs.voyageai.com/docs/pricing.

What can Voyage Code 3 embed?

Text and code input, per the provider.

Should I still use Voyage Code 3?

Voyage AI lists Voyage Code 3 as an older model. Existing indexes keep working while it is served, but vectors from different models cannot be mixed, so moving to a newer model means re-embedding your corpus.

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.