Cohere: Rerank 5 Pro mot VoyageAI by MongoDB: rerank-3
En jämförelse sida vid sida av Cohere: Rerank 5 Pro (Gratis) och VoyageAI by MongoDB: rerank-3 (Gratis) med aktuella USD-priser och funktioner från api14-katalogen. Båda körs via samma OpenAI-kompatibla API.
Specifikationer
| Cohere: Rerank 5 Pro | VoyageAI by MongoDB: rerank-3 | |
|---|---|---|
| Leverantör | Cohere | VoyageAI by MongoDB |
| Kontextfönster | 32 768 | 32 000 |
| Max utdata | 29 491 | 28 800 |
| Indata | text | text |
| Utdata | rerank | rerank |
| Verktygsanrop | ||
| Strukturerad utdata | ||
| Styrning av resonemang | ||
| Tillagd | 3 nov. 2026 | 30 sep. 2026 |
Byt med en sträng
Båda modellerna använder samma endpoint och anropsformat. Ändra model-värdet från "cohere/rerank-5-pro" till "mongodb/rerank-3", promptar, streaming och verktyg fortsätter att fungera.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.post("/rerank", { body: {
"model": "mongodb/rerank-3",
"query": "What is the capital of France?",
"documents": [
"Paris is the capital of France.",
"Berlin is in Germany."
],
"top_n": 1
} });
console.log(result.results);
Fler jämförelser
- Cohere: Rerank 5 Fast mot Cohere: Rerank 5 Pro
- Cohere: Rerank 5 Fast mot VoyageAI by MongoDB: rerank-3
- Cohere: Rerank 5 Fast mot VoyageAI by MongoDB: rerank-3-lite
- Cohere: Rerank 5 Fast mot Qwen3 Reranker 8B
- Cohere: Rerank 5 Pro mot VoyageAI by MongoDB: rerank-3-lite
- Cohere: Rerank 5 Pro mot Qwen3 Reranker 8B
- VoyageAI by MongoDB: rerank-3 mot VoyageAI by MongoDB: rerank-3-lite
- VoyageAI by MongoDB: rerank-3 mot Qwen3 Reranker 8B