DeskGPU
English

gemma-3-12b-it: how much VRAM does it need?

This page was written and translated automatically by AI and checked by software against its sources, with no human editing. Specifications come from the sources listed; memory requirements and speeds are estimates calculated with published formulas. How we use AI

gemma-3-12b-it has 11.8B parameters. At Q4_K_M with a context of 8,192 tokens, a single GPU needs 10.7 GiB of available memory for the result to be “Fits”.

Values updated Oct 19, 2026

Key facts

Original repository
google/gemma-3-12b-it@96b6f1e
Publisher
google
License
gemma
Parameters (GGUF tensor table: the tensors llama.cpp loads; multi-token-prediction layers not counted)
11.8B
Parameters reported by the original repository (may include a vision encoder or extra layers)
12.2B
Layers
48
Attention layout
8 full-attention layers; 40 sliding-window layers (1,024 tokens)
KV cache per token (F16, all attention layers)
384.0 KiB
Longest supported context
131,072
Image input
Supported by the model; estimates here cover text only (the vision projector needs extra memory).

The architecture comes from the GGUF header only: the original repository is gated, so it could not be cross-checked against its config.json.

GGUF files and memory needed

All quantizations come from one GGUF repository at one pinned revision: unsloth/gemma-3-12b-it-GGUF@d15e4c7

File sizes are the real files on Hugging Face. The other columns give X, the available memory one GPU needs for the result to be “Fits” (largest buffer estimate ÷ 0.95 + 1 GiB), with llama.cpp, Flash Attention, F16 KV cache, 4 parallel sequences and micro-batch 512. They do not depend on any particular GPU.
QuantizationFile sizeX at 4,096 contextX at 8,192 contextX at 32,768 contextX at 131,072 context
BF16 21.92 GiB 26.2 GiB26.6 GiB28.3 GiB34.8 GiB
Q8_0 11.65 GiB 15.4 GiB15.8 GiB17.4 GiB24.0 GiB
Q6_K 9.00 GiB 12.6 GiB13.0 GiB14.7 GiB21.2 GiB
Q5_K_M 7.87 GiB 11.4 GiB11.8 GiB13.5 GiB20.0 GiB
Q4_K_M 6.80 GiB 10.3 GiB10.7 GiB12.3 GiB18.9 GiB
Q4_0 6.43 GiB 9.9 GiB10.3 GiB12.0 GiB18.5 GiB
IQ4_XS 6.10 GiB 9.5 GiB10.0 GiB11.6 GiB18.1 GiB
Q3_K_M 5.60 GiB 9.0 GiB9.4 GiB11.1 GiB17.6 GiB
Q2_K 4.44 GiB 7.8 GiB8.2 GiB9.9 GiB16.4 GiB

Smallest GPU for each quantization

For each quantization: the listed GPU with the least memory whose estimate is “Fits” on one card at 8,192 tokens of context. GPUs whose result is “Unknown” (no runtime profile, workstation and data-center cards, unified memory) are not considered.
QuantizationSmallest GPU that fits (one card)Memory
BF16 NVIDIA GeForce RTX 5090 32 GB
Q8_0 AMD Radeon RX 7900 XT 20 GB
Q6_K AMD Radeon RX 7800 XT 16 GB
Q5_K_M AMD Radeon RX 7800 XT 16 GB
Q4_K_M AMD Radeon RX 7800 XT 16 GB
Q4_0 AMD Radeon RX 7700 XT 12 GB
IQ4_XS AMD Radeon RX 7700 XT 12 GB
Q3_K_M AMD Radeon RX 7700 XT 12 GB
Q2_K NVIDIA GeForce RTX 3080 Ti 12 GB

GPUs that can run gemma-3-12b-it

“Fits” means llama.cpp's default --fit load check would place all layers on the GPU: our estimate of llama.cpp's buffers, plus its error margin, plus llama.cpp's 1 GiB per-card reserve, is within the memory counted as available. It does not promise that peak memory while generating fits. How results are decided

Context 8,192 tokens. Highest quantization that fits on one card, its longest context and the speed ceiling.
GPU Memory Run profile Highest quantization that fits Available memory needed for “Fits” Longest context Speed ceiling Result
AMD Radeon RX 7700 XT 12 GB ROCm on Linux (AMD) Q4_0 10.3 GiB 12,544 — Fits
NVIDIA GeForce RTX 3080 Ti 12 GB CUDA (NVIDIA) Q2_K 8.2 GiB 17,920 ≤ 162 tok/s Fits
NVIDIA GeForce RTX 4070 12 GB CUDA (NVIDIA) Q2_K 8.2 GiB 17,920 ≤ 89.5 tok/s Fits
NVIDIA GeForce RTX 4070 Ti 12 GB CUDA (NVIDIA) Q2_K 8.2 GiB 17,920 ≤ 89.5 tok/s Fits
NVIDIA GeForce RTX 5070 12 GB CUDA (NVIDIA) Q2_K 8.2 GiB 17,920 ≤ 119 tok/s Fits
AMD Radeon RX 7800 XT 16 GB ROCm on Linux (AMD) Q6_K 13.0 GiB 34,048 — Fits
AMD Radeon RX 7900 GRE 16 GB ROCm on Linux (AMD) Q6_K 13.0 GiB 32,256 — Fits
NVIDIA GeForce RTX 4060 Ti 16GB 16 GB CUDA (NVIDIA) Q6_K 13.0 GiB 20,992 ≤ 27.4 tok/s Fits
NVIDIA GeForce RTX 4070 Ti SUPER 16 GB CUDA (NVIDIA) Q5_K_M 11.8 GiB 23,808 ≤ 72.2 tok/s Fits
NVIDIA GeForce RTX 4080 16 GB CUDA (NVIDIA) Q5_K_M 11.8 GiB 23,808 ≤ 77.0 tok/s Fits
NVIDIA GeForce RTX 5060 Ti 16GB 16 GB CUDA (NVIDIA) Q5_K_M 11.8 GiB 23,808 — Fits
NVIDIA GeForce RTX 5070 Ti 16 GB CUDA (NVIDIA) Q5_K_M 11.8 GiB 23,808 ≤ 96.2 tok/s Fits
NVIDIA GeForce RTX 5080 16 GB CUDA (NVIDIA) Q5_K_M 11.8 GiB 23,808 ≤ 103 tok/s Fits
AMD Radeon RX 7900 XT 20 GB ROCm on Linux (AMD) Q8_0 15.8 GiB 50,432 — Fits
AMD Radeon RX 7900 XTX 24 GB ROCm on Linux (AMD) Q8_0 15.8 GiB 112,640 — Fits
NVIDIA GeForce RTX 3090 24 GB CUDA (NVIDIA) Q8_0 15.8 GiB 92,928 ≤ 70.0 tok/s Fits
NVIDIA GeForce RTX 3090 Ti 24 GB CUDA (NVIDIA) Q8_0 15.8 GiB 84,480 ≤ 75.4 tok/s Fits
NVIDIA GeForce RTX 5090 32 GB CUDA (NVIDIA) BF16 26.6 GiB 47,616 ≤ 73.4 tok/s Fits

Borderline GPUs

Context 8,192 tokens. No quantization fits on these cards; the one shown is the highest that is borderline.
GPU Memory Run profile Highest borderline quantization Available memory needed for “Fits” Result
NVIDIA GeForce GTX 1060 6 GB CUDA (NVIDIA) Q2_K 8.2 GiB Tight
NVIDIA GeForce GTX 1660 6 GB CUDA (NVIDIA) Q2_K 8.2 GiB Tight
NVIDIA GeForce GTX 1660 SUPER 6 GB CUDA (NVIDIA) Q2_K 8.2 GiB Tight
NVIDIA GeForce RTX 2060 6GB 6 GB CUDA (NVIDIA) Q2_K 8.2 GiB Tight
NVIDIA GeForce GTX 1070 8 GB CUDA (NVIDIA) Q4_K_M 10.7 GiB Tight
NVIDIA GeForce GTX 1070 Ti 8 GB CUDA (NVIDIA) Q4_K_M 10.7 GiB Tight
NVIDIA GeForce GTX 1080 8 GB CUDA (NVIDIA) Q4_K_M 10.7 GiB Tight
NVIDIA GeForce RTX 2060 SUPER 8 GB CUDA (NVIDIA) Q4_K_M 10.7 GiB Tight
NVIDIA GeForce RTX 2070 8 GB CUDA (NVIDIA) Q4_K_M 10.7 GiB Tight
NVIDIA GeForce RTX 2080 8 GB CUDA (NVIDIA) Q4_K_M 10.7 GiB Tight
NVIDIA GeForce RTX 3050 8GB 8 GB CUDA (NVIDIA) Q4_K_M 10.7 GiB Tight
NVIDIA GeForce RTX 3060 Ti 8 GB CUDA (NVIDIA) Q4_K_M 10.7 GiB Tight
NVIDIA GeForce RTX 3070 8 GB CUDA (NVIDIA) Q4_K_M 10.7 GiB Tight
NVIDIA GeForce RTX 3070 Ti 8 GB CUDA (NVIDIA) Q4_K_M 10.7 GiB Tight
NVIDIA GeForce RTX 4060 8 GB CUDA (NVIDIA) Q4_K_M 10.7 GiB Tight
NVIDIA GeForce RTX 5060 8 GB CUDA (NVIDIA) Q4_K_M 10.7 GiB Tight
NVIDIA GeForce RTX 3080 10GB 10 GB CUDA (NVIDIA) Q6_K 13.0 GiB Tight
NVIDIA GeForce GTX 1080 Ti 11 GB CUDA (NVIDIA) Q6_K 13.0 GiB Tight
NVIDIA GeForce RTX 2080 Ti 11 GB CUDA (NVIDIA) Q6_K 13.0 GiB Tight

GPUs where it doesn’t fit on one card

Context 8,192 tokens. Even the lowest quantization does not fit on one card.
GPU Memory Run profile Smallest quantization Available memory needed for “Fits” Several identical cards Result
NVIDIA GeForce GTX 1050 Ti 4 GB CUDA (NVIDIA) Q2_K 8.2 GiB — Doesn't fit
NVIDIA GeForce GTX 1650 4 GB CUDA (NVIDIA) Q2_K 8.2 GiB — Doesn't fit

GPUs without a verdict

Context 8,192 tokens. No verdict on these GPUs (see “Why no verdict”); the requirement shown is for the lowest quantization.
GPU Memory Run profile Smallest quantization Available memory needed for “Fits” Why no verdict Result
AMD Radeon Pro V520 8 GB ROCm on Linux (AMD) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
NVIDIA P4 8 GB CUDA (NVIDIA) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
NVIDIA P100 16 GB CUDA (NVIDIA) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
NVIDIA L4 24 GB CUDA (NVIDIA) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
NVIDIA Tesla P40 24 GB CUDA (NVIDIA) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
AMD Radeon AI PRO R9700 32 GB ROCm on Linux (AMD) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
AMD Radeon PRO W7800 32GB 32 GB ROCm on Linux (AMD) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
NVIDIA Tesla V100 32GB 32 GB CUDA (NVIDIA) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
AMD Radeon PRO W7800 48GB 48 GB ROCm on Linux (AMD) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
AMD Radeon PRO W7900 48 GB ROCm on Linux (AMD) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
NVIDIA L40 48 GB CUDA (NVIDIA) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
AMD Instinct MI210 64 GB ROCm on Linux (AMD) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
NVIDIA H100 PCIe 80 GB CUDA (NVIDIA) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
NVIDIA H100 NVL 94 GB CUDA (NVIDIA) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
NVIDIA H200 SXM 141 GB CUDA (NVIDIA) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
NVIDIA B200 180 GB CUDA (NVIDIA) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
AMD Instinct MI300X 192 GB ROCm on Linux (AMD) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
NVIDIA B100 192 GB CUDA (NVIDIA) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
AMD Instinct MI325X 256 GB ROCm on Linux (AMD) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
AMD Instinct MI350X 288 GB ROCm on Linux (AMD) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown
AMD Instinct MI355X 288 GB ROCm on Linux (AMD) Q2_K 8.2 GiB Unknown: memory configuration not established for this GPU; only “Doesn’t fit” would be shown. Unknown

The speed ceiling is memory bandwidth divided by the bytes read per generated token. It is a theoretical upper bound; public llama.cpp benchmarks typically reach about half to four-fifths of it, and small models and mixture-of-experts models often less. Public benchmarks

Original weights

The model’s original weight files (safetensors, counted as described in the methodology) total 22.7 GiB. They are listed for reference only; every estimate on this page is for the GGUF files above, run with llama.cpp. google/gemma-3-12b-it · Methodology

Sources