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.
Running Google Gemma 4 31B IT on NVIDIA DGX Spark 128GB
Running Google Gemma 4 31B IT (Q6_K) on NVIDIA DGX Spark 128GB at 8K context uses 28.1GB of memory at ~9.0 tok/s (est.). Fits entirely in memory. Comfortable for chat, with modest wait times on long generations.
- Tokens/sec
- 9.0 Est.
- Free Headroom
- 86.9GB
- Max Context
- 342K
- Speed Rank
- #24/ 43
Scaling Context Length
| Context | Required | Status |
|---|---|---|
| 8K | 28.1GB | Runs Well |
| 16K | 30.2GB | Runs Well |
| 32K | 34.3GB | Runs Well |
| 64K | 42.7GB | Runs Well |
| 128K | 59.3GB | Runs Well |
Switching Quantization
| Quant | Required | Status | Tokens/s |
|---|---|---|---|
| UD-Q3_K_XL | 18.3GB | Runs Well | 15 |
| IQ4_XS | 19.3GB | Runs Well | 14 |
| Q4_K_M | 21.2GB | Runs Well | 12 |
| UD-Q4_K_XL | 21.7GB | Runs Well | 12 |
| Q5_K_M | 24.5GB | Runs Well | 10 |
| Q6_K | 28.1GB | Runs Well | 9.0 |
| Q8_0 | 35.5GB | Tight | 7.0 |
Other Options
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.
I want to run Google Gemma 4 31B 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.