Sarvam AI's compact 2B-parameter language model built from the ground up for Indian languages. Provides best-in-class performance across 10 Indic languages (bn, gu, hi, kn, ml, mr, or, pa, ta, te) alongside English, outperforming larger general-purpose models like Gemma-2-2B and Llama-3.2-3B thanks to careful data curation and an efficient Indic tokenizer. Edge-deployable.
8K tokens
1
Kullanılabilir
En ucuz
Sarvam AI
$0.30/1M tokens
Sarvam AI
Toplam maliyete göre sıralanır (1M token başına giriş + çıkış). Sağlayıcı ayrıntılarını görmek için bir satır seçin.
| Sağlayıcı | Fiyat (1M başına) | Hız sınırları | Bölgeler | Durum | Gecikme |
|---|---|---|---|---|---|
Giriş: $0.10Çıkış: $0.20 | 200 RPM / 300K TPM | ap-south-1 | Sağlıklı | 0ms |
Bu modeli Sarvam AI üzerinden OpenAI uyumlu bir SDK ile kullanın.
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.sarvam.com/v1",
apiKey: process.env.SARVAM_API_KEY,
});
const response = await client.chat.completions.create({
model: "sarvam-1",
messages: [
{ role: "user", content: "Hello!" }
],
});
console.log(response.choices[0].message.content);Sarvam AI API kullanılıyor · OpenAI uyumlu SDK