Model comparison

vs

voyage-code-4 vs voyage-4-large

Compared on price, indexing cost, vector size and input limits.

The short answer

  • Voyage Code 4 and Voyage 4 Large cost the same, $0.12/M tokens.
  • Both take up to 32k tokens per text.

Side-by-side specs

Specvoyage-code-4voyage-4-large
ProviderVoyage AIVoyage AI
Price$0.12/M$0.12/M
Max input32k tokens32k tokens
Default dimensions1,0241,024
Storage per 1M vectors4.1 GB4.1 GB
AcceptsText, CodeText
Multilingual—Yes
WeightsClosedClosed

Same work, both models

Workloadvoyage-code-4voyage-4-large
Index 10,000 help articles~800 tokens each, 8M tokensSame$0.96$0.96
Index a 1M-line codebase~10 tokens a line, 10M tokens$1.20$1.20
Embed 1M search queries~20 tokens each, 20M tokens$2.40$2.40

At listed rates, before the 5% platform fee. Re-embedding an index costs the same again.

When to pick which

voyage-code-4

Voyage Code 4 is Voyage AI's code-retrieval embedding model, trained so natural-language queries such as bug reports find the right code for coding agents. It succeeds voyage-code-3 at a third lower price.

Pick it if

  • you index source code for coding agents or natural-language code search
  • you want Voyage's reported 27.54% gain over voyage-code-3 on agentic retrieval
  • you need 256-2048 Matryoshka dimensions to trade index size for accuracy

Skip it if

  • your corpus is general prose; voyage-4-lite costs a sixth as much
  • you need open weights to embed code on your own hardware

voyage-4-large

Voyage 4 Large is the top tier of Voyage AI's Voyage 4 embedding series, a mixture-of-experts model for general-purpose and multilingual retrieval. It sits above voyage-4 and voyage-4-lite, and all three share one embedding space.

Pick it if

  • retrieval quality matters more than cost per token
  • you want to embed documents with it and run queries on voyage-4-lite
  • you need multilingual retrieval or 256-2048 dimension embeddings

Skip it if

  • voyage-4 or voyage-4-lite is accurate enough at a lower price
  • you are indexing source code; voyage-code-4 targets code retrieval

FAQ

Which is cheaper, Voyage Code 4 or Voyage 4 Large?

Voyage Code 4 and Voyage 4 Large cost the same, $0.12/M tokens.

Which handles longer documents?

Both take up to 32k tokens per text.

Can I switch from Voyage Code 4 to Voyage 4 Large without re-indexing?

No. Vectors from different embedding models are not comparable, so a switch means re-embedding the whole corpus.

Try either model

Switch between models inside the same Octomind session.

Prices from the catalog of 2026-10-22