← All models
Cohere · Rerank model
Rerank 5 Pro
cohere/rerank-5-pro- Rerank
Rerank 5 Pro is the higher-accuracy tier of Cohere's Rerank 5 family of reranking models. It scores and reorders candidate documents against a query and is suited for retrieval pipelines...
Specifications
- Input
- one query and up to 1,000 documents
- Output
- relevance score per document, sorted; top_n to keep the best
- Billing
- per token across all query–document pairs
Use it
POST /api/v1/rerank · MCP rerank · full reference
curl https://omnirail.org/api/v1/rerank \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"cohere/rerank-5-pro","query":"best espresso machine","documents":["brass lever espresso machine","a bicycle","coffee grinder"],"top_n":2}'