CheckerWhat fits my GPU?ModelsWhat to buyEmbeddingsData & methodSubmitAPISponsor

Can I run Gemma 4 12B locally?

Gemma 4 12B has 11.96 billion parameters (Hugging Face). At the popular Q4_K_M quantization it needs roughly 8.8 GB of GPU memory ESTIMATE. It has been on Hugging Face since 2026-05-23.

Memory needed by quantization

QuantWeightsTotal needed (est.)
IQ1_S2.3 GB3.7 GB
IQ2_XXS3.1 GB4.4 GB
IQ2_M4.0 GB5.4 GB
Q2_K4.7 GB6.2 GB
IQ3_XXS4.6 GB6.0 GB
Q3_K_S5.5 GB6.9 GB
IQ3_M5.5 GB6.9 GB
Q3_K_M6.0 GB7.5 GB
IQ4_XS6.4 GB7.9 GB
Q4_06.7 GB8.3 GB
Q4_K_M7.3 GB8.8 GB
MXFP46.9 GB8.5 GB
Q5_K_M8.5 GB10.1 GB
Q6_K9.8 GB11.5 GB
Q8_012.7 GB14.5 GB
F1623.9 GB26.3 GB

KV cache by context length ESTIMATE

Contextf16q8_0q4_0
4k0.60 GB0.32 GB0.17 GB
8k0.87 GB0.46 GB0.25 GB
16k1.41 GB0.75 GB0.40 GB
32k2.48 GB1.32 GB0.70 GB
64k4.63 GB2.46 GB1.30 GB
128k8.93 GB4.74 GB2.51 GB

From config.json: 8 KV-caching attention layers, 8 KV heads × 256 head dim, plus 40 sliding-window layers (1024 tokens). Max context 256k. The tables above assume 4k context.

Which GPUs and Macs can run it?

HardwareMemoryQ4_K_MQ8_0F16
RTX 509032 GB✅✅✅
RTX 508016 GB✅⚠️ tight❌
RTX 5070 Ti16 GB✅⚠️ tight❌
RTX 507012 GB✅❌❌
RTX 5060 Ti 16GB16 GB✅⚠️ tight❌
RTX 5060 Ti 8GB8 GB❌❌❌
RTX 50608 GB❌❌❌
RTX 50508 GB❌❌❌
RTX 409024 GB✅✅❌
RTX 4080 Super16 GB✅⚠️ tight❌
RTX 408016 GB✅⚠️ tight❌
RTX 4070 Ti Super16 GB✅⚠️ tight❌
RTX 4070 Ti12 GB✅❌❌
RTX 4070 Super12 GB✅❌❌
RTX 407012 GB✅❌❌
RTX 4060 Ti 16GB16 GB✅⚠️ tight❌
RTX 4060 Ti 8GB8 GB❌❌❌
RTX 40608 GB❌❌❌
RTX 3090 Ti24 GB✅✅❌
RTX 309024 GB✅✅❌
RTX 3080 Ti12 GB✅❌❌
RTX 3080 12GB12 GB✅❌❌
RTX 3080 10GB10 GB✅❌❌
RTX 3070 Ti8 GB❌❌❌
RTX 30708 GB❌❌❌
RTX 3060 Ti8 GB❌❌❌
RTX 3060 12GB12 GB✅❌❌
RTX 3060 8GB8 GB❌❌❌
RTX 3050 8GB8 GB❌❌❌
RTX 3050 6GB6 GB❌❌❌
RTX 2080 Ti11 GB✅❌❌
RTX 2080 Super8 GB❌❌❌
RTX 20808 GB❌❌❌
RTX 2070 Super8 GB❌❌❌
RTX 20708 GB❌❌❌
RTX 2060 Super8 GB❌❌❌
RTX 2060 6GB6 GB❌❌❌
RTX 2060 12GB12 GB✅❌❌
GTX 1080 Ti11 GB✅❌❌
GTX 1660 Super6 GB❌❌❌
RTX 5090 Laptop24 GB✅✅❌
RTX 4090 Laptop16 GB✅⚠️ tight❌
RTX PRO 6000 Blackwell96 GB✅✅✅
RTX 6000 Ada48 GB✅✅✅
RTX A600048 GB✅✅✅
RTX A500024 GB✅✅❌
RTX A400016 GB✅⚠️ tight❌
Tesla P4024 GB✅✅❌
DGX Spark (GB10)128 GB✅✅✅
Radeon RX 9070 XT16 GB✅⚠️ tight❌
Radeon RX 907016 GB✅⚠️ tight❌
Radeon RX 9060 XT 16GB16 GB✅⚠️ tight❌
Radeon RX 9060 XT 8GB8 GB❌❌❌
Radeon RX 7900 XTX24 GB✅✅❌
Radeon RX 7900 XT20 GB✅✅❌
Radeon RX 7900 GRE16 GB✅⚠️ tight❌
Radeon RX 7800 XT16 GB✅⚠️ tight❌
Radeon RX 7700 XT12 GB✅❌❌
Radeon RX 7600 XT16 GB✅⚠️ tight❌
Radeon RX 76008 GB❌❌❌
Radeon RX 6950 XT16 GB✅⚠️ tight❌
Radeon RX 6900 XT16 GB✅⚠️ tight❌
Radeon RX 6800 XT16 GB✅⚠️ tight❌
Radeon RX 680016 GB✅⚠️ tight❌
Radeon RX 6750 XT12 GB✅❌❌
Radeon RX 6700 XT12 GB✅❌❌
Radeon RX 6650 XT8 GB❌❌❌
Radeon RX 6600 XT8 GB❌❌❌
Radeon RX 66008 GB❌❌❌
Radeon AI Pro R970032 GB✅✅✅
Intel Arc B58012 GB✅❌❌
Intel Arc B57010 GB✅❌❌
Intel Arc A770 16GB16 GB✅⚠️ tight❌
Intel Arc A770 8GB8 GB❌❌❌
Intel Arc A7508 GB❌❌❌
Intel Arc Pro B6024 GB✅✅❌
GTX 16504 GB❌❌❌
GTX 1650 Super4 GB❌❌❌
GTX 1650 Laptop4 GB❌❌❌
GTX 1050 Ti4 GB❌❌❌
RTX 3050 Laptop 4GB4 GB❌❌❌
RTX 2050 Laptop4 GB❌❌❌
Quadro T10004 GB❌❌❌
RX 6500 XT 4GB4 GB❌❌❌
RX 64004 GB❌❌❌
Intel Arc A3806 GB❌❌❌
Apple M1 (16 GB)16 GB✅❌❌
Apple M1 Pro (16 GB)16 GB✅❌❌
Apple M1 Pro (32 GB)32 GB✅✅❌
Apple M1 Max (32 GB)32 GB✅✅❌
Apple M1 Max (64 GB)64 GB✅✅✅
Apple M1 Ultra (64 GB)64 GB✅✅✅
Apple M1 Ultra (128 GB)128 GB✅✅✅
Apple M2 (16 GB)16 GB✅❌❌
Apple M2 (24 GB)24 GB✅⚠️ tight❌
Apple M2 Pro (16 GB)16 GB✅❌❌
Apple M2 Pro (32 GB)32 GB✅✅❌
Apple M2 Max (32 GB)32 GB✅✅❌
Apple M2 Max (64 GB)64 GB✅✅✅
Apple M2 Max (96 GB)96 GB✅✅✅
Apple M2 Ultra (64 GB)64 GB✅✅✅
Apple M2 Ultra (128 GB)128 GB✅✅✅
Apple M2 Ultra (192 GB)192 GB✅✅✅
Apple M3 (16 GB)16 GB✅❌❌
Apple M3 (24 GB)24 GB✅⚠️ tight❌
Apple M3 Pro (36 GB)36 GB✅✅❌
Apple M3 Max (36 GB)36 GB✅✅❌
Apple M3 Max (48 GB)48 GB✅✅✅
Apple M3 Max (64 GB)64 GB✅✅✅
Apple M3 Max (96 GB)96 GB✅✅✅
Apple M3 Max (128 GB)128 GB✅✅✅
Apple M3 Ultra (96 GB)96 GB✅✅✅
Apple M3 Ultra (256 GB)256 GB✅✅✅
Apple M3 Ultra (512 GB)512 GB✅✅✅
Apple M4 (16 GB)16 GB✅❌❌
Apple M4 (24 GB)24 GB✅⚠️ tight❌
Apple M4 (32 GB)32 GB✅✅❌
Apple M4 Pro (24 GB)24 GB✅⚠️ tight❌
Apple M4 Pro (48 GB)48 GB✅✅✅
Apple M4 Pro (64 GB)64 GB✅✅✅
Apple M4 Max (36 GB)36 GB✅✅❌
Apple M4 Max (48 GB)48 GB✅✅✅
Apple M4 Max (64 GB)64 GB✅✅✅
Apple M4 Max (128 GB)128 GB✅✅✅
Apple M5 (16 GB)16 GB✅❌❌
Apple M5 (24 GB)24 GB✅⚠️ tight❌
Apple M5 (32 GB)32 GB✅✅❌
Apple M5 Pro (24 GB)24 GB✅⚠️ tight❌
Apple M5 Pro (48 GB)48 GB✅✅✅
Apple M5 Pro (64 GB)64 GB✅✅✅
Apple M5 Max (36 GB)36 GB✅✅❌
Apple M5 Max (48 GB)48 GB✅✅✅
Apple M5 Max (64 GB)64 GB✅✅✅
Apple M5 Max (128 GB)128 GB✅✅✅
AMD Ryzen AI Max+ 395 Strix Halo 32GB (Linux, ~24 GB for GPU) · Radeon 8060S · Framework Desktop / GMKtec EVO-X2 / HP Z2 Mini G1a24 GB✅✅❌
AMD Ryzen AI Max+ 395 Strix Halo 32GB (Windows, ~24 GB for GPU) · Radeon 8060S · Framework Desktop / GMKtec EVO-X2 / HP Z2 Mini G1a24 GB✅✅❌
AMD Ryzen AI Max+ 395 Strix Halo 64GB (Linux, ~56 GB for GPU) · Radeon 8060S · Framework Desktop / GMKtec EVO-X2 / HP Z2 Mini G1a56 GB✅✅✅
AMD Ryzen AI Max+ 395 Strix Halo 64GB (Windows, ~48 GB for GPU) · Radeon 8060S · Framework Desktop / GMKtec EVO-X2 / HP Z2 Mini G1a48 GB✅✅✅
AMD Ryzen AI Max+ 395 Strix Halo 96GB (Linux, ~88 GB for GPU) · Radeon 8060S · Framework Desktop / GMKtec EVO-X2 / HP Z2 Mini G1a88 GB✅✅✅
AMD Ryzen AI Max+ 395 Strix Halo 96GB (Windows, ~72 GB for GPU) · Radeon 8060S · Framework Desktop / GMKtec EVO-X2 / HP Z2 Mini G1a72 GB✅✅✅
AMD Ryzen AI Max+ 395 Strix Halo 128GB (Linux, ~120 GB for GPU) · Radeon 8060S · Framework Desktop / GMKtec EVO-X2 / HP Z2 Mini G1a120 GB✅✅✅
AMD Ryzen AI Max+ 395 Strix Halo 128GB (Windows, ~96 GB for GPU) · Radeon 8060S · Framework Desktop / GMKtec EVO-X2 / HP Z2 Mini G1a96 GB✅✅✅
AMD Ryzen AI Max 390/385 Strix Halo 32GB (Linux, ~24 GB for GPU) · Radeon 8050S · Framework Desktop / GMKtec EVO-X2 / HP Z2 Mini G1a24 GB✅✅❌
AMD Ryzen AI Max 390/385 Strix Halo 32GB (Windows, ~24 GB for GPU) · Radeon 8050S · Framework Desktop / GMKtec EVO-X2 / HP Z2 Mini G1a24 GB✅✅❌
AMD Ryzen AI Max 390/385 Strix Halo 64GB (Linux, ~56 GB for GPU) · Radeon 8050S · Framework Desktop / GMKtec EVO-X2 / HP Z2 Mini G1a56 GB✅✅✅
AMD Ryzen AI Max 390/385 Strix Halo 64GB (Windows, ~48 GB for GPU) · Radeon 8050S · Framework Desktop / GMKtec EVO-X2 / HP Z2 Mini G1a48 GB✅✅✅
AMD Ryzen AI Max 390/385 Strix Halo 128GB (Linux, ~120 GB for GPU) · Radeon 8050S · Framework Desktop / GMKtec EVO-X2 / HP Z2 Mini G1a120 GB✅✅✅
AMD Ryzen AI Max 390/385 Strix Halo 128GB (Windows, ~96 GB for GPU) · Radeon 8050S · Framework Desktop / GMKtec EVO-X2 / HP Z2 Mini G1a96 GB✅✅✅

✅ fits · ⚠️ fits with little headroom · ❌ doesn't fit on this one device (multiple GPUs or RAM offload may work; check your setup). Apple Silicon assumes macOS lets the GPU use ~67–75% of unified memory. All fit verdicts are estimates.

Get the weekly "new models & what it takes to run them" email

Free. One email a week. Unsubscribe anytime.