Google: Gemini Embedding 001 (batch) contro VoyageAI by MongoDB: voyage-4-large
Un confronto fianco a fianco tra Google: Gemini Embedding 001 (batch) (0,26 USD / 1M token (≈ 0,23 €)) e VoyageAI by MongoDB: voyage-4-large (0,42 USD / 1M token (≈ 0,37 €)) con i prezzi in USD e le funzionalità aggiornati dal catalogo di api14. Entrambi funzionano con la stessa API compatibile OpenAI.
Specifiche
| Google: Gemini Embedding 001 (batch) | VoyageAI by MongoDB: voyage-4-large | |
|---|---|---|
| Fornitore | VoyageAI by MongoDB | |
| Ingresso | 0,26 USD / 1M token (≈ 0,23 €) | 0,42 USD / 1M token (≈ 0,37 €) |
| Finestra di contesto | 20.000 | 32.000 |
| Output massimo | 18.000 | 28.800 |
| Ingresso | text | text |
| Uscita | embeddings | embeddings |
| chiamata di strumenti | ||
| Output strutturato | ||
| Controllo del ragionamento | ||
| Aggiunto | 31 ott 2025 | 27 lug 2026 |
Differenze principali
- Google: Gemini Embedding 001 (batch) costa il 38% in meno sui token di input.
- VoyageAI by MongoDB: voyage-4-large legge 1.6× più contesto (32.000 token).
Cambia modello con una stringa
Entrambi i modelli usano lo stesso endpoint e la stessa struttura di richiesta. Cambia il valore di model da "google/gemini-embedding-001:batch" a "mongodb/voyage-4-large", prompt, streaming e tool continuano a funzionare.
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-4-large",
"input": [
"The quick brown fox",
"Lorem ipsum"
]
});
console.log(result.data.map((d) => d.embedding.length));
Altri confronti
- Amazon: Titan Multimodal Embeddings G1 contro Amazon: Titan Embeddings G1 - Text
- Amazon: Titan Multimodal Embeddings G1 contro Amazon: Titan Text Embeddings V2
- Amazon: Titan Multimodal Embeddings G1 contro Cohere: Embed 5 Fast
- Amazon: Titan Multimodal Embeddings G1 contro Cohere: Embed 5 Pro
- Amazon: Titan Embeddings G1 - Text contro Amazon: Titan Text Embeddings V2
- Amazon: Titan Embeddings G1 - Text contro Cohere: Embed 5 Fast
- Amazon: Titan Embeddings G1 - Text contro Cohere: Embed 5 Pro
- Amazon: Titan Text Embeddings V2 contro Cohere: Embed 5 Fast