VoyageAI by MongoDB: voyage-code-4

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=&utm_medium=referral)

Context window
32,000 tokens
Input
text
Output
embeddings
Relay support
Price book only

Reference prices & points

CNY 1 = 1,000 points. The table shows site reference rates; charges use actual usage. · Price version 2

Billing unitOur price / CNYPoints
Input / 1M tokens¥1.0321,032
Output / 1M tokens¥00

Catalogue rates are for reference. The settled charge uses actual usage for that request, at the price version locked when it was reserved. Caching, long context, images and audio are charged when used. Listed prices do not mean every capability is available through this relay.

Catalogue time: 2026-11-13T17:59:18.241Z · Live catalogue

Integration & availability

This model is listed in the price book but cannot be called from this workspace. The workspace supports text chat, vision and optional web search. Turn on Image mode to find eligible image generators. Other modalities are currently price-book entries.

Read the API guide → · Back to model directory