Skip to main content
Reranker models take a query and a list of candidate documents and return a relevance score for each document. They’re typically used as a second-pass filter after an initial vector search to improve retrieval quality in RAG pipelines. Browse all reranker models.

Endpoint

Example

Response

Scores are relevance probabilities in the range [0, 1], in the same order as the input documents. Sort by score descending to get the most relevant documents first.

Usage in a RAG pipeline

A typical pattern:
  1. Retrieve — run a vector similarity search to fetch the top-N candidate chunks (e.g. top 50)
  2. Rerank — pass the query + candidates to a reranker to get relevance scores
  3. Select — keep only the top-K highest-scoring chunks (e.g. top 5) for the LLM context
This two-stage approach improves precision significantly compared to embedding similarity alone.

Available models

Browse all reranker models.