1. Home
  2. Google Gemma 4 12B IT
  3. NVIDIA L40S 48GB

Disclosure As an Amazon Associate I earn from qualifying purchases. Some links on this page are affiliate links. If you sign up or buy through them, LocalAI Moa may earn a commission at no extra cost to you.

Fast

Running Google Gemma 4 12B IT on NVIDIA L40S 48GB

Running Google Gemma 4 12B IT (Q8_0) on NVIDIA L40S 48GB at 8K context uses 14.8GB of memory at ~39 tok/s (est.). Fits cleanly in memory with headroom to spare—fast enough for interactive chat and coding.

Weights 12.7GB KV Cache 1.3GB Runtime 0.8GB Total 14.8GB
Tokens/sec
39 Est.
Free Headroom
33.2GB
Max Context
213K

Scaling Context Length

Required memory and verdict by context window
ContextRequiredStatus
8K14.8GBFast
16K16.1GBFast
32K18.7GBFast
64K23.8GBFast
128K34.2GBFast

Switching Quantization

Required memory, verdict, and tokens/sec by quantization
QuantRequiredStatusTokens/s
UD-Q3_K_XL8.1GBFast76
IQ4_XS8.5GBFast72
Q4_K_M9.2GBFast65
UD-Q4_K_XL9.5GBFast63
Q5_K_M10.5GBFast56
Q6_K11.9GBFast49
Q8_014.8GBFast39

Other Options

Try Before Buying Affiliate link: LocalAI Moa earns a commission when you sign up and use RunPod at no extra cost to you.
Test Google Gemma 4 12B IT on a cloud GPU before upgrading

Before spending thousands on a new GPU or workstation, spin up an hourly RTX 5090, H100, or B200 on RunPod to verify real-world speed and output quality.

Referral perk · Spend your first $10 after signing up to unlock a $5–$500 random credit bonus.

After creating a RunPod account, paste this setup prompt into ChatGPT, Claude, or Gemini for step-by-step instructions.

I want to run Google Gemma 4 12B IT on a cloud GPU using RunPod. I have already created a RunPod account, and this is my first time setting up a pod. Please look up the current setup steps and guide me step by step—from choosing the right GPU and template to downloading the weights and running inference smoothly.