← All models

Gemma 4 (12B, Q4)

generalApache 2.0toolsreco 15

Google's Gemma 4 at 12B parameters — an encoder-free unified multimodal model (text + image + audio + video) with native tool calling, configurable thinking, and a 256K context window. Apache-2.0 licensed.

At a glance

Parameters
12B
Quantization
UD-Q4_K_XL
Context window
256K tokens
Approx. size
6.7 GB
Engines
llama.cpp, MLX
License
Apache-2.0 (open)
Version
v1.1.0 , released 2026-06-06
Family
gemma

Tuning

Defaults a gezel client applies out of the box, from real evaluation runs against this exact quantization.

sampling.temperature
1
sampling.topP
0.95
sampling.topK
64
sampling.maxTokens
8192
sampling.repetitionPenalty
1.1
sampling.repetitionContext
64
sampling.dry
{"multiplier":0.8,"base":1.75,"allowedLength":2}
reasoning.thinkingBudget
256
reasoning.enableThinking
true
profiles
thinking-general, thinking-coding, thinking-precise, instruct, creative

Model behaviors

Client-side behavior modules the catalog enables for this model (reasoning-tag handling, fabrication detection, prompt shaping).

Sources

llama.cpp (GGUF)
unsloth/gemma-4-12B-it-qat-GGUF · gemma-4-12B-it-qat-UD-Q4_K_XL.gguf · UD-Q4_K_XL
MLX
mlx-community/gemma-4-12B-it-qat-4bit
Upstream
https://huggingface.co/google/gemma-4-12B-it
Manifest
View on GitHub

Tags