# Cohere Rerank 5 Fast

Cohere Rerank 5 Fast is a multilingual text reranking model optimized for low latency and high throughput in search and agent workflows. It ranks documents and semi-structured data across more than 100 languages, with calibrated relevance scores and a 32,768-token context window per query-document pair.

- **Model ID:** `cohere/rerank-v5-fast`
- **Type:** reranking
- **Providers:** cohere
- **Context window:** 32,768
- **Maximum output tokens:** 32,768
- **Pricing:** $0.02/1M input tokens
- **Canonical page:** https://vercel.com/ai-gateway/models/rerank-v5-fast

## Supported parameters

Detailed capability metadata has not been reported for this model.

## Example

```ts
import { rerank } from 'ai';

const result = await rerank({
  model: 'cohere/rerank-v5-fast',
  query: 'What is the capital of France?',
  documents: [
    'Paris is the capital of France.',
    'Berlin is the capital of Germany.',
    'Madrid is the capital of Spain.',
  ],
})
```

## Links

- [Model page](https://vercel.com/ai-gateway/models/rerank-v5-fast)
- [AI Gateway documentation](https://vercel.com/docs/ai-gateway)
- [Provider model documentation](https://docs.cohere.com/docs/rerank)
- [Provider pricing](https://cohere.com/blog/rerank-5)
