Hardware to run Gemma 4 31B
Google's largest Gemma 4: a dense model for 24–32 GB cards.
- Developer
- Parameters
- 31B
- Max context
- 256K tokens
- Licence
- Apache 2.0
Model card on Hugging FaceGGUF filesOllama: ollama run gemma4:31b
Memory needed
Factual dataWeights plus context cache plus about 1.5 GB of runtime buffers, by quantisation and context length.
| Quantisation | 8K tokens | 32K tokens | 128K tokens |
|---|---|---|---|
| Q4_K_M | 21 GB | 23 GB | 31 GB |
| Q8_0 | 36 GB | 38 GB | 46 GB |
| FP16 | 66 GB | 68 GB | 76 GB |
Hardware that runs it
Estimate20 platforms can run Gemma 4 31B at Q4_K_M with a 32K-token context. Needs about 23 GB.
Cheapest that runs it
Fastest that runs it
Model weightsContext cache (KV)RuntimeUsable limit (colour = verdict)
RunsRuns comfortably (14)
| Platform | Smallest configuration | Memory | Speed ceiling | Price from |
|---|---|---|---|---|
| RTX PRO 6000 | 96 GB | ≤ 98 tok/s | $8,565 | |
| RTX 5090 | 32 GB | ≤ 98 tok/s | $4,329 | |
| RTX PRO 5000 | 48 GB | ≤ 73 tok/s | $4,500 | |
| Mac Studio M5 Ultra | 96 GB | ≤ 66 tok/s | $5,499 | |
| RTX PRO 4500 | 32 GB | ≤ 49 tok/s | $2,500 | |
| Radeon AI PRO R9700 | 32 GB | ≤ 35 tok/s | $1,550 | |
| Arc Pro B70 | 32 GB | ≤ 33 tok/s | $1,268 | |
| Mac mini M5 Pro | 64 GB | ≤ 17 tok/s | — | |
| Ryzen AI Max+ PRO 495 | 192 GB | ≤ 15 tok/s | $7,399 | |
| Jetson AGX Thor | 128 GB | ≤ 15 tok/s | $5,499 | |
| DGX Spark / GB10 | 128 GB | ≤ 15 tok/s | $5,000 | |
| Ryzen AI Max+ 395 | 64 GB | ≤ 14 tok/s | $2,200 | |
| Jetson AGX Orin 64GB | 64 GB | ≤ 11 tok/s | $1,999 | |
| Ryzen AI 9 HX 370 | 32 GB | ≤ 7 tok/s | — |
Runs, tightRuns, but tight (6)
| Platform | Smallest configuration | Memory | Speed ceiling | Price from |
|---|---|---|---|---|
| RTX 4090 | 24 GB | ≤ 55 tok/s | $1,599 | |
| RX 7900 XTX | 24 GB | ≤ 52 tok/s | $1,358 | |
| RTX 3090 | 24 GB | ≤ 51 tok/s | $1,340 | |
| RTX PRO 4000 | 24 GB | ≤ 37 tok/s | $1,500 | |
| Mac Studio M5 Max | 36 GB | ≤ 25 tok/s | $2,499 | |
| Arc Pro B60 | 24 GB | ≤ 25 tok/s | $599 |
Not enough memoryNot enough memory (11)
| Platform | Smallest configuration | Memory | Speed ceiling | Price from |
|---|---|---|---|---|
| Mac mini M6 | 32 GB | — | $899 | |
| RX 9060 XT 16 GB | 16 GB | — | $349 | |
| RX 9070 XT | 16 GB | — | $759 | |
| Arc Pro B50 | 16 GB | — | $349 | |
| RTX 5060 Ti 16 GB | 16 GB | — | $789 | |
| RTX 5070 Ti | 16 GB | — | $1,190 | |
| RTX 5080 | 16 GB | — | $1,830 | |
| Arc B580 | 12 GB | — | $249 | |
| RTX 3060 12 GB | 12 GB | — | $329 | |
| RTX 5070 | 12 GB | — | $1,010 | |
| Jetson Orin Nano Super | 8 GB | — | $399 |
Not supportedNot supported (2)
| Platform | Smallest configuration | Memory | Speed ceiling | Price from |
|---|---|---|---|---|
| RK3588 (Orange Pi 5 Plus and others) | 32 GB | — | — | — |
| Raspberry Pi AI HAT+ 2 | 8 GB | — | — | $200 |
Theoretical maximum for generating text: memory bandwidth divided by the bytes read per token. Real runs usually reach about half to three quarters of it.