VoyageAI
VoyageAI by MongoDB: voyage-code-4
voyageai/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 2048, 1024, 512, and 256 dimensions and multiple quantization options. Learn more about voyage-code-4 here: blog.voyageai.com/2026/08/13/voyage-code-4
Input
$0.12
/ 1M tokens · Token reference
Output
$0
/ 1M tokens · Token reference
Context window
32K
tokens
Embeddings output · Token reference fields do not establish an output-unit price.
Limits
Context
32,000
tokens
Max output
28,800
90% of the context window
Model facts
Author
VoyageAI
Tokenizer
Other
Modality
Text -> Embeddings
Created
Aug 13, 2026
Publication status
Hugging Face: not mappedLicense: not publishedParameter count: not published
Modalities
Input · TextOutput · Embeddings