sarvam-m
by Sarvam AI · May 20, 2025
sarvam-m is an open-weight chat llm from Sarvam AI, released May 20, 2025. It has 24B parameters and a 8K-token context window. It can be used for free via API.
- Provider
- Sarvam AI
- Released
- May 20, 2025
- Type
- Chat LLM
- Parameters
- 24B
- Context window
- 8,192 tokens
- Max output
- 32,000 tokens
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- apache-2.0
- Knowledge cutoff
- —
- Status
- Open weights
- HF downloads (30d)
- 4.5K
How to run sarvam-m
sarvam-m is an open-weight model published on Hugging Face as sarvamai/sarvam-m. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 24B parameters it needs roughly 14 GB of memory at 4-bit quantization.
sarvam-m vs alternatives
- sarvam-m vs granitelib-core-r1.0
- sarvam-m vs Hermes-4-14B
- sarvam-m vs DeepHermes-3-Mistral-24B-Preview
- sarvam-m vs medgemma-27b-text-it
- sarvam-m vs MedGemma 27B
- sarvam-m vs ERNIE-4.5-21B-A3B-Thinking
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| granitelib-core-r1.0open | IBM | Dec 2025 | — | — | — | — | — |
| Hermes-4-14Bopen | Nous Research | Aug 2025 | — | — | — | — | — |
| DeepHermes-3-Mistral-24B-Previewopen | Nous Research | Mar 2025 | 24B | — | — | — | — |
| medgemma-27b-text-itopen | Google DeepMind | May 2025 | 27B | — | — | — | — |
| MedGemma 27Bopen | Google DeepMind | May 2025 | 27B | — | — | — | — |
| ERNIE-4.5-21B-A3B-Thinkingopen | Baidu | Sep 2025 | 22B (3B act.) | — | — | — | — |
| ERNIE-4.5-21B-A3B-PTopen | Baidu | Jun 2025 | 22B (3B act.) | — | — | — | — |
| RealVideoopen | Zhipu AI (Z.ai) | Dec 2025 | — | — | — | — | — |
More models from Sarvam AI
All Sarvam AI models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Sarvam-105Bopen | Feb 2026 | 106B | 128K | $0.158 | $0.632 |
| sarvam-1open | Oct 2024 | 2.5B | — | — | — |
| sarvam-1-v0.5open | Aug 2024 | 2.5B | — | — | — |
| OpenHathi-7B-Hi-v0.1-Baseopen | Dec 2023 | 6.9B | — | — | — |
Frequently asked questions
Who made sarvam-m?
sarvam-m was developed by Sarvam AI (India). It was released on May 20, 2025.
What is the context window of sarvam-m?
sarvam-m supports a context window of 8,192 tokens (8K) and can generate up to 32,000 output tokens per response.
How much does sarvam-m cost?
sarvam-m is available for free from at least one provider.
Is sarvam-m open source?
Yes. sarvam-m's weights are publicly available under the apache-2.0 license on Hugging Face (sarvamai/sarvam-m), so you can download and run it yourself.
How many parameters does sarvam-m have?
sarvam-m has 24B parameters.
Sources: huggingface · huggingface. Last updated 2026-11-22.