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
available
Cheapest
Sarvam AI
$0.30/1M tokens
Sarvam AI
Sorted by total cost (input + output per 1M tokens). Click a row to view provider details.
| Provider | Pricing (per 1M) | Rate Limits | Regions | Health | Latency |
|---|---|---|---|---|---|
In: $0.10Out: $0.20 | 200 RPM / 300K TPM | ap-south-1 | Healthy | 0ms |
Use this model via Sarvam AI with an OpenAI-compatible SDK.
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);Using Sarvam AI API • OpenAI-compatible SDK