VoyageAI by MongoDB: voyage-4-large مقابل VoyageAI by MongoDB: voyage-code-4
مقارنة جنبًا إلى جنب بين VoyageAI by MongoDB: voyage-4-large (0.42 US$ / مليون رمز) وVoyageAI by MongoDB: voyage-code-4 (0.42 US$ / مليون رمز) باستخدام الأسعار الحالية بالدولار والقدرات من كتالوج api14. يعمل كلاهما عبر API نفسها المتوافقة مع OpenAI.
المواصفات
| VoyageAI by MongoDB: voyage-4-large | VoyageAI by MongoDB: voyage-code-4 | |
|---|---|---|
| المزوّد | Voyage AI | Voyage AI |
| الإدخال | 0.42 US$ / مليون رمز | 0.42 US$ / مليون رمز |
| نافذة السياق | 32,000 | 32,000 |
| الحد الأقصى للإخراج | 28,800 | 28,800 |
| الإدخال | text | text |
| الإخراج | embeddings | embeddings |
| استدعاء الأدوات | ||
| المخرجات المنظّمة | ||
| التحكم في الاستدلال | ||
| تاريخ الإضافة | 27/07/2026 | 13/08/2026 |
أبرز الفروق
- سعر الإدخال متقارب في كليهما.
بدّل بتغيير سلسلة واحدة
يستخدم النموذجان نقطة النهاية نفسها وبنية الطلب نفسها. غيّر قيمة model من "voyageai/voyage-4-large" إلى "voyageai/voyage-code-4"، وتستمر الموجّهات والبث والأدوات في العمل.
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-code-4",
"input": [
"The quick brown fox",
"Lorem ipsum"
]
});
console.log(result.data.map((d) => d.embedding.length));
مقارنات أخرى
- VoyageAI by MongoDB: voyage-4 مقابل VoyageAI by MongoDB: voyage-4-large
- VoyageAI by MongoDB: voyage-4 مقابل VoyageAI by MongoDB: voyage-4-lite
- VoyageAI by MongoDB: voyage-4 مقابل VoyageAI by MongoDB: voyage-code-4
- VoyageAI by MongoDB: voyage-4 مقابل VoyageAI by MongoDB: voyage-multimodal-3.5
- VoyageAI by MongoDB: voyage-4-large مقابل VoyageAI by MongoDB: voyage-4-lite
- VoyageAI by MongoDB: voyage-4-large مقابل VoyageAI by MongoDB: voyage-multimodal-3.5
- VoyageAI by MongoDB: voyage-4-lite مقابل VoyageAI by MongoDB: voyage-code-4
- VoyageAI by MongoDB: voyage-4-lite مقابل VoyageAI by MongoDB: voyage-multimodal-3.5