voyage-code-4

Code-retrieval embedding built for coding agents.

voyage-code-4 is a code embedding model from Voyage AI (a MongoDB company), designed for coding agents and code retrieval, with Matryoshka embeddings at 2048, 1024, 512 and 256 dimensions.

Provider
Voyage AI (MongoDB)
Type
Embedding model
Released
Aug 13, 2026
Context window
32K tokens
Price
$0.12 per 1M input tokens
Input
text
Output
embedding
Open weights
No

Best for

Strengths

More from Voyage AI (MongoDB)

Sources