← All models

Gemma 4 (E4B, Q4)

generalApache 2.0toolsreco 15

Google's edge-optimized Gemma 4 at ~4B effective parameters. Multimodal (text + image + audio), native tool calling. Quantization-aware-trained 4-bit weights — a strong compact default that leaves room to work on a 16GB laptop.

At a glance

Parameters
8B
Quantization
UD-Q4_K_XL
Context window
128K tokens
Approx. size
4.2 GB
Engines
llama.cpp, MLX, Ollama
License
Apache-2.0 (open)
Version
v1.3.0 , released 2026-08-28
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
20
reasoning.thinkingBudget
2048
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-E4B-it-qat-GGUF · gemma-4-E4B-it-qat-UD-Q4_K_XL.gguf · UD-Q4_K_XL
MLX
mlx-community/unsloth-gemma-4-E4B-it-qat-oQ4
Ollama
gemma4:e4b
Upstream
https://huggingface.co/google/gemma-4-E4B-it
Manifest
View on GitHub

Tags