FlashRank
Lite & Super-fast re-ranking for search & retrieval pipelines
GraphCanon updated 4w · GitHub synced 4w · 25 views this month
Decision brief
FlashRank enhances search and retrieval efficiency with rapid listwise and pairwise reranking using LLMs and cross-encoders.
Good fit when
- Need fast re-ranking solutions for hybrid or semantic searches
- Want to integrate state-of-the-art LLM-based techniques into existing pipelines
Avoid when
- Prioritize lightweight tools over comprehensive feature sets in simpler search applications
- Seeking traditional relevance feedback mechanisms over modern reranking methods
Observed Jul 12, 2026 · Source: enrich:decision_facts
Verify the decision
Maintenance and security
Full trust report- Maintenance
- Active (10d since push)
- As of 4w
- Provenance
- Not a fork · Personal account
- As of 4w
- Security (OSV)
- No lockfile
- As of 1mo
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
pip install FlashRank PyPIHow it fits your stack(5)
Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.
Alternative
Related
Relationship graph
Optional deeper exploration of typed edges and category neighbours.
Similar tools
Same-category neighbours not already linked as typed edges.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
FlashRank supports state-of-the-art listwise and pairwise reranking based on Large Language Models (LLMs) and cross-encoders, enhancing the functionality of hybrid, lexical, and semantic search systems.
Capability facts
- Languages
- python
Source: github.language · Jul 22, 2026
Categories
Graph entities
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Jul 22, 2026)
```python pip install flashrankSource link
Tags
README
Installation:
If you need lightweight pairwise rerankers [default]
pip install flashrank
If you need LLM based listwise rerankers
pip install flashrank[listwise]
Getting started:
from flashrank import Ranker, RerankRequest
---
## Deployment patterns
#### How to use it in a AWS Lambda function ?
In AWS or other serverless environments the entire VM is read-only you might have to create your
own custom dir. You can do so in your Dockerfile and use it for loading the models (and eventually as a cache between warm calls). You can do it during init with cache_dir parameter.
```python
ranker = Ranker(model_name="ms-marco-MiniLM-L-12-v2", cache_dir="/opt")
For agents
This page has a .md twin and JSON over the API.