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.
Google Gemma 4 31B IT
Vision #3 Overall #37Text #19 Overall #74Coding #42 Overall #123
Google Gemma 4 31B IT (Q4_K_M) needs 21.2GB of VRAM/unified memory at 8K context. Runs locally on 43 tracked consumer devices starting with GeForce RTX 5090 Laptop 24GB.
Largest dense model in the Gemma 4 family, offering strong reasoning and coding accuracy.
- Developer
- Parameters
- 31B
VRAM by Quantization
Adjust context length in TPS Calculator| Quant | File Size | 8K Context | 32K Context | Minimum Device |
|---|---|---|---|---|
| UD-Q3_K_XL GGUF ↗ | 15.4GB | 18.3GB | 24.5GB | Mac mini M6 32GB |
| IQ4_XS GGUF ↗ | 16.4GB | 19.3GB | 25.5GB | Mac mini M6 32GB |
| Q4_K_M GGUF ↗ | 18.3GB | 21.2GB | 27.4GB | GeForce RTX 5090 Laptop 24GB |
| UD-Q4_K_XL GGUF ↗ | 18.8GB | 21.7GB | 27.9GB | GeForce RTX 5090 Laptop 24GB |
| Q5_K_M GGUF ↗ | 21.7GB | 24.5GB | 30.8GB | Mac Studio M5 Max 36GB |
| Q6_K GGUF ↗ | 25.2GB | 28.1GB | 34.3GB | GeForce RTX 5090 32GB |
| Q8_0 GGUF ↗ | 32.6GB | 35.5GB | 41.8GB | Mac Studio M5 Max 48GB |
Compatible Hardware
Matched using the highest-quality quantization that fits each device.
| Device | Quant | Status | Tokens/s | Memory | Check |
|---|---|---|---|---|---|
| Q8_0 | Fast | 24 Est. | 96GB· 1,200GB/s | Amazon ↗ | |
| Q8_0 | Fast | 24 Est. | 256GB· 1,200GB/s | Amazon ↗ | |
| Q8_0 | Fast | 24 Est. | 512GB· 1,200GB/s | Amazon ↗ | |
| UD-Q4_K_XL | Fast | 21 Est. | 48GB· 614GB/s | Amazon ↗ | |
| UD-Q4_K_XL | Fast | 21 Est. | 64GB· 614GB/s | Amazon ↗ | |
| UD-Q4_K_XL | Fast | 21 Est. | 128GB· 614GB/s | Amazon ↗ | |
| UD-Q4_K_XL | Runs Well | 16 Est. | 36GB· 460GB/s | Amazon ↗ | |
| Q5_K_M | Runs Well | 8.6 Est. | 48GB· 307GB/s | Amazon ↗ | |
| Q5_K_M | Runs Well | 8.6 Est. | 64GB· 307GB/s | Amazon ↗ | |
| IQ4_XS | Tight | 6.2 Est. | 32GB· 170GB/s | Amazon ↗ |
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.
Compare 1:1 with Similar Models
26.4B sparse multimodal model that fits inside 16GB GPUs while understanding both text and images.
Compare with Google Gemma 4 31B IT →Previous-generation 27B Gemma model (16.5GB Q4), fitting cleanly inside 24GB GPUs.
Compare with Google Gemma 4 31B IT →24B multimodal model with image understanding; its 14GB Q4 build fits inside 16GB GPUs.
Compare with Google Gemma 4 31B IT →Specs verified . Original model card