Skip to content

Voyage Rerank 2.5

Voyage Rerank 2.5 is Voyage AI's generalist reranker optimized for retrieval quality. It supports a context window of 32K tokens, instruction-following over natural language steering, and multilingual reranking. On 93 retrieval datasets, it improves accuracy by 7.94% over Cohere Rerank v3.5.

Rerank
index.ts
import { rerank } from 'ai';
const result = await rerank({
model: 'voyage/rerank-2.5',
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.',
],
})
Throughput

P50 throughput on live AI Gateway traffic, in tokens per second (TPS). Visit the docs for more info.