What GPU do I need to run sarvamai/sarvam-30b?

32.2B parameters, published in F32. View on Hugging Face

32.2B
Parameters
F32
Native precision
SarvamMoEForCausalLM
Architecture
text-generation
Pipeline

sarvam-30b is published by sarvamai on Hugging Face, with 14,683 downloads and 222 likes to date. It's a SarvamMoEForCausalLM model built for text-generation, published natively in F32.

VRAM required & cheapest live GPU fit

Required VRAM = weight size at each precision times a flat 1.2 overhead for activations and fragmentation. The KV-cache grows with context and is not in that factor; it is listed per model below where the architecture is published. Full formula and assumptions: methodology.

PrecisionWeight sizeRequired VRAMCheapest live fitGPUs neededEst. $/hr (full fit)
FP32119.8 GB143.7 GBAMD MI300X1$2.63/hr
cheaper alt.RTX A50006$1.06/hr
FP8 (quantized)29.9 GB35.9 GBL401$0.759/hr
cheaper alt.RTX 4000 Ada2$0.440/hr
INT4 (quantized)15.0 GB18.0 GBRTX A50001$0.176/hr

A GPU is only matched to a row if its hardware supports that precision, and the primary recommendation is always a single-GPU fit when one exists.

INT4 requires a quantized checkpoint actually published for this model, check its Hugging Face page before relying on this row.

Cheapest way to run sarvam-30b at its published (F32) precision: 1× AMD MI300X, at $2.63/hr per GPU ($2.63/hr total). Quantizing to FP8 or INT4 (rows above) can cost less, but requires a compatible quantized checkpoint to exist for this model.

sarvam-30b: KV cache by context length

The KV cache is the memory the attention layers hold for every token of context, on top of the weights. It is not part of the flat 1.2x overhead in the table above, grows with context length and with every concurrent request, and is why a long-context deployment needs more VRAM than the table shows.

Grouped-query attention: every layer caches keys and values for a few shared KV heads. Cached per token: 19,456 bytes at 16-bit.

ContextKV cache, one sequence
4K0.07 GB
32K0.59 GB
128K2.4 GB

Computed from the layer, head and window counts in the model's own configuration (sarvamai/sarvam-30b), at 16 bits per cached value. Each concurrent sequence needs its own cache, on top of the weights.

sarvam-30b: common questions

Can sarvam-30b run on a single GPU?

Yes, but not on a desktop card. At FP32 it needs 143.7 GB of VRAM, more than a single 32 GB desktop card holds. The cheapest live single-card fit is a 192.0 GB AMD MI300X at $2.63/hr.

Can sarvam-30b run in 16-bit instead of FP32?

Yes. Its published weights are FP32, 119.8 GB, or 143.7 GB once inference overhead is added. Loading the same weights in 16 bits halves that to 59.9 GB, or 71.9 GB with overhead. How much accuracy the cast costs is model-specific and is not measured here.

What is the least VRAM sarvam-30b can run in?

18.0 GB, at INT4 (quantized), which fits a 24 GB card, against 143.7 GB at FP32. That row assumes an INT4 checkpoint has actually been published for this model, so check its Hugging Face page before planning around it.

Does quantizing sarvam-30b lower the GPU bill?

Yes. At FP32 the cheapest live fit is one AMD MI300X at $2.63/hr. At INT4 (quantized) it drops to one RTX A5000 at $0.176/hr, provided a quantized checkpoint exists for it.

Weight-to-VRAM math, the fit rules, and how live prices are normalized: full methodology.

More sarvamai models

All 2 sarvamai models: VRAM and GPU requirements

Alternatives at this size

Other models for text-generation within about a third of sarvam-30b's 32.2B parameters, from other model lines.

More on sarvam-30b

Related reading: AMD MI300X pricing and specs, How much VRAM you need for LLMs, Serving LLMs with vLLM, vLLM vs TensorRT-LLM vs SGLang, and Best GPU for LLM inference.

Your own GPU cloud accounts

One console for the GPU clouds you already rent from. Your keys stay on your machine.

$20 a month, flat

Connect your accounts

One console for the GPU clouds you already use.

Connect your accounts for $20 a month, flat. Your provider bills the GPU.

© 2026 Aquanode. All rights reserved.

All trademarks, logos and brand names are the property of their respective owners.