Reranker
Maximize the search relevancy and RAG accuracy with our cutting-edge reranker API.
Reranker API
Try our cutting-edge reranker API to maximize your search relevancy and RAG accuracy. Starting for free!
Number of returned documents
top_n
top_k
Maximum number of top-ranked documents to return.
curl "https://api.jina.ai/v1/rerank" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $JINA_API_KEY" \
-d @- <<EOFEOF
{
"model": null,
"query": "Organic skincare products for sensitive skin",
"top_n": 3,
"documents": [
text_fieldsclose"Organic skincare for sensitive skin with aloe vera and chamomile: Imagine the soothing embrace of na…ing, healthy complexion.",
text_fieldsclose"New makeup trends focus on bold colors and innovative techniques: Step into the world of cutting-edg…atement with every look.",
text_fieldsclose"Bio-Hautpflege für empfindliche Haut mit Aloe Vera und Kamille: Erleben Sie die wohltuende Wirkung u…einen strahlenden Teint.",
text_fieldsclose"Neue Make-up-Trends setzen auf kräftige Farben und innovative Techniken: Tauchen Sie ein in die Welt…jedes Mal ein Statement.",
text_fieldsclose"Cuidado de la piel orgánico para piel sensible con aloe vera y manzanilla: Descubre el poder de la n…el radiante y saludable.",
text_fieldsclose"Las nuevas tendencias de maquillaje se centran en colores vivos y técnicas innovadoras: Entra en el … y destaca en cada look.",
text_fieldsclose"针对敏感肌专门设计的天然有机护肤产品:体验由芦荟和洋甘菊提取物带来的自然呵护。我们的护肤产品特别为敏感肌设计,温和滋润,保护您的肌肤不受刺激。让您的肌肤告别不适,迎来健康光彩。",
text_fieldsclose"新的化妆趋势注重鲜艳的颜色和创新的技巧:进入化妆艺术的新纪元,本季的化妆趋势以大胆的颜色和创新的技巧为主。无论是霓虹眼线还是全息高光,每一款妆容都能让您脱颖而出,展现独特魅力。",
text_fieldsclose"敏感肌のために特別に設計された天然有機スキンケア製品: アロエベラとカモミールのやさしい力で、自然の抱擁を感じてください。敏感肌用に特別に設計された私たちのスキンケア製品は、肌に優しく栄養を与え、保護します。肌トラブルにさようなら、輝く健康な肌にこんにちは。",
text_fieldsclose"新しいメイクのトレンドは鮮やかな色と革新的な技術に焦点を当てています: 今シーズンのメイクアップトレンドは、大胆な色彩と革新的な技術に注目しています。ネオンアイライナーからホログラフィックハイライターまで、クリエイティビティを解き放ち、毎回ユニークなルックを演出しましょう。"
+ add input
],
"return_documents": false
}
EOFEOFv3.5: Faster Listwise Reranking with Hybrid Attention and Self-Distillation
jina-reranker-v3.5 is a 0.6B parameter multilingual listwise reranker with a 131K context window. Hybrid attention and self-distillation make it both faster and more robust across domains than v3, and it is a drop-in replacement: the request schema is unchanged.
m0: Multilingual Multimodal Document Reranker
Our new multimodal multilingual reranker for retrieving visual documents across multiple languages, with SOTA performance on multilingual long documents and code searching tasks.
The goal of a search system is to find the most relevant results quickly and efficiently. Traditionally, methods like BM25 or tf-idf have been used to rank search results based on keyword matching. Recent methods, such as embedding-based cosine similarity, have been implemented in many vector databases. These methods are straightforward but can sometimes miss the subtleties of language, and most importantly, the interaction between documents and a query's intent.
This is where the "reranker" shines. A reranker is an advanced AI model that takes the initial set of results from a search—often provided by an embeddings/token-based search—and reevaluates them to ensure they align more closely with the user's intent. It looks beyond the surface-level matching of terms to consider the deeper interaction between the search query and the content of the documents.
1
Initial RetrievalA search system uses embeddings/BM25 to find a broad set of potentially relevant documents based on the user's query.
2
RerankingThe reranker then takes these results and analyzes them at a more granular level, considering the nuances of how the query terms interact with the document content.
3
Improved ResultsIt reorders the search results, placing the ones it deems most relevant at the top, based on this deeper analysis.
The reranker can significantly improve the search quality because it operates at a sub-document and sub-query level, meaning it looks at the individual words and phrases, their meanings, and how they relate to each other within the query and the documents. This results in a more precise and contextually relevant set of search results.
Jina Reranker v2, released in June 2024, was built for Agentic RAG: function-calling support, multilingual retrieval across more than 100 languages, and code search. It remains available, though jina-reranker-v3.5 supersedes it for text reranking. Read more about the v2 model.
Multilingual Retrieval
Reranker v2 enables document retrieval in over 100 languages, regardless of the query language.
Function-Calling & Code Search
Reranker v2 ranks code snippets and function signatures based on natural language queries, ideal for Agentic RAG applications.
Tabular and Structured Data Support
Reranker v2 ranks the most relevant tables based on natural language queries, helping to sort different table schemas and identify the most relevant one before generating an SQL query.
Two Ways to Purchase
Subscribe to our API or purchase through cloud providers.
radio_button_unchecked
cloud
With 3 cloud service providers
Using AWS or Azure? You can deploy our models directly on your company's cloud platform and handle billing through the CSP account.
On-premises deployment
Deploy Jina Reranker on AWS Sagemaker and Microsoft Azure and soon in Google Cloud Services, or contact our sales team to get customized Kubernetes deployments for your Virtual Private Cloud and on-premises servers.
Learning about Reranker
What is a reranker? Why is vector search or cosine similarity not enough? Learn about rerankers from the ground up with our comprehensive guide.
How much does the Reranker API cost?
keyboard_arrow_down
What are the differences between the Jina rerankers?
keyboard_arrow_down
How are the Jina rerankers licensed?
keyboard_arrow_down
Do the rerankers support multiple languages?
keyboard_arrow_down
What is the maximum context length for each reranker?
keyboard_arrow_down
Is there a limit on the number of documents I can rerank per query?
keyboard_arrow_down
What latency can I expect when reranking 100 documents?
keyboard_arrow_down
Can the rerankers be hosted privately, on my own infrastructure or in my own cloud account?
keyboard_arrow_down
Do you offer a reranker fine-tuned on domain-specific data?
keyboard_arrow_down
What's the minimum image size for the documents?
keyboard_arrow_down
What is listwise reranking and how does it differ from pointwise?
keyboard_arrow_down
Why does the API enforce a different context length than the model supports?
keyboard_arrow_down
What are the rate limits for the Reranker API?
keyboard_arrow_down
Which reranker should I choose?
keyboard_arrow_down
Rate Limit
Rate limits are tracked in three ways: RPM (requests per minute), and TPM (tokens per minute). Limits are enforced per IP/API key and will be triggered when either the RPM or TPM threshold is reached first. When you provide an API key in the request header, we track rate limits by key rather than IP address.
Columns
arrow_drop_down
| Product | API Endpoint | Descriptionarrow_upward | w/o API Keykey_off | w/ Free API Keykey | w/ Paid API Keykey | w/ Premium API Keykey | Average Latency | Token Usage Counting | Allowed Request | |
|---|---|---|---|---|---|---|---|---|---|---|
| Reader API | https://r.jina.ai | Convert URL to LLM-friendly text | 20 RPM | 500 RPM | 500 RPM | trending_up5000 RPM | 7.9s | Count the number of tokens in the output response. | GET/POST | |
| Reader API | https://s.jina.ai | Search the web and convert results to LLM-friendly text | block | 100 RPM | 100 RPM | trending_up1000 RPM | 2.5s | Every request costs a fixed number of tokens, starting from 10000 tokens | GET/POST | |
| Embedding API | https://api.jina.ai/v1/embeddings | Convert text/images to fixed-length vectors | block | 100 RPM & 100,000 TPM | 500 RPM & 2,000,000 TPM | trending_up5,000 RPM & 50,000,000 TPM | ssid_chart depends on the input size help | Count the number of tokens in the input request. | POST | |
| Reranker API | https://api.jina.ai/v1/rerank | Rank documents by query | block | 100 RPM & 100,000 TPM | 500 RPM & 2,000,000 TPM | trending_up5,000 RPM & 50,000,000 TPM | ssid_chart depends on the input size help | Count the number of tokens in the input request. | POST |
CC BY-NC License Self-Check
play_arrow
Are you using our hosted API, or our official images on Azure, AWS, or GCP?
play_arrow
Yes
play_arrow
No
API-related common questions
code
Can I use the same API key across all Jina APIs?
keyboard_arrow_down
code
Can I monitor the token usage of my API key?
keyboard_arrow_down
code
What should I do if I forget my API key?
keyboard_arrow_down
code
Do API keys expire?
keyboard_arrow_down
code
Can I transfer tokens between API keys?
keyboard_arrow_down
code
Can I revoke my API key?
keyboard_arrow_down
code
Why is the first request for some models slow?
keyboard_arrow_down
code
Is my API data used to train your models?
keyboard_arrow_down
code
What are the rate limits for Jina APIs?
keyboard_arrow_down
code
Are there batch size limits for the APIs?
keyboard_arrow_down
code
Are the Jina APIs the same thing as Jina models inside Elastic?
keyboard_arrow_down
Billing-related common questions
attach_money
Is billing based on the number of sentences or requests?
keyboard_arrow_down
attach_money
Is there a free trial available for new users?
keyboard_arrow_down
attach_money
Are tokens charged for failed requests?
keyboard_arrow_down
attach_money
What payment methods are accepted?
keyboard_arrow_down
attach_money
Is invoicing available for token purchases?
keyboard_arrow_down
attach_money
How do I buy a commercial license rather than API tokens?
keyboard_arrow_down
attach_money
Can I pay by invoice or purchase order instead of card?
keyboard_arrow_down
attach_money
I paid, but my balance or rate limit has not changed. What should I check?
keyboard_arrow_down
attach_money
How do I cancel, stop auto top-up, or remove a saved payment method?
keyboard_arrow_down






