Text model · Sarvam
S Sarvam-30B: RAM and VRAM requirements
Sarvam-30B needs about 21.7 GB to run at Q4_K_M (the Q4_K_M GGUF file is ~19.6 GB to download; KV cache and overhead add the rest), or about 34 GB at Q8_0. The lightest hardware that runs it is Nvidia GeForce RTX 4090 (24GB).
Sarvam family · 30B params (Mixture-of-Experts: activates only 2.4B of 30B params per token, so generation is faster than the total size suggests) · released Mar 2026.
Shopping for hardware? See what runs Sarvam-30B →
Q4_K_M and Q8_0 are GGUF download (file) sizes. Memory @ Q4 includes the KV cache and overhead, so it runs larger than the file on disk.
Will it run on your device?
Sarvam-30B runs on 12 of 40 tracked devices at Q4_K_M.
Memory breakdown
How context length changes it
Longer context grows the KV cache, which for Sarvam-30B is sized by its 2.4B active params, not the full 30B. It needs ~21.7 GB at 4k and ~62.5 GB at 128k.
Quantization sizes
| Quantization | Size on disk |
|---|---|
| Q2_K | 12.6 GB est |
| Q3_K_M | 14.7 GB est |
| Q4_K_M (default) | 19.6 GB |
| Q5_K_M | 21.4 GB est |
| Q6_K | 24.6 GB est |
| Q8_0 | 31.9 GB est |
| FP16 | 60 GB est |
Lower quant = smaller and faster, slightly lower quality. Q4_K_M is the common default.
Run it
llama-cli -hf sarvamai/sarvam-30b-gguf:Q4_K_M lms get sarvamai/sarvam-30b-gguf Which devices can run Sarvam-30B?
Apple Silicon Macs
- Apple M1 (8GB) No
- Apple M2 (16GB) No
- Apple M4 (16GB) No
- Apple M5 (16GB) No
- Apple M3 Pro (18GB) No
- Apple M4 (24GB) No
- Apple M4 Pro (24GB) No
- Apple M5 (32GB) No
- Apple M4 Pro (48GB) Yes
- Apple M5 Pro (48GB) Yes
- Apple M4 Max (64GB) Yes
- Apple M4 Max (128GB) Yes
- Apple M5 Max (128GB) Yes
- Apple M3 Ultra (256GB) Yes
RAM-only laptops
iPhone & iPad
Android
NVIDIA GPUs
Same job, different size
Pick by what fits your memory: step down to free up VRAM, or step up if you have headroom.
Similar models
Head-to-head
FAQ
How much VRAM or RAM does Sarvam-30B need?
At Q4_K_M, Sarvam-30B needs about 21.7 GB (weights ~19.6 GB + KV cache + overhead) at a 4k context. At Q8_0 budget ~34 GB.
What is the Q4_K_M GGUF file size of Sarvam-30B?
The Q4_K_M GGUF file is about 19.6 GB to download, and the Q8_0 GGUF is about 31.9 GB. That is the weights file on disk; to run it you also need room for the KV cache and overhead, so budget ~21.7 GB of memory at Q4_K_M.
Can Sarvam-30B run on a laptop?
Sarvam-30B is large; you need a 24 GB+ GPU or a 32-48 GB Mac at Q4_K_M.
Is Sarvam-30B cheaper to run because it is a MoE model?
It is faster, not lighter. Sarvam-30B activates only 2.4B of 30B params per token (so it runs quickly), but all experts must stay in memory, so it still needs memory for the full 30B.
Can I use Sarvam-30B commercially?
Yes. Sarvam-30B is licensed Apache-2.0, which permits commercial use.
Understand the numbers
Short guides to the ideas behind Sarvam-30B's memory and quant figures.
MoE with 128 sparse experts, top-6 routing, 2.4B active params. Released 2026-03 under Apache 2.0. Q4_K_M 19.6GB confirmed by summing the 6 shards in the official GGUF repo. No official Q8_0 GGUF released.
Sources
Last validated 2026-08-03. Memory figures are estimates. See methodology.