GPUs tracked45Price history8 dayssince Sep 3, 2026Price points (24h)7,968 pointsBiggest 24h dropMac Studio M4 Max 128GB-6.7%Biggest 24h riseGeForce RTX 5070 Ti+21.0%Data updated

How to Deploy Gemma 4 12B Locally

Gemma 4 12B is a dense model with 12B parameters. At Q4 it needs at least 11GB of VRAM, and 16GB is the comfortable amount for an 8K context. The cheapest card that runs it today is the Tesla V100 16GB at about $131, at roughly 71.4 tokens/s.

Gemma 4 12B details

Launch dateMay 23, 2026
Hugging Face repogoogle/gemma-4-12B-it
Revision
LicenseApache-2.0
ArchitectureDense
Ollama tag
Min VRAM at Q411 GB · Q4_K_M · 8K
Parameters12B
Layers48
Hidden size3,840
KV heads8
Head dim256
Max context256K
VendorGoogle DeepMind

How much VRAM does Gemma 4 12B need for local deployment?

QuantizationWeightsGBTotal at 8KGBTotal at 32KGBTotal at 128KGB
1-bit2.8est.6.815.851.8
2-bit4.7GGUF8.417.453.4
3-bit6GGUF9.718.754.7
4-bit7.1GGUF10.719.755.7
5-bit8.4GGUF12.121.157.1
8-bit12.7GGUF16.425.461.4
FP1623.8GGUF27.436.472.4

Total = weights + KV cache (FP16) + 1GB runtime overhead. Weights marked GGUF are measured file sizes from the repository; the rest are estimated from bytes per parameter. Contexts beyond this model's 256K limit show a dash. Each tier takes whichever file of that bit width the repository has, preferring unsloth dynamic quants, so the exact file name varies by model.

Which GPUs can run Gemma 4 12B?

Xianyu
DeviceVRAMGBPriceEst. t/sSuggested context
Tesla V100 16GB16$13113 listings71.48K
GeForce RTX 2080 Ti 22GB22$3873 listings49.832K
Instinct MI50 32GB32$4054 listings58.732K
Radeon RX 6950 XT16$44613 listings33.78K
Radeon RX 7800 XT16$46111 listings36.48K
Tesla V100 32GB32$47611 listings71.432K
Radeon RX 7900 XT20$63916 listings46.332K
GeForce RTX 5060 Ti 16GB16$6974 listings36.68K
Arc Pro B6024$78410 listings24.232K
Radeon RX 7900 XTX24$86217 listings55.232K
Radeon RX 9070 XT16$90712 listings37.38K
GeForce RTX 507012$91810 listings54.18K
GeForce RTX 408016$1,1529 listings57.68K
GeForce RTX 309024$1,20415 listings74.132K
Arc Pro B7032$1,4656 listings32.132K
GeForce RTX 5070 Ti16$1,4723 listings71.18K
Radeon AI PRO R970032$1,6438 listings37.332K
CMP 170HX 40GB40$1,6804 listings118.832K
Radeon PRO W780032$1,8443 listings33.732K
GeForce RTX 508016$1,85112 listings75.98K
CMP 170HX 64GB64$2,0898 listings114.2128K
RTX PRO 4000 Blackwell24$2,32718 listings54.132K
Instinct MI21064$2,75112 listings91.3128K
Radeon PRO W790048$3,2715 listings49.932K
GeForce RTX 409024$3,49416 listings79.432K
GeForce RTX 5090 D V224$3,55414 listings103.732K
RTX PRO 4500 Blackwell32$3,84416 listings71.132K
GeForce RTX 4090 48GB48$3,9553 listings79.432K
A100 40GB PCIe40$4,6024 listings118.532K
Mac Studio M4 Max 128GB128$4,78813 listings35.1128K
DGX Spark 128GB128$4,83231 listings22.6128K
GeForce RTX 5090 D32$4,89213 listings134.632K
MacBook Pro M4 Max 128GB128$5,2644 listings35.1128K
Mac Studio M5 Max 128GB128$5,8816 listings39.3128K
GeForce RTX 509032$6,51313 listings134.632K
RTX PRO 5000 Blackwell 48GB48$6,95915 listings103.732K
MacBook Pro M5 Max 128GB128$8,1487 listings39.3128K
RTX PRO 5000 Blackwell 72GB72$9,66517 listings103.7128K
RTX PRO 6000D84$10,11117 listings119.4128K
RTX PRO 6000 Blackwell96$18,4226 listings134.6128K
Mac Studio M3 Ultra 512GB512$19,3156 listings51.9128K
Arc Pro B6532No listings32.132K
GeForce RTX 4080 SUPER 32GB32No listings5932K
Instinct MI10032No listings69.732K
Ryzen AI Max+ 395 128GB128No listings15.2128K

Fits when weights + KV cache + runtime overhead is at or below usable memory, single card. "Offload" on MoE models means it runs with expert weights in system RAM (only attention layers and KV cache stay in VRAM); that speed assumes 70 GB/s RAM bandwidth. The context column is the largest tier that fits.

Deploy Gemma 4 12B locally with Ollama, llama.cpp or vLLM

Ollama

The Ollama library has no official tag for it yet.

llama.cpp

llama.cpp pulls the GGUF straight from Hugging Face; -c sets the context length.

llama-server -hf unsloth/gemma-4-12b-it-GGUF:Q4_K_M -c 8192
vLLM

vLLM serves the original-precision weights, which needs far more memory than GGUF and usually more than one GPU.

vllm serve google/gemma-4-12B-it

File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology

FAQ

How much VRAM does Gemma 4 12B need?

At Q4_K_M with an 8K context Gemma 4 12B needs about 11GB of VRAM; 16GB leaves comfortable headroom.

What is the cheapest GPU that runs Gemma 4 12B?

The Tesla V100 16GB: 16GB of VRAM, currently about $131, at roughly 71.4 tokens/s.

Can you run Gemma 4 12B with Ollama?

Not yet: the Ollama library has no official tag for it. You can load the GGUF with llama.cpp instead.