Voyage Rerank 2.5 Lite
Voyage Rerank 2.5 Lite is Voyage AI's generalist reranker balanced for latency and quality. It supports a context window of 32K tokens, instruction-following, and multilingual reranking. It improves accuracy by 7.16% over Cohere Rerank v3.5 across 93 retrieval datasets.
import { rerank } from 'ai';
const result = await rerank({ model: 'voyage/rerank-2.5-lite', 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.', ],})Providers
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|