Skip to content
← Models
Open weightsPrithiviraj Damodaran/10 trustMetrics-checked
FlashRank logo

FlashRank

Ultra-light ONNX rerankers for search pipelines — nano model is ~4MB.

Visit official page →

About

FlashRank is an open-source Python library by Prithiviraj Damodaran that adds re-ranking to search and retrieval pipelines using tiny ONNX cross-encoder models. The default nano model is about 4MB and runs in milliseconds on CPU, while the small (~34MB) and medium (~110–150MB) options trade speed for ranking precision. It supports both pairwise cross-encoder reranking and LLM-based listwise reranking, and has become a popular drop-in second stage for RAG systems that need better precision than bi-encoder retrieval alone without paying per-call rerank API fees.

The honest picture: tiny cross-encoders cannot match the ranking quality of large LLM rerankers or hosted APIs like Cohere Rerank on hard queries — FlashRank is a speed/cost play, not a quality-max play. Model selection and max_length tuning meaningfully affect results, and the defaults suit English best. But for CPU-only deployments and latency-sensitive pipelines, it is one of the most practical open reranking options.

Specs

Context window

Pricing

Free quota

API access

Weights

Open weights

Released

April 1, 2024

Benchmarks

Provider-reported unless a source says otherwise. Benchmarks are marketing-adjacent by nature — treat them as directional.

Use cases

rerankingragsearchretrieval

Trust score — 7/10

/10 trustMetrics-checked

Scored 7/10 (metrics tier, metrics-v1). Evidence: Verified via vendor site/docs/GitHub and reputable coverage, wave 62; Trending score 68/100 from researcher assessment.

Sources