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=openrouter&utm_medium=referral)
Markdown snapshot for answer engines.
LabMongoDB
Context32,000 tokens
Input / 1M$0.120
Output / 1M$0.000
API cost calculator
Estimates from listed input and output prices per 1M tokens. Not a quote — providers change prices.
Price history
Listed input price per 1M tokens, from daily snapshots · $0.120 as of 23 Nov 2026.
OpenRouter / catalog snapshots
Compare
Related models
Questions
- Who makes voyage-code-4?
- voyage-code-4 is developed by MongoDB.
- How much does voyage-code-4 cost per 1M tokens?
- Listed input price is $0.120 per 1M tokens and output is $0.000 per 1M tokens, according to OpenRouter. Prices change; check the source before you buy.
- What is the context window of voyage-code-4?
- voyage-code-4 is listed with a context window of 32,000 tokens (OpenRouter catalog).
- Where does Maker Crown get data on voyage-code-4?
- We merge public catalogs from OpenRouter. We do not invent missing scores or prices. Empty fields mean the source has not published that number.
Sources: OpenRouter. Fields stay blank when a source has not published them.