Skip to content

Voyage 4

Voyage 4 is a mid-sized model in Voyage AI's Voyage 4 family. Voyage AI reports it approaches voyage-3-large retrieval quality with a context window of 32K tokens, Matryoshka dimensions (2048, 1024, 512, 256), and multiple quantization options. All Voyage 4 models share one embedding space, so you can mix models for asymmetric retrieval.

index.ts
import { embed } from 'ai';
const result = await embed({
model: 'voyage/voyage-4',
value: 'Sunny day at the beach',
})