Reranker · rerank model · rerank for RAG

Understand rerankers. Then watch one run in your browser.

A reranker re-scores your retrieved candidates so the most relevant passages rise to the top. Learn how it works, compare the popular models, and try a cross-encoder live — with zero API cost and nothing leaving your machine.

Runs on transformers.js · 100% client-side · no key required

Start here

Three short guides take you from “what is a reranker?” to a working reranking stage in your RAG pipeline.

Jump to the job

Already know what you need? Skip the tour and open the page that answers it.

The fun part

Rerank in your browser, right now

Paste a query and a few candidate passages. A real cross-encoder downloads once, caches, and scores every pair locally — you watch the ranking reshuffle in milliseconds. No server, no API key, no data leaving the page.

  • Real model weights via transformers.js + ONNX Runtime Web
  • Zero API cost and zero abuse risk — it’s all on your device
  • See exactly how scores reorder your retrieval results
Open the demo →

Compare the rerank models

2026 open SOTA candidates (Qwen3-Reranker), Jina v3.5 listwise, classic bge/mxbai, hosted Cohere/Voyage — plus late-interaction and instruction APIs.

Also: ColBERT / late-interaction · instruction-following rerank

See the full comparison →

Reranking in one diagram

  1. Input Query
  2. fast · recall Retriever bi-encoder / BM25 returns 50–100
  3. slow · precise Reranker cross-encoder scores keeps the top 5
  4. Answer LLM generate
The retriever is what returns 50–100 candidates. The reranker is what cuts that list to the top 5 before the LLM sees it.