We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

VoyageAI by MongoDB: rerank-3

voyageai/rerank-3
RerankInput: text32KAdded Sep 30, 2026

Try VoyageAI by MongoDB: rerank-3 now

Runs on your balance at the prices above. New accounts start with free usage.

Sign in to use thisCreate free account

Results will appear here.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign inSession cost $0.00

VoyageAI by MongoDB: rerank-3 at a glance

  • Context window of 32,000 tokens, enough for long documents and multi-turn conversations.

About VoyageAI by MongoDB: rerank-3

VoyageAI by MongoDB: rerank-3 is a reranking model from Voyage AI, a provider now part of MongoDB. It sits in the rerank category, and Voyage AI positions it as an optimized reranker and a drop-in upgrade to rerank-2.5. This is not a chat or text generation model: it exists to take a set of candidate documents and reorder them by relevance to a query.

The model works with text input and produces reranking output. It has a context length of 32,000 tokens, which is large enough to accommodate a query alongside a substantial batch of candidate passages in a single call. The maximum output is 28,800. Because it is a reranker, the shape of a response is a ranked ordering of the documents you supply, not free-form prose. There are no supported parameters listed for this model, so callers should not expect the sampling controls (temperature, top_p and similar) that apply to generative models.

The practical use cases follow directly from that design. A common pattern is a two-stage retrieval pipeline: a fast vector or keyword search returns a broad set of candidates, then rerank-3 reorders them so the most relevant results appear at the top. This improves the quality of search results, retrieval-augmented generation context, question answering over a document collection, and recommendation or matching features where relevance ranking matters. Because the provider describes gains on long-document evaluations, it is also a reasonable fit when the passages being ranked are lengthy rather than short snippets.

To call it through api14, use the model id "voyageai/rerank-3" against the OpenAI-compatible endpoint. Because api14 exposes an OpenAI-compatible API, you point your existing client at the gateway and pass that id as the model. Since the model lists no supported parameters, you should send a plain request with your query and the documents to rank, and rely on the model's own ranking behaviour rather than tuning decoding settings.

One limit worth noting is scope. rerank-3 only reranks text; it does not generate answers or summaries, so if you need a model that produces text you would pair it with a generative model. Also, if your pipeline has no separate retrieval step and you only need a first-pass embedding search, a dedicated embedding model may be the simpler starting point, with rerank-3 added later to refine the ordering.

How to call the VoyageAI by MongoDB: rerank-3 API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "voyageai/rerank-3".
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": "voyageai/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);

Specifications

Context length
32,000
Max output
28,800
Input
text
Output
rerank

Requests on api14 · last 7 days

10-1610-1710-1810-1910-2010-2110-22

VoyageAI by MongoDB: rerank-3: frequently asked questions

How much does the VoyageAI by MongoDB: rerank-3 API cost?
VoyageAI by MongoDB: rerank-3 is free to call ($0 per token). Free variants have stricter upstream rate limits, so use them for testing and low-volume work.
What is the context window of VoyageAI by MongoDB: rerank-3?
VoyageAI by MongoDB: rerank-3 reads up to 32,000 tokens per request: prompt, history and documents together. It writes up to 28,800 output tokens per response.
What can VoyageAI by MongoDB: rerank-3 do?
VoyageAI by MongoDB: rerank-3 accepts text and returns rerank.
How do I call VoyageAI by MongoDB: rerank-3 from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "voyageai/rerank-3". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to VoyageAI by MongoDB: rerank-3?
Comparable Rerank models at a similar price: NVIDIA: Nemotron 3.5 Rerank 8B (free), VoyageAI by MongoDB: rerank-3-lite, Qwen3 Reranker 8B. Each runs through the same API key, so switching is one string.

VoyageAI by MongoDB: rerank-3 community

New topic

This community has no topics yet. Open the first one about VoyageAI by MongoDB: rerank-3.