unsloth

gemma 4 12b it

gemma 4 12b it is a 11.9B dense gemma4 model from unsloth. Configured context length is 262,144 tokens. License: apache-2.0. Quant sizes are the GGUF file bytes published on Hugging Face when a file exists.

Parameters11.9B
Context256K
Attentionhybrid
Licenseapache-2.0

48 layers · 8 KV heads · head dim 256 · 40 sliding layers · GGUF repo · config

Quant file sizes

QuantFile sizeSource
BF1622.2 GBHugging Face file bytes
UD-Q8_K_XL12.7 GBHugging Face file bytes
Q8_011.8 GBHugging Face file bytes
UD-Q6_K_XL9.95 GBHugging Face file bytes
Q6_K9.11 GBHugging Face file bytes
UD-Q5_K_XL8.01 GBHugging Face file bytes
Q5_K_M7.84 GBHugging Face file bytes
Q5_K_S7.64 GBHugging Face file bytes
UD-Q4_K_XL6.86 GBHugging Face file bytes
Q4_K_M6.63 GBHugging Face file bytes
Q4_K_S6.30 GBHugging Face file bytes
IQ4_NL6.26 GBHugging Face file bytes
IQ4_XS5.94 GBHugging Face file bytes
Q4_16.89 GBHugging Face file bytes
Q4_06.28 GBHugging Face file bytes
UD-Q3_K_XL5.61 GBHugging Face file bytes
Q3_K_M5.30 GBHugging Face file bytes
Q3_K_S4.78 GBHugging Face file bytes
UD-IQ3_XXS4.32 GBHugging Face file bytes
UD-Q2_K_XL4.34 GBHugging Face file bytes

On common machines

DeviceVerdictQuantSpeed
GeForce RTX 4060 Ti 8GBTight fitIQ4_XS20–27
GeForce RTX 3060 12GBTight fitQ6_K15–21
GeForce RTX 4060 Ti 16GBTight fitUD-Q8_K_XL9.4–13
GeForce RTX 4090RunsUD-Q8_K_XL33–45
GeForce RTX 5090RunsBF1636–50
Apple M4 ProRunsUD-Q8_K_XL8.9–12
Apple M5Tight fitQ6_K6.5–8.8
CPU only · DDR5-5600Runs on CPUBF161.8–2.5

Smallest devices that fit it fully

Run it

Commands for the GeForce RTX 4060 Ti 16GB estimate (UD-Q8_K_XL).

llama.cpp
llama-server -hf unsloth/gemma-4-12b-it-GGUF:UD-Q8_K_XL -c 8192 -ngl 48
Ollama
ollama run gemma
LM Studio
lms get unsloth/gemma-4-12b-it-GGUF
# Then load quant UD-Q8_K_XL