Cheapest GPU to run gemma 4 31B it

google/gemma-4-31B-it (31.3B parameters on HuggingFace, ~5,210,866 monthly downloads). Estimated VRAM covers weights plus practical KV-cache headroom.

Updated 2026-12-05 Need training instead? Fine-tune gemma-4-31B-it cost →
4-bit (AWQ / GGUF) · 21 GB
$0.32/hr
1x L4 on Vast.ai
FP8 / INT8 · 37 GB
$0.40/hr
1x RTX A6000 on Vast.ai
Full FP16 / BF16 · 70 GB
$0.58/hr
1x A100 80GB SXM on Vast.ai

Cheapest cloud GPUs for gemma-4-31B-it in 4-bit (~21 GB VRAM)

GPU setup Provider Total VRAM On-demand / hr Spot / hr Monthly (24/7) Launch
1x NVIDIA L4 Cheapest Vast.ai 24 GB $0.32/hr $0.25/hr $234 Deploy ↗
1x NVIDIA RTX 4090 TensorDock 24 GB $0.38/hr - $277 Deploy ↗
1x NVIDIA RTX A6000 Vast.ai 48 GB $0.40/hr $0.31/hr $292 Deploy ↗
1x NVIDIA RTX A6000 TensorDock 48 GB $0.45/hr - $329 Deploy ↗
1x NVIDIA RTX 4090 Vast.ai 24 GB $0.45/hr $0.29/hr $329 Deploy ↗
1x NVIDIA RTX 5090 Vast.ai 32 GB $0.53/hr $0.40/hr $387 Deploy ↗
1x NVIDIA L4 Google Cloud 24 GB $0.56/hr $0.24/hr $409 Deploy ↗
1x NVIDIA A100 80GB SXM Vast.ai 80 GB $0.58/hr $0.42/hr $423 Deploy ↗

Cheapest cloud GPUs for gemma-4-31B-it in FP8 (~37 GB VRAM)

GPU setup Provider Total VRAM On-demand / hr Spot / hr Monthly (24/7) Launch
1x NVIDIA RTX A6000 Vast.ai 48 GB $0.40/hr $0.31/hr $292 Deploy ↗
1x NVIDIA RTX A6000 TensorDock 48 GB $0.45/hr - $329 Deploy ↗
1x NVIDIA A100 80GB SXM Vast.ai 80 GB $0.58/hr $0.42/hr $423 Deploy ↗
1x NVIDIA RTX A6000 DataCrunch (Verda) 48 GB $0.59/hr $0.39/hr $431 Deploy ↗
1x NVIDIA RTX 6000 Ada Vast.ai 48 GB $0.60/hr $0.47/hr $438 Deploy ↗
1x NVIDIA A100 40GB Vast.ai 40 GB $0.63/hr $0.49/hr $460 Deploy ↗
2x NVIDIA L4 Vast.ai 48 GB $0.64/hr $0.50/hr $467 Deploy ↗
1x NVIDIA RTX A6000 RunPod 48 GB $0.69/hr $0.34/hr $504 Deploy ↗

Deployment & VRAM sizing guide for gemma-4-31B-it

Choosing the right precision: Deploying gemma 4 31B it (31.3B parameters) in 4-bit quantization requires 21 GB VRAM (from $0.32/hr or $234/mo on 1× NVIDIA L4), while FP8 requires 37 GB VRAM (from $0.40/hr or $292/mo on 1× NVIDIA RTX A6000). Full BF16/FP16 needs 70 GB VRAM (starting at $0.58/hr on 1× NVIDIA A100 80GB SXM).

Hardware note: NVIDIA RTX A6000 (Ampere) does not have native hardware FP8 Tensor Cores (FP16 Tensor: 155 TFLOPS). Use 4-bit AWQ/GPTQ or BF16/FP16 instead of FP8 for optimal throughput. You can also check per-GPU compatibility across all 14 GPUs in the Can RTX A6000 run gemma-4-31B-it? matrix.

Recommended vLLM serving command:

vllm serve google/gemma-4-31B-it \
  --max-model-len 16384 \
  --gpu-memory-utilization 0.92

Frequently asked questions

What is the cheapest cloud GPU to run gemma 4 31B it?

As of 2026-12-05, running gemma 4 31B it in 4-bit quantization (~21 GB VRAM) starts at $0.32/hr ($234/month) on Vast.ai using 1× NVIDIA L4. Native FP8 (~37 GB VRAM) starts at $0.40/hr using 1× NVIDIA RTX A6000 on Vast.ai.

How much VRAM do I need to run gemma 4 31B it?

gemma 4 31B it (31.3B parameters) requires approximately 21 GB VRAM in 4-bit (AWQ/GGUF), 37 GB in FP8/INT8, and 70 GB in full FP16/BF16 including KV-cache headroom for long prompts.

Should I run gemma-4-31B-it in 4-bit or FP8?

4-bit saves $0.08/hr compared to FP8 and works on older Ampere cards (A100/A6000), while FP8 preserves near-lossless accuracy on Hopper, Blackwell, and Ada GPUs ($0.40/hr on 1× RTX A6000).