VoyageAI by MongoDB: voyage-4 vs VoyageAI by MongoDB: voyage-4-lite
Perbandingan berdampingan VoyageAI by MongoDB: voyage-4 (US$0,21 / 1 jt token) dan VoyageAI by MongoDB: voyage-4-lite (US$0,07 / 1 jt token) menggunakan harga USD dan kemampuan terkini dari katalog api14. Keduanya berjalan melalui API yang sama dan kompatibel dengan OpenAI.
Spesifikasi
| VoyageAI by MongoDB: voyage-4 | VoyageAI by MongoDB: voyage-4-lite | |
|---|---|---|
| Penyedia | Voyage AI | Voyage AI |
| Input | US$0,21 / 1 jt token | US$0,07 / 1 jt token |
| Jendela konteks | 32.000 | 32.000 |
| Output maks. | 28.800 | 28.800 |
| Input | text | text |
| Output | embeddings | embeddings |
| Tool calling | ||
| Output terstruktur | ||
| Pengaturan penalaran | ||
| Ditambahkan | 27 Jul 2026 | 27 Jul 2026 |
Perbedaan utama
- VoyageAI by MongoDB: voyage-4-lite 67% lebih murah untuk token input.
Berganti cukup dengan satu string
Kedua model menggunakan endpoint dan bentuk permintaan yang sama. Ubah nilai model dari "voyageai/voyage-4" ke "voyageai/voyage-4-lite", prompt, streaming, dan tools tetap berfungsi.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.embeddings.create({
"model": "voyageai/voyage-4-lite",
"input": [
"The quick brown fox",
"Lorem ipsum"
]
});
console.log(result.data.map((d) => d.embedding.length));
Perbandingan lainnya
- VoyageAI by MongoDB: voyage-4 vs VoyageAI by MongoDB: voyage-4-large
- VoyageAI by MongoDB: voyage-4 vs VoyageAI by MongoDB: voyage-code-4
- VoyageAI by MongoDB: voyage-4 vs VoyageAI by MongoDB: voyage-multimodal-3.5
- VoyageAI by MongoDB: voyage-4-large vs VoyageAI by MongoDB: voyage-4-lite
- VoyageAI by MongoDB: voyage-4-large vs VoyageAI by MongoDB: voyage-code-4
- VoyageAI by MongoDB: voyage-4-large vs VoyageAI by MongoDB: voyage-multimodal-3.5
- VoyageAI by MongoDB: voyage-4-lite vs VoyageAI by MongoDB: voyage-code-4
- VoyageAI by MongoDB: voyage-4-lite vs VoyageAI by MongoDB: voyage-multimodal-3.5