Mistral: Codestral Embed 2505 vs. VoyageAI by MongoDB: voyage-code-4
Ein direkter Vergleich von Mistral: Codestral Embed 2505 (0,52 $ / 1 Mio. Tokens (≈ 0,47 €)) und VoyageAI by MongoDB: voyage-code-4 (0,42 $ / 1 Mio. Tokens (≈ 0,37 €)) mit aktuellen USD-Preisen und Funktionen aus dem api14-Katalog. Beide laufen über dieselbe OpenAI-kompatible API.
Technische Daten
| Mistral: Codestral Embed 2505 | VoyageAI by MongoDB: voyage-code-4 | |
|---|---|---|
| Anbieter | Mistral | VoyageAI by MongoDB |
| Eingabe | 0,52 $ / 1 Mio. Tokens (≈ 0,47 €) | 0,42 $ / 1 Mio. Tokens (≈ 0,37 €) |
| Kontextfenster | 8.192 | 32.000 |
| Max. Ausgabe | 6.553 | 28.800 |
| Eingabe | text | text |
| Ausgabe | embeddings | embeddings |
| Tool Calling | ||
| Strukturierte Ausgabe | ||
| Reasoning-Steuerung | ||
| Hinzugefügt | 30.10.2025 | 13.08.2026 |
Die wichtigsten Unterschiede
- VoyageAI by MongoDB: voyage-code-4 ist bei Eingabe-Tokens 20% günstiger.
- VoyageAI by MongoDB: voyage-code-4 liest 3.9× mehr Kontext (32.000 Tokens).
Wechseln mit einem String
Beide Modelle nutzen denselben Endpunkt und dieselbe Anfragestruktur. Ändern Sie den model-Wert von "mistralai/codestral-embed-2505" auf "mongodb/voyage-code-4", Prompts, Streaming und Tools funktionieren weiter.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.embeddings.create({
"model": "mongodb/voyage-code-4",
"input": [
"The quick brown fox",
"Lorem ipsum"
]
});
console.log(result.data.map((d) => d.embedding.length));
Weitere Vergleiche
- Amazon: Titan Multimodal Embeddings G1 vs. Amazon: Titan Embeddings G1 - Text
- Amazon: Titan Multimodal Embeddings G1 vs. Amazon: Titan Text Embeddings V2
- Amazon: Titan Multimodal Embeddings G1 vs. Cohere: Embed 5 Fast
- Amazon: Titan Multimodal Embeddings G1 vs. Cohere: Embed 5 Pro
- Amazon: Titan Embeddings G1 - Text vs. Amazon: Titan Text Embeddings V2
- Amazon: Titan Embeddings G1 - Text vs. Cohere: Embed 5 Fast
- Amazon: Titan Embeddings G1 - Text vs. Cohere: Embed 5 Pro
- Amazon: Titan Text Embeddings V2 vs. Cohere: Embed 5 Fast