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/pr…

voyageai/voyage-code-4-20260812

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)

Specifications & capabilities

Input
text
Output
embeddings
Context window · tokens
32000
Capabilities
embeddings

Published prices

1–2 / 2

mongodb/voyage-code-4 ↗

$0.12

Inference provider
openRouter
Platform
OpenRouter
Unit
input_tokens_per_million
Currency
USD
Billing conditions

mongodb/voyage-code-4 ↗

$0.00

Inference provider
openRouter
Platform
OpenRouter
Unit
output_tokens_per_million
Currency
USD
Billing conditions

Source specification observations

1–2 / 2

openRouter ↗

field
context_length
value
32000
normalized value
32000
scope
source-model
source id
openRouter
confidence
1

openRouter ↗

field
max_output_tokens
value
28800
normalized value
28800
scope
source-model
source id
openRouter
confidence
1

Original sources

1–2 / 2

OpenRouter · Model page ↗

OpenRouter · Catalog ↗

Source links

1–1 / 1

Explore more models

Models

Loading
EVIDENCE / COMPARISON

Benchmarks

Explore every benchmark

Loading

These charts contain model-linked results. The charts above also include unlinked source profiles. Compare scores within each evaluation. Model quality, usage, transparency and system performance measure different things.

Install TensorTrace