1. Home
  2. Models
  3. Text

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.

vs Inkling 2 Minivs Gemma 3 27B IT
Developer
Google
Parameters
31B
File size, required memory, and smallest compatible device for Google Gemma 4 31B IT quantizations
QuantFile Size8K Context32K ContextMinimum Device
UD-Q3_K_XL GGUF ↗15.4GB18.3GB24.5GBMac mini M6 32GB
IQ4_XS GGUF ↗16.4GB19.3GB25.5GBMac mini M6 32GB
Q4_K_M GGUF ↗18.3GB21.2GB27.4GBGeForce RTX 5090 Laptop 24GB
UD-Q4_K_XL GGUF ↗18.8GB21.7GB27.9GBGeForce RTX 5090 Laptop 24GB
Q5_K_M GGUF ↗21.7GB24.5GB30.8GBMac Studio M5 Max 36GB
Q6_K GGUF ↗25.2GB28.1GB34.3GBGeForce RTX 5090 32GB
Q8_0 GGUF ↗32.6GB35.5GB41.8GBMac Studio M5 Max 48GB

Compatible Hardware

Matched using the highest-quality quantization that fits each device.

Google Gemma 4 31B IT: compatibility and estimated TPS by device
DeviceQuantStatusTokens/sMemoryCheck
GeForce RTX 5090 Laptop 24GBUD-Q4_K_XLFast 37 Est. 24GB· 896GB/s Amazon ↗
MacBook Pro 16 M5 Max 48GBUD-Q4_K_XLFast 21 Est. 48GB· 614GB/s Amazon ↗
MacBook Pro 16 M5 Max 64GBUD-Q4_K_XLFast 21 Est. 64GB· 614GB/s Amazon ↗
NVIDIA RTX Spark Laptop 64GBQ6_KRuns Well 10.0 Est. 64GB· 301GB/s Amazon ↗
ASUS ProArt P16 RTX Spark 128GBQ6_KRuns Well 9.9 Est. 128GB· 300GB/s Amazon ↗
MacBook Pro 16 M5 Pro 48GBQ5_K_MRuns Well 8.6 Est. 48GB· 307GB/s Amazon ↗
ASUS ROG Flow Z13 64GBQ5_K_MRuns Well 8.1 Est. 64GB· 256GB/s Amazon ↗
HP ZBook Ultra G1a 128GBQ5_K_MRuns Well 8.1 Est. 128GB· 256GB/s Amazon ↗
MacBook Pro 14 M6 32GBIQ4_XSTight 6.2 Est. 32GB· 170GB/s Amazon ↗
MacBook Pro 14 M5 32GBIQ4_XSTight 4.8 Est. 32GB· 153GB/s Amazon ↗
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 31B 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 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

Specs verified . Original model card