Model reference · open weights
sarvam-1 is an open-weight language model from sarvamai. sarvam-1 (BF16) weighs 5.1 GB; the smallest configuration that runs it is RTX 3060 12 GB.
Summary of the sarvamai/sarvam-1 model card, 2026-10-01
What it is
| Released by | sarvamai |
|---|---|
| Released | 2024-10-23 |
| Parameters | 2.5B |
| VRAM | 5.1 GB for the weights |
What it runs on
| Card | Requests at once | Context max | Memory |
|---|---|---|---|
| 8K each | |||
| RTX 3060 12 GB | 6 | all 8K | 11.6 GB |
| RTX 4060 Ti 16 GB | 10 | all 8K | 15.4 GB |
| RTX 3090 24 GB | 18 | all 8K | 23.4 GB |
| RTX 4090 24 GB | 18 | all 8K | 23.4 GB |
| RTX 5090 32 GB | 26 | all 8K | 31.0 GB |
| L40S 48 GB | 40 | all 8K | 44.0 GB |
| A100 80 GB | 77 | all 8K | 78.2 GB |
| H100 80 GB | 73 | all 8K | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | 90 | all 8K | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | 104 | all 8K | 107 GB |
| H200 141 GB | 137 | all 8K | 138 GB |
| B200 180 GB | 177 | all 8K | 176 GB |
| 2× RTX 3060 12 GB tensor parallel | 18 | all 8K | 11.6 GB a card |
| Requests at once | 8K tokens each |
|---|---|
| 1 | 6.6 GB |
| 5 | 10.4 GB |
| 8 | 13.2 GB |
| 16 | 20.7 GB |
| 32 | 35.7 GB |
| 64 | 65.8 GB |
One card, with vLLM's small-card settings.
From the model card
Sarvam-1 is a 2-billion parameter language model specifically optimized for Indian languages. It provides best in-class performance in 10 Indic languages (bn, gu, hi, kn, ml, mr, or, pa, ta, te) when compared with popular models like Gemma-2-2B and Llama-3.2-3B. It is also competitive against the much larger models like Llama-3.1-8B in these languages. More details can be found in our release blog.
The model was trained with NVIDIA NeMo™ Framework on the Yotta Shakti Cloud using HGX H100 systems.
Note: This is a text-completion model. It is meant to be finetuned on downstream tasks, and cannot be used directly as a chat or an instruction-following model.
from transformers import AutoModelForCausalLM, AutoTokenizer
# Load model and tokenizer
model = AutoModelForCausalLM.from_pretrained("sarvamai/sarvam-1")
tokenizer = AutoTokenizer.from_pretrained("sarvamai/sarvam-1")
# Example usage
text = "कर्नाटक की राजधानी है:"
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=5)
result = tokenizer.decode(outputs[0])
Sarvam non-commercial license: See the LICENSE file
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.