GPUs tracked45Price history8 dayssince Sep 3, 2026Price points (24h)7,968 pointsBiggest 24h dropBiggest 24h riseData 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 $659, 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?

AmazonJP
DeviceVRAMGBPriceEst. t/sSuggested context
Tesla V100 16GB16$6594 listings71.48K
Radeon RX 9070 XT16$8848 listings37.38K
GeForce RTX 5060 Ti 16GB16$9249 listings36.68K
GeForce RTX 507012$95610 listings54.18K
Radeon RX 7800 XT16$96610 listings36.48K
Tesla V100 32GB32$1,1413 listings71.432K
Arc Pro B6024$1,1643 listings24.232K
Radeon RX 7900 XT20$1,2449 listings46.332K
Radeon RX 6950 XT16$1,4044 listings33.78K
GeForce RTX 5070 Ti16$1,57610 listings71.18K
Radeon RX 7900 XTX24$1,7389 listings55.232K
GeForce RTX 508016$1,8684 listings75.98K
Arc Pro B7032$2,0743 listings32.132K
GeForce RTX 408016$2,1878 listings57.68K
Radeon AI PRO R970032$2,2446 listings37.332K
GeForce RTX 309024$2,5209 listings74.132K
Ryzen AI Max+ 395 128GB128$3,9136 listings15.2128K
RTX PRO 4000 Blackwell24$3,9565 listings54.132K
GeForce RTX 409024$4,9059 listings79.432K
GeForce RTX 509032$7,4899 listings134.632K
DGX Spark 128GB128$8,2233 listings22.6128K
GeForce RTX 2080 Ti 22GB22No listings49.832K
GeForce RTX 5090 D V224No listings103.732K
Arc Pro B6532No listings32.132K
GeForce RTX 4080 SUPER 32GB32No listings5932K
GeForce RTX 5090 D32No listings134.632K
Instinct MI10032No listings69.732K
Instinct MI50 32GB32No listings58.732K
Radeon PRO W780032No listings33.732K
RTX PRO 4500 Blackwell32No listings71.132K
A100 40GB PCIe40No listings118.532K
CMP 170HX 40GB40No listings118.832K
GeForce RTX 4090 48GB48No listings79.432K
Radeon PRO W790048No listings49.932K
RTX PRO 5000 Blackwell 48GB48No listings103.732K
CMP 170HX 64GB64No listings114.2128K
Instinct MI21064No listings91.3128K
RTX PRO 5000 Blackwell 72GB72No listings103.7128K
RTX PRO 6000D84No listings119.4128K
RTX PRO 6000 Blackwell96No listings134.6128K
Mac Studio M4 Max 128GB128No listings35.1128K
Mac Studio M5 Max 128GB128No listings39.3128K
MacBook Pro M4 Max 128GB128No listings35.1128K
MacBook Pro M5 Max 128GB128No listings39.3128K
Mac Studio M3 Ultra 512GB512No listings51.9128K

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 $659, 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.