Gemma 4 12B
Google · Apache 2.0 · Updated 2026-06-03
- Parameters
- 12B
- Context
- 262K
Capability
Compact peers
Current modelArtificial Analysis ↗ · 2026-11-06
Sources & evaluation settings
Checkpoint-level results; quantized artifacts are not individually evaluated. Missing scores are unknown, not zero. The highest published reasoning-effort configuration is selected for each checkpoint; exact settings are listed below. Peer groups prioritize model role, then total parameter scale. Closed models are reference anchors.
- AA Intelligence: Artificial Analysis Intelligence Index v5.0.1 · points
- Terminal-Bench 4.0: Artificial Analysis Terminal-Bench 4.0 · %
- HLE-Diamond: Artificial Analysis HLE-Diamond · %
| Model / configuration | AA Intelligence | Terminal-Bench 4.0 | HLE-Diamond |
|---|---|---|---|
| Gemma 4 12B (Reasoning) ↗ · Current | — | — | — |
| Nanbeige4.3-33B ↗ | 20.4 | 29.8 | 6.9 |
| Nemotron 3.5 Bolt E4B 4GB (Reasoning) ↗ | — | — | — |
| Gemini 3.8 Flash (High) ↗ · Closed | 30.8 | 19.7 | 33.1 |
| GPT-6 Luna (Max) ↗ · Closed | 27.9 | 12.6 | 22.2 |
Available artifacts
Memory estimateRun locally
BF16QAT Q4_0
Google
Memory estimate · 128 GB
- vLLM
vllm serve google/gemma-4-12B-it-qat-q4_0-unquantizedServes an OpenAI-compatible API on port 8000. vLLM reserves most GPU memory for KV cache by default. - SGLang
python -m sglang.launch_server --model-path google/gemma-4-12B-it-qat-q4_0-unquantizedServes an OpenAI-compatible API on port 30000.
Google
Memory estimate · 127 GB
- vLLM
vllm serve google/gemma-4-12B-itServes an OpenAI-compatible API on port 8000. vLLM reserves most GPU memory for KV cache by default. - SGLang
python -m sglang.launch_server --model-path google/gemma-4-12B-itServes an OpenAI-compatible API on port 30000.
BF16QAT W4A16
Google
Memory estimate · 114 GB
- vLLM
vllm serve google/gemma-4-12B-it-qat-w4a16-ctServes an OpenAI-compatible API on port 8000. vLLM reserves most GPU memory for KV cache by default. - SGLang
python -m sglang.launch_server --model-path google/gemma-4-12B-it-qat-w4a16-ctServes an OpenAI-compatible API on port 30000.
Google
Memory estimate · 111–112 GB
- Ollama
ollama run hf.co/google/gemma-4-12B-it-qat-q4_0-ggufPulls the Q4_K_M file when the repository has one; append :Q8_0 or another file tag to choose a quantization. - llama.cpp
llama-server -hf google/gemma-4-12B-it-qat-q4_0-ggufDownloads the Q4_K_M file when present (append :QUANT to choose) and serves an OpenAI-compatible API on port 8080. - LM StudioOpen in LM StudioOpens the repository in LM Studio, where you choose a file to download.
BF16QAT Q4_0
Unsloth
Memory estimate · 128 GB
- vLLM
vllm serve unsloth/gemma-4-12B-it-qat-q4_0-unquantizedServes an OpenAI-compatible API on port 8000. vLLM reserves most GPU memory for KV cache by default. - SGLang
python -m sglang.launch_server --model-path unsloth/gemma-4-12B-it-qat-q4_0-unquantizedServes an OpenAI-compatible API on port 30000.
BF16IT
Unsloth
Memory estimate · 127 GB
- vLLM
vllm serve unsloth/gemma-4-12b-itServes an OpenAI-compatible API on port 8000. vLLM reserves most GPU memory for KV cache by default. - SGLang
python -m sglang.launch_server --model-path unsloth/gemma-4-12b-itServes an OpenAI-compatible API on port 30000.
BF16QAT W4A16
Unsloth
Memory estimate · 114 GB
- vLLM
vllm serve unsloth/gemma-4-12B-it-qat-w4a16Serves an OpenAI-compatible API on port 8000. vLLM reserves most GPU memory for KV cache by default. - SGLang
python -m sglang.launch_server --model-path unsloth/gemma-4-12B-it-qat-w4a16Serves an OpenAI-compatible API on port 30000.
Unsloth
Memory estimate · 111–112 GB
- Ollama
ollama run hf.co/unsloth/gemma-4-12b-it-GGUFPulls the Q4_K_M file when the repository has one; append :Q8_0 or another file tag to choose a quantization. - llama.cpp
llama-server -hf unsloth/gemma-4-12b-it-GGUFDownloads the Q4_K_M file when present (append :QUANT to choose) and serves an OpenAI-compatible API on port 8080. - LM StudioOpen in LM StudioOpens the repository in LM Studio, where you choose a file to download.
Unsloth
Memory estimate · 112 GB
- vLLM
vllm serve unsloth/gemma-4-12b-it-NVFP4Serves an OpenAI-compatible API on port 8000. vLLM reserves most GPU memory for KV cache by default. - TensorRT-LLM
trtllm-serve unsloth/gemma-4-12b-it-NVFP4NVIDIA GPUs only. Serves an OpenAI-compatible API on port 8000.
GGUFQAT
Unsloth
Memory estimate · 111–112 GB
- Ollama
ollama run hf.co/unsloth/gemma-4-12B-it-qat-GGUFPulls the Q4_K_M file when the repository has one; append :Q8_0 or another file tag to choose a quantization. - llama.cpp
llama-server -hf unsloth/gemma-4-12B-it-qat-GGUFDownloads the Q4_K_M file when present (append :QUANT to choose) and serves an OpenAI-compatible API on port 8080. - LM StudioOpen in LM StudioOpens the repository in LM Studio, where you choose a file to download.
Unsloth
Memory estimate · 76 GB
- vLLM
vllm serve unsloth/gemma-4-12bServes an OpenAI-compatible API on port 8000. vLLM reserves most GPU memory for KV cache by default. - SGLang
python -m sglang.launch_server --model-path unsloth/gemma-4-12bServes an OpenAI-compatible API on port 30000.
Runtime recipes
Official vLLM recipe · Gemma 4 12B IT
- Minimum runtime
- 0.23.0
- Recipe revision
- b8bec4f47
- Maintainer
Upstream hardware
Verified on Arc Pro B60Verified on Arc Pro B70Verified on H100
Recipe capabilities
multimodal · text · reasoning · spec_decoding · tool_calling
Material history
RSS feed of changes to Gemma 4 12B- Official vLLM recipe updatedGemma 4 12B IT is listed by the official vLLM Recipes project.vLLM Recipes