Voyage Rerank 2.5 Lite
A generalist reranker optimized for both latency and quality with instruction-following and multilingual support.
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.', ],})P50 time to first token (TTFT) on live AI Gateway traffic, in milliseconds. View the docs for more info.