# Rerank 4.0 Pro

> Cohere's Rerank 4.0 Pro is the highest-quality Cohere reranker. It scores how relevant each document is to a query across 100+ languages, with a longer context per document than Rerank 3.5. Use it as a second stage after vector or keyword search when ranking quality matters most.

**ID**: `cohere/rerank-v4.0-pro`  
**Creator**: Cohere  
**Category**: rerank  
**Context**: 33K tokens  
**Input**: $2.50/M  
**Output**: $0  
**Released**: 2025-12-11  
**Web page**: https://anyrouter.dev/model/cohere/rerank-v4.0-pro

**Input modalities**: text  
**Output modalities**: scores  

**Capabilities**: rerank

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/rerank`

```bash
curl https://anyrouter.dev/api/v1/rerank \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "cohere/rerank-v4.0-pro",
  "query": "What is the capital of France?",
  "documents": [
    "Paris is the capital and largest city of France.",
    "Berlin is the capital of Germany.",
    "Bananas are rich in potassium."
  ],
  "top_n": 2
}'
```

Rerank is not chat: send a `query` and `documents`; the response lists `results` sorted by `relevance_score`.

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| cohere-rerank | $2.50/M | $0 |
| cohere-rerank-byok | $0 | $0 |

## Source

- Upstream docs: https://docs.cohere.com/docs/rerank
