Gemma 4 31B hardware requirements
Fits on one Instinct MI355X OAM at BF16. For 1,000 tokens/s at 32k context you need 6 x H100 SXM5 80GB at $10.98/hr or 12 x RTX PRO 6000 Blackwell Max-Q Workstation Edition at $6.00/hr.
Top options for Gemma 4 31B
The strongest part each vendor offers for Gemma 4 31B at BF16 with 32,768 tokens per user, rentable parts first. Each card is one replica, the fewest accelerators that hold the model, and the line it draws on the graph below. Select a card to plot it.
Tokens per second as users grow
Each line is one replica, the fewest accelerators that hold the model, serving more users at once. It climbs while memory bandwidth is the limit, flattens once compute is, and stops where memory runs out at 32,768 tokens per user. Hover a line to bring it forward.
1 x GB300 NVL72 GPU 288GB: peaks at 591 tokens per second when memory fills at 121 users.1 x Instinct MI355X OAM: peaks at 594 tokens per second when memory fills at 121 users.1 x Ascend 910C: peaks at 178 tokens per second when memory fills at 34 users.1 x Gaudi 2 96GB: peaks at 93.6 tokens per second when memory fills at 16 users.1 x TPU v7 192GB: peaks at 525 tokens per second when memory fills at 69 users.4 x Inferentia2: peaks at 154 tokens per second when memory fills at 32 users.
Memory fills at: 1 x GB300 NVL72 GPU 288GB 121 users, 1 x Instinct MI355X OAM 121 users, 1 x Ascend 910C 34 users, 1 x Gaudi 2 96GB 16 users, 1 x TPU v7 192GB 69 users, 4 x Inferentia2 32 users. Roofline estimates at BF16.
Bare minimum
- Tokens/s
- 93.7
- Per hour
- $5.99
- Per million tokens
- $17.75
- Memory used
- 23%
- Tokens/s
- 20.9
- Per hour
- $0.50
- Per million tokens
- $6.64
- Memory used
- 69%
- Tokens/s
- 185
- Per hour
- $1.00
- Per million tokens
- $1.50
- Memory used
- 65%
Configurations
Every datacenter GPU in the catalog, sized for these settings. Change precision, context and concurrency and the whole page follows. Each point is one replica: the smallest tensor-parallel group of that GPU that holds the model.
1 x Instinct MI355X OAM: 520 tokens/s per replica at $5.99/hr.1 x GB300 NVL72 GPU 288GB: 517 tokens/s per replica at $12.42/hr.1 x GB200 NVL72 GPU 186GB: 517 tokens/s per replica at $10.50/hr.1 x Instinct MI350X OAM: 490 tokens/s per replica at $6.16/hr.1 x B300 SXM 262GB: 481 tokens/s per replica at $4.99/hr.1 x B200 SXM 180GB: 476 tokens/s per replica at $4.09/hr.1 x Instinct MI325X OAM: 300 tokens/s per replica at $3.80/hr.1 x Instinct MI300X 192GB: 290 tokens/s per replica at $2.39/hr.1 x H200 SXM 141GB: 230 tokens/s per replica at $2.48/hr.2 x H100 SXM5 80GB: 396 tokens/s per replica at $3.66/hr.1 x H200 NVL 141GB: 202 tokens/s per replica at $3.61/hr.2 x H100 NVL 94GB: 365 tokens/s per replica at $6.38/hr.2 x H100 PCIe 80GB: 279 tokens/s per replica at $5.00/hr.2 x RTX PRO 6000 Blackwell Workstation Edition: 205 tokens/s per replica at $3.60/hr.2 x RTX PRO 6000 Blackwell Server Edition: 196 tokens/s per replica at $1.38/hr.2 x RTX PRO 6000 Blackwell Max-Q Workstation Edition: 185 tokens/s per replica at $1.00/hr.2 x Gaudi 2 96GB: 197 tokens/s per replica at $2.20/hr.4 x GeForce RTX 5090 32GB: 195 tokens/s per replica at $4.76/hr.4 x RTX 6000 Ada 48GB: 254 tokens/s per replica at $3.88/hr.4 x L40S 48GB: 243 tokens/s per replica at $3.04/hr.2 x A100 PCIe 80GB: 145 tokens/s per replica at $2.70/hr.2 x A100 SXM4 80GB: 147 tokens/s per replica at $2.80/hr.4 x A100 SXM4 40GB: 263 tokens/s per replica at $6.24/hr.4 x RTX 5000 Ada 32GB: 170 tokens/s per replica at $3.32/hr.4 x RTX PRO 5000 Blackwell 48GB: 219 tokens/s per replica at $3.84/hr.4 x RTX PRO 4500 Blackwell 32GB: 166 tokens/s per replica at $2.88/hr.4 x L40 48GB: 151 tokens/s per replica at $3.28/hr.8 x GeForce RTX 4090 24GB: 274 tokens/s per replica at $7.12/hr.4 x RTX A6000 48GB: 130 tokens/s per replica at $2.00/hr.4 x A40 48GB: 124 tokens/s per replica at $2.36/hr.8 x RTX PRO 4000 Blackwell 24GB: 229 tokens/s per replica at $4.56/hr.4 x V100S PCIe 32GB: 122 tokens/s per replica at $3.52/hr.8 x A10 24GB: 197 tokens/s per replica at $8.81/hr.8 x L4 24GB: 156 tokens/s per replica at $4.72/hr.8 x GeForce RTX 3090 24GB: 132 tokens/s per replica at $4.00/hr.8 x A10G 24GB: 123 tokens/s per replica at $8.05/hr.8 x GeForce RTX 3090 Ti 24GB: 78.2 tokens/s per replica at $3.68/hr.8 x RTX A5000 24GB: 54.6 tokens/s per replica at $2.16/hr.
Priced configurations only; 67 more fit without a live price and appear in the table. Marker size grows with the tensor-parallel width. Roofline estimates.
| Rent | |||
|---|---|---|---|
| 1 | 1.2k tok/s | Specs → | |
| 1 | 956 tok/s | Specs → | |
TPU 8t announced | 1 | ~555 tok/s | Specs → |
TPU 8i announced | 1 | ~533 tok/s | Specs → |
| 1 | 520 tok/s | Rent → | |
| 1 | 517 tok/s | Rent → | |
| 1 | 517 tok/s | Rent → | |
| 1 | 490 tok/s | Rent → | |
| 1 | 477 tok/s | Specs → | |
Instinct MI430X OAM announced | 1 | ~610 tok/s | Specs → |
| 1 | 481 tok/s | Rent → | |
| 1 | 476 tok/s | Rent → | |
| 1 | 504 tok/s | Specs → | |
| 1 | 401 tok/s | Specs → | |
| 1 | ~444 tok/s | Specs → | |
| 1 | 300 tok/s | Rent → | |
| 1 | 290 tok/s | Rent → | |
| 2 | 301 tok/s | Specs → | |
| 1 | 263 tok/s | Specs → | |
| 1 | 230 tok/s | Rent → | |
| 2 | 396 tok/s | Rent → | |
| 4 | 545 tok/s | Specs → | |
| 1 | 184 tok/s | Specs → | |
| 1 | ~202 tok/s | Rent → | |
| 2 | ~365 tok/s | Rent → | |
| 1 | 177 tok/s | Specs → | |
| 2 | 279 tok/s | Rent → | |
| 2 | 279 tok/s | Specs → | |
| 1 | 138 tok/s | Specs → | |
| 2 | 205 tok/s | Rent → | |
| 1 | 103 tok/s | Specs → | |
| 2 | ~197 tok/s | Specs → | |
| 2 | 196 tok/s | Rent → | |
| 1 | 303 tok/s | Specs → | |
| 2 | 212 tok/s | Specs → | |
| 2 | 185 tok/s | Rent → | |
| 1 | ~60.3 tok/s | Specs → | |
| 2 | 197 tok/s | Rent → | |
| 2 | 169 tok/s | Specs → | |
| 4 | 304 tok/s | Specs → | |
| 4 | 195 tok/s | Rent → | |
| 2 | 168 tok/s | Specs → | |
| 1 | 99.2 tok/s | Specs → | |
| 4 | ~254 tok/s | Rent → | |
| 1 | 94.5 tok/s | Specs → | |
| 4 | 243 tok/s | Rent → | |
| 2 | 145 tok/s | Specs → | |
| 2 | 147 tok/s | Specs → | |
| 2 | 145 tok/s | Rent → | |
| 2 | 147 tok/s | Rent → | |
| 4 | 263 tok/s | Specs → | |
| 4 | 263 tok/s | Rent → | |
| 8 | ~461 tok/s | Specs → | |
| 4 | ~212 tok/s | Specs → | |
| 4 | 224 tok/s | Specs → | |
| 4 | ~170 tok/s | Rent → | |
| 4 | ~219 tok/s | Rent → | |
| 2 | ~116 tok/s | Specs → | |
| 4 | 161 tok/s | Specs → | |
| 4 | 166 tok/s | Rent → | |
| 4 | 144 tok/s | Specs → | |
| 4 | 154 tok/s | Specs → | |
| 4 | 154 tok/s | Specs → | |
| 4 | 90.9 tok/s | Specs → | |
| 4 | ~138 tok/s | Specs → | |
| 4 | 151 tok/s | Rent → | |
| 2 | 89.8 tok/s | Specs → | |
| 8 | 274 tok/s | Rent → | |
| 8 | 270 tok/s | Specs → | |
| 8 | ~211 tok/s | Specs → | |
| 4 | 130 tok/s | Rent → | |
| 4 | 124 tok/s | Rent → | |
| 1 | 42.7 tok/s | Specs → | |
| 2 | 81.1 tok/s | Specs → | |
| 8 | ~229 tok/s | Rent → | |
| 4 | 136 tok/s | Specs → | |
| 4 | 101 tok/s | Specs → | |
| 2 | 53.4 tok/s | Specs → | |
| 8 | ~223 tok/s | Specs → | |
| 8 | 202 tok/s | Specs → | |
| 4 | 122 tok/s | Rent → | |
| 2 | 62.3 tok/s | Specs → | |
| 8 | 197 tok/s | Rent → | |
| 4 | 111 tok/s | Specs → | |
| 4 | 111 tok/s | Specs → | |
| 8 | 213 tok/s | Specs → | |
| 8 | 156 tok/s | Rent → | |
| 4 | 108 tok/s | Specs → | |
| 4 | 88.0 tok/s | Specs → | |
| 4 | ~86.8 tok/s | Specs → | |
| 8 | ~154 tok/s | Specs → | |
| 8 | 135 tok/s | Specs → | |
| 8 | ~149 tok/s | Specs → | |
| 4 | 85.2 tok/s | Specs → | |
| 4 | 85.6 tok/s | Specs → | |
| 4 | 80.1 tok/s | Specs → | |
| 8 | 132 tok/s | Rent → | |
| 8 | 123 tok/s | Rent → | |
| 4 | 50.6 tok/s | Specs → | |
| 8 | 95.6 tok/s | Specs → | |
| 8 | 75.7 tok/s | Specs → | |
| 8 | 78.2 tok/s | Rent → | |
| 4 | 35.4 tok/s | Specs → | |
| 8 | 54.6 tok/s | Rent → | |
| 8 | 52.4 tok/s | Specs → |
By vendor
At BF16 the NVIDIA pick is 2 x RTX PRO 6000 Blackwell Max-Q Workstation Edition at about 185 tokens/s for $1.00/hr; the AMD pick is 1 x Instinct MI300X 192GB at about 290 tokens/s for $2.39/hr. Per rental dollar NVIDIA delivers 1.53x the tokens of AMD here.
NVIDIA: 185 tokens/s per dollar, 309 tokens/s per kW (2 x RTX PRO 6000 Blackwell Max-Q Workstation Edition).AMD: 121 tokens/s per dollar, 387 tokens/s per kW (1 x Instinct MI300X 192GB).Huawei: no live price, 295 tokens/s per kW (1 x Ascend 910C).Intel: 89.7 tokens/s per dollar, 165 tokens/s per kW (2 x Gaudi 2 96GB).Google: no live price, no power figure (1 x TPU v7 192GB).AWS: no live price, no power figure (4 x Inferentia2).Other: no live price, 402 tokens/s per kW (1 x Cloud AI 100 Ultra).
Fleet what-if
Compare whole fleets at these settings: a thousand of one part against a hundred of another. Each fleet splits into replicas of its tensor-parallel width; GPUs left over sit idle.
| Fleet | Tokens/s |
|---|---|
1,000 x H200 SXM 141GB | 230k tok/s |
100 x GB200 NVL72 GPU 186GB | 52k tok/s |
1,000 x H200 SXM 141GB: 230k tokens/s, $2,480/hr, 700 kW.100 x GB200 NVL72 GPU 186GB: 52k tokens/s, $1,050/hr, no power figure.
H200 SXM 141GB: 230k tokens/s at 1000 GPUs.GB200 NVL72 GPU 186GB: 517k tokens/s at 1000 GPUs.
Size Gemma 4 31B for a tokens per second target
The calculator starts from your traffic instead of a fleet: set a target rate and read the replica count for every GPU.
Frequently asked questions
How much GPU memory does Gemma 4 31B need?
The weights take 62.5 GB at the native BF16 precision (62.5 GB at BF16, 31.3 GB at FP8, 17.6 GB at INT4). Each concurrent stream adds 440 KB of KV cache per token: 0.6 GB at 4,096 tokens and 1.8 GB at 32,768 tokens.
What is the bare minimum to run Gemma 4 31B?
1 x Instinct MI355X OAM at BF16 with 4,096 tokens of context and one stream. The cheapest live rental for that footprint is 1 x RTX PRO 6000 Blackwell Max-Q Workstation Edition at $0.50 per hour.
How many H100s do you need to run Gemma 4 31B?
one H100 at BF16 for 4,096 tokens of context and one stream. For 32,768 tokens and 32 concurrent streams the tensor-parallel group is 2 H100s, and 1,000 tokens per second takes 6 H100s across 3 replicas.
How much does Gemma 4 31B cost per million tokens on an H100?
About $2.57 per million output tokens at BF16, 32,768 tokens of context and 32 streams, using the cheapest live on-demand price of $1.83 per GPU-hour. The cheapest part per token is 2 x RTX PRO 6000 Blackwell Max-Q Workstation Edition at $1.50.
What precision does Gemma 4 31B ship in?
The published checkpoint is BF16. FP8 and INT4 figures describe post-training quantisations that halve and quarter the footprint at a small accuracy cost.
All figures are roofline estimates from the model's config.json and each GPU's published memory, bandwidth and tensor-core peak, with fixed efficiency factors. Prices are the cheapest live on-demand listing per GPU when the site has one. They are a planning floor; a tuned serving stack can do better. Ten global layers use four 512-wide heads; the other fifty use sixteen 256-wide heads over a 1,024-token window. K and V share one tensor.








