Models / Gemma 3 4B / Calculator

Gemma 3 4B cost & VRAM calculator

What does Gemma 3 4B cost to run for your workload, and can you run it on your own hardware? Set your workload below - we compute per-provider API cost live and tell you honestly whether local hardware can run it.

Your workload

API cost for your workload

Provider Rate ($/1M) Monthly cost
DeepInfra $0.05 in · $0.10 out $0.0 cheapest

Monthly cost is an estimate from list prices and your workload - verify against the provider before committing. Cached fraction applies the cache rate to that share of input.

Can you run it locally?

YES - IT RUNS ON HARDWARE YOU CAN BUY

Gemma 3 4B fits on individual rigs. Here's the hardware that runs it comfortably; the full per-quant VRAM matrix and tok/s estimates live on the model page.

4x H100 80GB (320GB) 320GB Q4_K_M
1743.1t/s
NVIDIA DGX Station 748GB 748GB Q4_K_M
1040.7t/s
8x RTX 3090 rack (192GB) 192GB Q4_K_M
974.3t/s
4x RTX 5090 (128GB) 128GB Q4_K_M
932.5t/s
AMD Instinct MI300X (192GB) 192GB Q4_K_M
692.7t/s
4x RTX 4090 (96GB) 96GB Q4_K_M
524.5t/s
2x RTX 5090 (64GB) 64GB Q4_K_M
466.2t/s
2x RTX 3090 (48GB) 48GB Q4_K_M
243.6t/s
Single RTX 5090 (32GB) 32GB Q4_K_M
233.1t/s
RTX PRO 6000 Blackwell (96GB) 96GB Q4_K_M
233.1t/s
Mac Studio M4 Ultra 192GB 192GB Q4_K_M
155.0t/s
Mac Studio M4 Ultra 512GB 512GB Q4_K_M
155.0t/s
Single RTX 4090 (24GB) 24GB Q4_K_M
131.1t/s
MacBook Pro M5 Max 128GB 128GB Q4_K_M
87.1t/s
Single GTX 1080 Ti (11GB) 11GB Q4_K_M
63.0t/s
Dual EPYC 9004 + 768GB DDR5-4800 768GB Q4_K_M
59.9t/s
DGX Spark 128GB unified 128GB Q4_K_M
35.5t/s
Ryzen AI Max+ 395 128GB 128GB Q4_K_M
33.3t/s
Jetson AGX Orin 64GB 64GB Q4_K_M
26.6t/s
Epyc + 512GB DDR4-3200 + 2x RTX 3090 560GB Q4_K_M
26.6t/s
Epyc + 512GB DDR4-2400 + 2x RTX 3090 560GB Q4_K_M
20.0t/s
NVIDIA Jetson Orin NX 16GB 16GB Q4_K_M
13.3t/s
Q4_K_M
3.0GB weights 3.0GB min 4.4GB rec
Q8_0
5.0GB weights 5.0GB min 6.4GB rec

Want the own-vs-rent payback (capex vs your monthly API bill)? The budget tool computes that against representative rigs.

Full model card API pricing table Generic token calculator