Cohere: Embed 5 Pro contra VoyageAI by MongoDB: voyage-code-4
Uma comparação lado a lado entre Cohere: Embed 5 Pro (US$ 0,42 / 1M fragmentos (≈ R$ 2,30)) e VoyageAI by MongoDB: voyage-code-4 (US$ 0,42 / 1M fragmentos (≈ R$ 2,30)) com preços em USD e recursos atuais do catálogo do api14. Os dois funcionam pela mesma API compatível com OpenAI.
Especificações
| Cohere: Embed 5 Pro | VoyageAI by MongoDB: voyage-code-4 | |
|---|---|---|
| Provedor | Cohere | VoyageAI by MongoDB |
| Entrada | US$ 0,42 / 1M fragmentos (≈ R$ 2,30) | US$ 0,42 / 1M fragmentos (≈ R$ 2,30) |
| Entrada de imagem | US$ 1,40 / 1M fragmentos (≈ R$ 7,66) | - |
| Janela de contexto | 128.000 | 32.000 |
| Saída máxima | 115.200 | 28.800 |
| Entrada | text, image | text |
| Saída | embeddings | embeddings |
| chamada de ferramentas | ||
| Saída estruturada | ||
| Controle de raciocínio | ||
| Adicionado em | 3 de nov. de 2026 | 13 de ago. de 2026 |
Principais diferenças
- Os dois têm praticamente o mesmo preço de entrada.
- Cohere: Embed 5 Pro lê 4.0× mais contexto (128.000 tokens).
Troque com uma string
Os dois modelos usam o mesmo endpoint e o mesmo formato de requisição. Mude o valor de model de "cohere/embed-5-pro" para "mongodb/voyage-code-4", prompts, streaming e ferramentas continuam funcionando.
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));
Mais comparações
- Amazon: Titan Multimodal Embeddings G1 contra Amazon: Titan Embeddings G1 - Text
- Amazon: Titan Multimodal Embeddings G1 contra Amazon: Titan Text Embeddings V2
- Amazon: Titan Multimodal Embeddings G1 contra Cohere: Embed 5 Fast
- Amazon: Titan Multimodal Embeddings G1 contra Cohere: Embed 5 Pro
- Amazon: Titan Embeddings G1 - Text contra Amazon: Titan Text Embeddings V2
- Amazon: Titan Embeddings G1 - Text contra Cohere: Embed 5 Fast
- Amazon: Titan Embeddings G1 - Text contra Cohere: Embed 5 Pro
- Amazon: Titan Text Embeddings V2 contra Cohere: Embed 5 Fast