RigPrice.

Best hardware for Gemma 4 31B

Among the strongest consumer-grade local models.

30.7B parameters · dense · gemma family

Our picks for this model

Cheapest

1× AMD Radeon RX 7900 XTX

$1,280 on eBay ↗ · ~26.2 tok/s est.

one card, no extra setup

AMD card: runs well with Vulkan builds, but expect more setup than an NVIDIA card.

Easiest

1× NVIDIA GeForce RTX 3090

$1,500 on eBay ↗ · ~25.6 tok/s est.

one card, no extra setup

Fastest

1× NVIDIA GeForce RTX 5090

$7,070 on eBay ↗ · ~49 tok/s est.

one card, no extra setup

Rule-based picks at Q4_K_M, from live screened prices (how we estimate speed and choose picks). Every option is ranked below.

Q4_K_M

Minimum VRAM: 21.22 GB (file 18.3 GB + context/runtime headroom at 8k ctx; see methodology).

Cheapest fitting cloud offer: RunPod $0.16/hr (rtx-a5000 class, on-demand) · cloud prices checked 2026-10-31.

ConfigScreened priceTotal VRAMEst. wattsEst. tokens/secBreakeven vs cloudVerdict
1× AMD Radeon RX 7900 XTX our pick · Cheapest
AMD card: more setup than NVIDIA for local AI
$1,28024 GB430 W~26.2109 moRenting wins at 40 h/mo
1× NVIDIA GeForce RTX 3090 our pick · Easiest$1,50024 GB425 W~25.692 moRenting wins at 40 h/mo
1× NVIDIA GeForce RTX 5090 our pick · Fastest$7,07032 GB650 W~49 (well above this table's average)1,031 moRenting wins at 40 h/mo
1× NVIDIA GeForce RTX 3090 Ti$1,81024 GB525 W~27.5139 moRenting wins at 40 h/mo
1× NVIDIA RTX A5000$2,34924 GB305 W (well below this table's average)~21179 moRenting wins at 40 h/mo
2× NVIDIA GeForce RTX 3090$3,07048 GB775 W~25.6521 moRenting wins at 40 h/mo
1× NVIDIA GeForce RTX 4090$3,72024 GB525 W~27.5469 moRenting wins at 40 h/mo
1× NVIDIA RTX A6000$4,46048 GB375 W (well below this table's average)~21302 moRenting wins at 40 h/mo
2× NVIDIA RTX A5000$4,72948 GB535 W~21545 moRenting wins at 40 h/mo
4× NVIDIA GeForce RTX 3090$6,26996 GB1475 W (well above this table's average)~25.6neverCloud always cheaper at this power price
2× NVIDIA GeForce RTX 4090$7,52048 GB975 W (well above this table's average)~27.518,339 moRenting wins at 40 h/mo
2× NVIDIA RTX A6000$8,93096 GB675 W~211,168 moRenting wins at 40 h/mo
4× NVIDIA RTX A5000$9,52996 GB995 W (well above this table's average)~21103,594 moRenting wins at 40 h/mo
1× NVIDIA Tesla P40
Passive datacenter card: needs a cooling mod and is far slower than modern cards
$35024 GB325 W (well below this table's average)~9.5 (well below this table's average)20 moBuying wins by month 21
2× NVIDIA Tesla P40
Passive datacenter card: needs a cooling mod and is far slower than modern cards
$700
+ shipping unknown on 1 of 2
48 GB575 W~9.5 (well below this table's average)64 moRenting wins at 40 h/mo
1× NVIDIA TITAN RTX
Turing-era card: much slower than an RTX 3090 for similar money
$1,16824 GB355 W (well below this table's average)~18.493 moRenting wins at 40 h/mo
4× NVIDIA Tesla P40
Passive datacenter card: needs a cooling mod and is far slower than modern cards
$1,426
+ shipping unknown on 1 of 4
96 GB1075 W (well above this table's average)~9.5 (well below this table's average)neverCloud always cheaper at this power price
  • Our pick rows sit on top, then clean configs by price; cards with a caveat (cooling mod needed, or poor value for AI) group last, whatever their price. Watts and tokens/sec turn green or red when they sit far from this table's average (roughly 40% either way).
  • Prices link straight to the screened eBay listing; hover for the seller summary. Seller details and the report option live on each card's own page.
  • Configs without a screened purchase option are hidden until listings clear the trust screen (a multi-day survival window on eBay).
  • Multi-card costs are the sum of that many separate screened listings; the cheapest listing counted twice is not a price anyone can pay. Prices exclude the PSU, board and case a multi-card build usually also needs.
  • Tokens/sec are estimates, not benchmarks: spec-sheet memory bandwidth at 50% utilization divided by the model bytes read per token (how and why). Real speeds vary with the runtime and context length.
  • Breakeven and verdict use default assumptions (40 h/mo, $0.16/kWh, 24-month horizon, resale at 65% of the going rate); adjust them in the calculator. Hardware links are screened, not guaranteed.

Run your own numbers for Gemma 4 31B (Q4_K_M) in the buy-vs-rent calculator →

Q8_0

Minimum VRAM: 36.23 GB (file 32.6 GB + context/runtime headroom at 8k ctx; see methodology).

Cheapest fitting cloud offer: RunPod $0.33/hr (rtx-a6000 class, on-demand) · cloud prices checked 2026-10-31.

ConfigScreened priceTotal VRAMEst. wattsEst. tokens/secBreakeven vs cloudVerdict
2× NVIDIA GeForce RTX 3090$3,07048 GB775 W~14.491 moRenting wins at 40 h/mo
1× NVIDIA RTX A6000$4,46048 GB375 W (well below this table's average)~11.8112 moRenting wins at 40 h/mo
2× NVIDIA RTX A5000$4,72948 GB535 W~11.8166 moRenting wins at 40 h/mo
4× NVIDIA GeForce RTX 3090$6,26996 GB1475 W (well above this table's average)~14.4434 moRenting wins at 40 h/mo
2× NVIDIA GeForce RTX 4090$7,52048 GB975 W~15.5422 moRenting wins at 40 h/mo
2× NVIDIA RTX A6000$8,93096 GB675 W~11.8274 moRenting wins at 40 h/mo
4× NVIDIA RTX A5000$9,52996 GB995 W~11.8485 moRenting wins at 40 h/mo
2× NVIDIA Tesla P40
Passive datacenter card: needs a cooling mod and is far slower than modern cards
$700
+ shipping unknown on 1 of 2
48 GB575 W~5.3 (well below this table's average)18 moBuying wins by month 19
4× NVIDIA Tesla P40
Passive datacenter card: needs a cooling mod and is far slower than modern cards
$1,426
+ shipping unknown on 1 of 4
96 GB1075 W~5.3 (well below this table's average)59 moRenting wins at 40 h/mo
  • Our pick rows sit on top, then clean configs by price; cards with a caveat (cooling mod needed, or poor value for AI) group last, whatever their price. Watts and tokens/sec turn green or red when they sit far from this table's average (roughly 40% either way).
  • Prices link straight to the screened eBay listing; hover for the seller summary. Seller details and the report option live on each card's own page.
  • Configs without a screened purchase option are hidden until listings clear the trust screen (a multi-day survival window on eBay).
  • Multi-card costs are the sum of that many separate screened listings; the cheapest listing counted twice is not a price anyone can pay. Prices exclude the PSU, board and case a multi-card build usually also needs.
  • Tokens/sec are estimates, not benchmarks: spec-sheet memory bandwidth at 50% utilization divided by the model bytes read per token (how and why). Real speeds vary with the runtime and context length.
  • Breakeven and verdict use default assumptions (40 h/mo, $0.16/kWh, 24-month horizon, resale at 65% of the going rate); adjust them in the calculator. Hardware links are screened, not guaranteed.

Run your own numbers for Gemma 4 31B (Q8_0) in the buy-vs-rent calculator →