Token-metered multilingual reranking: reorder candidate documents by relevance to a query with the higher-quality Pro tier.
API ID
Cohere-rerank-v5-proOverview
- Input
- A query and a list of candidate documents.
- Output
- Ranked document indexes with relevance scores.
- Providers
- Cohere API
- Latest operational check
- Healthy
- API compatibility
- Primex Rerank API
Recommended for
- RAG retrieval
- Search relevance
Supported features
- Relevance scores
- Top n
Language support
- Input
- Multilingual text queries and documents; Cohere reports support for over 100 languages.
- Output
- Document indexes and relevance scores; source documents are not translated.
- Choose a language
- No language parameter is needed. Submit the query and documents directly.
- Relevance quality can vary by language and by queries that use a different language from the documents.
Make your first request
View full setupcurl --fail-with-body https://gateway.primexos.com/v1/rerank \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"Cohere-rerank-v5-pro","query":"Which result is relevant?","documents":["First result","Second result"]}'Executing this request uses your account’s API credits.
Sample input → output
InputA search query and two candidate documents
→Output preview
- results[].index
- Ranked source index
- results[].relevance_score
- Relevance score
Simplified preview based on the published service response contract.
Input requirements
- Up to 1,000 candidate documents per request
- Text only; Context Focus and custom per-document token limits are not exposed
- Preview offering.