Model dossier

VoyageAI by MongoDB: voyage-code-4

voyage-code-4 is a code embedding model from Voyage AI, a MongoDB company. It is designed for coding agents and code retrieval, with Matryoshka embeddings at 2048t voyage-code-4 here: [mongodb.com/products/platform/ai-search-and-retrieval/models](https://www.mongodb.com/products/platform/ai-search-and-retrieval/models?utm_source=TVP&utm_medium=referral)

Context32,000
Max output28,800
Pricing viewTVP price

VoyageAI by MongoDB: voyage-code-4

Model ID
voyageai/voyage-code-4
Canonical slug
voyageai/voyage-code-4-20260812
Knowledge cutoff
n/a
Created
8/13/2026
textembeddings
text->embeddingsembeddingstext
Context32,000
Max output28,800
TokenizerOther