Most search pipelines today run two stages. A cheap retriever, usually BM25, dense embeddings, or a hybrid of both, pulls 50 to 200 candidate documents from a large corpus. Then a reranker scores each candidate against the query and reorders the list. The reranker is the reason the top five results in a good RAG system feel uncannily relevant: it reads the query and the document together instead of comparing two precomputed vectors.
Picking the reranker matters more than most teams expect. It sits on the critical path of every query, so its latency, context limits, and language support shape the whole system. In 2026 the practical options cluster into three groups: Cohere Rerank, Voyage rerankers, and open-source cross-encoders you host yourself. This guide compares them honestly, including the trade-offs that only show up after you deploy.
How a reranker actually works
An embedding model encodes the query and each document separately into vectors, then ranks by cosine similarity. The query and the document never interact during scoring. A cross-encoder reranker works differently: it concatenates the query and the document into one input and runs full self-attention over both. Every token in the query can attend to every token in the document, which is why rerankers catch subtle relevance signals that bi-encoders miss, like a query condition that is only satisfied in the third paragraph.
The price is speed. A cross-encoder does a forward pass per (query, document) pair, so it scales linearly with the number of candidates. Reranking 200 documents costs roughly 200 forward passes. That is the whole reason reranking is a second stage: you let the cheap retriever shrink the haystack, then spend compute only on the survivors. If you are reranking more than about 100 candidates per query, you are usually paying for the last 50 with diminishing returns.
Cohere Rerank: the enterprise default
Cohere’s Rerank is the oldest hosted reranking API and still the most widely integrated. The current model is rerank-v3.5, with rerank-english-v3.0 available for English-only workloads. You send a query plus a list of documents and get back relevance scores between 0 and 1, ordered from most to least relevant.
A few facts worth knowing from the docs. It supports over 100 languages, which makes it the safe pick for multilingual corpora where the query language and document languages do not match. The context length is 4,096 tokens per document; longer documents are automatically chunked and the highest-scoring chunk determines the document’s rank, so you do not have to pre-chunk before calling. It also handles semi-structured data such as JSON, which is useful when your candidates are API payloads or database rows rather than prose.
On the ops side, Cohere Rerank is available through its own API and through managed platforms like Amazon Bedrock and SageMaker, which matters if your procurement requires your existing cloud vendor. Pricing is usage-based; check Cohere’s current pricing page before you estimate, because per-call costs compound fast at high query volumes.
Where Cohere wins: breadth of language support, predictable managed infrastructure, and a simple scoring contract your team can integrate in an afternoon. Where it loses: you send your data to a third-party API, and at very high QPS the per-request cost adds up compared to self-hosting.
Voyage rerankers: long context and instruction following
Voyage AI, known for its embedding models, offers its own reranker line. The current generation is rerank-2.5 for best quality and rerank-2.5-lite tuned for lower latency and cost. The 2.x models (rerank-2, rerank-2-lite) are the legacy tier. Per the model specs, the 2.5 line accepts a 32K-token context window, which is roughly eight times what Cohere offers per call, and the full model supports instruction-following: you can attach a short instruction to the query that steers what “relevant” means for that request.
That instruction feature is more useful than it sounds. A generic reranker ranks by topical similarity; an instruction-following reranker can be told, for example, to prefer documents that contain executable code over prose explanations, or to prefer recent pricing pages over archived ones. If your relevance definition is more specific than “about the same topic,” this is worth testing.
Voyage rerankers are multilingual and priced on a usage basis, with the lite tier positioned as the cheaper, faster option. The documented latency profile for the 2.x line shows sub-second times for tens of thousands of tokens on multi-GPU setups, and the lite models are meaningfully faster. As always, treat vendor latency numbers as a starting point and measure with your own document lengths.
Where Voyage wins: the longest context window in this comparison, instruction steering, and a cost-optimized lite tier for latency-sensitive paths. Where it loses: it is still a third-party API, and the ecosystem of integrations is younger than Cohere’s.
Open-source rerankers: BGE, mxbai, Jina, and the classics
If you would rather host the model, the open-source ecosystem is strong. The main families:
- BGE rerankers (BAAI).
bge-reranker-v2-m3is the current reference point in the BGE family. BGE models are among the most downloaded retrieval models on Hugging Face, with solid multilingual coverage. BGE-M3’s sibling tooling (the FlagEmbedding library) makes self-hosting straightforward. - mxbai rerank (Mixedbread).
mxbai-rerank-large-v2is the quality pick; there is also a smallerxsmallvariant that runs on CPU at usable speed. The xsmall model is genuinely practical for low-traffic internal tools where a GPU is not worth provisioning. - Jina reranker v2.
jina-reranker-v2-base-multilingualcovers 100+ languages and is tuned for agentic RAG workloads, including code search and structured data. Jina also offers a hosted API if you want the model without the GPU. - The classics.
cross-encoder/ms-marco-MiniLM-L-12-v2remains the baseline everyone benchmarks against. It is old, English-only, and small, which makes it fast and easy to run anywhere. Use it as your local baseline before reaching for anything bigger.
Self-hosting usually means loading the model with sentence-transformers or FlagEmbedding and wrapping it in a small service behind your retriever. A large cross-encoder wants a GPU; the small ones survive on CPU. The honest math: self-hosting is free per request but costs you GPU time, deployment work, and maintenance. At low to moderate volume, a single GPU can serve a surprising amount of rerank traffic, because each query only scores a few dozen candidates.
The real advantage of open-source is not just cost. You can fine-tune a cross-encoder on your own judged query-document pairs, which is the single highest-impact move in this entire article if you have domain-specific relevance criteria. No hosted API lets you do that. You also keep data on your own infrastructure, which settles the privacy question for regulated industries.
Side-by-side comparison
| Cohere Rerank | Voyage rerank | Open-source (BGE / mxbai / Jina) | |
|---|---|---|---|
| Current model | rerank-v3.5 |
rerank-2.5 / rerank-2.5-lite |
bge-reranker-v2-m3, mxbai-rerank-large-v2, jina-reranker-v2-base-multilingual |
| Architecture | Cross-encoder, hosted | Cross-encoder, hosted | Cross-encoder, self-hosted |
| Context per document | 4,096 tokens (auto-chunks longer docs) | 32K tokens | Depends on model, typically 512 to 8K tokens |
| Multilingual | 100+ languages | Multilingual | Varies; Jina v2 and BGE cover 100+ languages, MiniLM is English-only |
| Instruction steering | No | Yes (2.5 line) | No, unless you fine-tune |
| Hosting | Cohere API, Bedrock, SageMaker | Voyage API | Your own GPU/CPU |
| Pricing model | Usage-based | Usage-based, lite tier cheaper | Free weights; you pay for compute |
| Best for | Multilingual enterprise search, fast integration | Long documents, custom relevance definitions | Data privacy, high volume, fine-tuning |
How to choose: five questions
Forget “which is best” and answer these in order.
1. Can your data leave your infrastructure? If the answer is no, because of regulation, contracts, or customer trust, the hosted APIs are off the table and the decision is which open-source model to run. This single question eliminates two columns for a large fraction of real projects.
2. What languages do you serve? English-only corpora have the most options, including the small fast models. Multilingual or cross-lingual search narrows the field to Cohere, Voyage 2.5, Jina v2, or BGE. Check the specific languages you need against the model card rather than trusting a “100+ languages” headline.
3. What is your latency budget and query volume? Reranking is per-candidate compute. At 50 candidates per query and 100 queries per second, you are scoring 5,000 pairs per second, and the API bill or GPU fleet gets serious. Lite tiers and small self-hosted models exist exactly for this case. Prototype with the quality tier, then measure whether the lite tier loses anything on your eval set.
4. How long are your documents? If candidates are full PDFs or long pages, Voyage’s 32K window or Cohere’s auto-chunking saves you from building chunking logic yourself. If you already chunk at retrieval time, which most pipelines do, this matters less.
5. Do you have judged data? If you can assemble even 50 to 100 queries with known-relevant documents, you can fine-tune an open-source reranker and you can evaluate every option properly. If you cannot, prefer the hosted models, which are trained to generalize.
Evaluate on your own data, not on leaderboards
Public benchmarks rank rerankers on generic datasets. Your corpus is not a generic dataset. The only comparison that matters is on your queries and your documents. Here is a minimal honest process:
- Collect 50 to 100 real queries from your logs. If you have no logs yet, write them the way your users would phrase them, typos included.
- For each query, judge which of your documents are relevant. A simple relevant/not-relevant label is enough to start; graded labels (highly relevant, partially relevant, not relevant) are better.
- Run each candidate reranker over the same candidate sets and compute nDCG@k (how well the ranking orders relevant documents, with top positions weighted more) and recall@k (what fraction of relevant documents appear in the top k). Most retrieval libraries compute these for you.
- Compare against a no-rerank baseline: your retriever’s raw top-k. If the reranker does not beat the baseline on your data, do not ship it.
Two subtleties people learn the hard way. First, reranker scores are not calibrated across models. A 0.8 from Cohere and a 0.8 from a BGE model do not mean the same thing, so never mix scores from different rerankers in one pipeline or threshold. Second, the reranker cannot rescue a bad retriever. If the relevant document is not in the candidate set, no reranker will find it. Fix retrieval recall before you spend money on rerank quality.
Putting it in a pipeline
The integration shape is the same regardless of vendor. Retrieve candidates, rerank, take the top few.
# Stage 1: cheap retrieval (BM25, dense, or hybrid) returns candidates
candidates = retrieve(query, k=50) # list of document strings
# Stage 2a: Cohere
import cohere
co = cohere.ClientV2(api_key="YOUR_KEY")
res = co.rerank(model="rerank-v3.5", query=query,
documents=candidates, top_n=5)
# Stage 2b: Voyage
from voyageai import Client
vo = Client(api_key="YOUR_KEY")
res = vo.rerank(query=query, documents=candidates,
model="rerank-2.5", top_k=5)
# Stage 2c: open-source with sentence-transformers
from sentence_transformers import CrossEncoder
model = CrossEncoder("BAAI/bge-reranker-v2-m3")
pairs = [(query, doc) for doc in candidates]
scores = model.predict(pairs)
ranked = sorted(zip(candidates, scores),
key=lambda x: x[1], reverse=True)[:5]
Start with k=50 candidates and top_n=5. If your eval shows the reranker rarely promotes anything past position 20, drop k to 30 and pocket the latency. Batch candidates per query rather than calling per document; every API here accepts a list.
Mistakes worth avoiding
Reranking too many candidates is the classic one. Past 100, each additional candidate costs a forward pass for almost no gain, and with hosted APIs it costs money per call too. Tune the candidate count on your eval set instead of copying a blog post’s number.
Treating relevance scores as probabilities is another. A score of 0.9 does not mean “90% relevant.” Use scores only to order documents within one model’s output, and use a fixed top_n cutoff rather than a score threshold unless you have calibrated the threshold on your data.
Skipping the retrieval stage audit is the expensive one. Teams add a reranker, see a small gain, and stop. Often the bigger win is hybrid retrieval: BM25 plus dense with a simple fusion. A reranker on top of weak retrieval is lipstick on a recall problem.
Finally, do not rerank when you do not need to. If your corpus is small, if queries are mostly exact-match lookups, or if your eval shows no gain over the retriever, the reranker is pure latency. The best reranker is sometimes no reranker.
FAQ
What is the difference between an embedding model and a reranker?
An embedding model encodes queries and documents independently and ranks by vector similarity. A reranker reads each query-document pair jointly with full attention. Embeddings are fast and scale to millions of documents; rerankers are accurate and scale to dozens.
Do I still need embeddings if I use a reranker?
Yes. The reranker only reorders candidates it is given. You still need a first-stage retriever, embeddings, BM25, or hybrid, to produce those candidates from the full corpus.
Can I fine-tune a reranker on my own data?
With open-source models, yes, and it is often the biggest quality lever available. You need judged query-document pairs; a few hundred is enough to start. Hosted APIs from Cohere and Voyage do not offer fine-tuning for rerank at the time of writing.
How many documents should I rerank per query?
Start with 50 and measure. The right number is where your eval metric stops improving, which depends on your retriever’s quality. Anywhere from 20 to 100 is normal; beyond that you are usually burning compute.
The verdict
There is no single best reranker, only the best fit for your constraints. If you need multilingual coverage and want to integrate this afternoon, Cohere Rerank is the safe default. If your documents are long or your relevance definition needs steering, test Voyage’s 2.5 line. If your data cannot leave your infrastructure, your volume is high, or you have judged data to fine-tune on, self-host an open-source cross-encoder and keep the API budget.
Whatever you pick, run the eval on your own queries before you commit. A reranker is a small component with an outsized effect on result quality, which makes it exactly the kind of thing worth measuring instead of assuming.