← All models
Cohere · Rerank model
Rerank 4 Pro
cohere/rerank-4-pro- Rerank
Cohere's AI search foundation model for enhancing the relevance of information surfaced within search and RAG systems. Features a 32K context window, multilingual support across 100+ languages, no data pre-processing...
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-4-pro","query":"best espresso machine","documents":["brass lever espresso machine","a bicycle","coffee grinder"],"top_n":2}'