VoyageAI by MongoDB: voyage-4 contra Perplexity: Embed V1 4B
Uma comparação lado a lado entre VoyageAI by MongoDB: voyage-4 (US$ 0,21 / 1M fragmentos (≈ R$ 1,16)) e Perplexity: Embed V1 4B (US$ 0,11 / 1M fragmentos (≈ R$ 0,58)) 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
| VoyageAI by MongoDB: voyage-4 | Perplexity: Embed V1 4B | |
|---|---|---|
| Provedor | VoyageAI by MongoDB | Perplexity |
| Entrada | US$ 0,21 / 1M fragmentos (≈ R$ 1,16) | US$ 0,11 / 1M fragmentos (≈ R$ 0,58) |
| Janela de contexto | 32.000 | 32.000 |
| Saída máxima | 28.800 | 28.800 |
| Entrada | text | text |
| Saída | embeddings | embeddings |
| chamada de ferramentas | ||
| Saída estruturada | ||
| Controle de raciocínio | ||
| Adicionado em | 27 de jul. de 2026 | 16 de mar. de 2026 |
Principais diferenças
- Perplexity: Embed V1 4B é 50% mais barato nos tokens de entrada.
Troque com uma string
Os dois modelos usam o mesmo endpoint e o mesmo formato de requisição. Mude o valor de model de "mongodb/voyage-4" para "perplexity/pplx-embed-v1-4b", 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": "perplexity/pplx-embed-v1-4b",
"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