Gemma 4 4B
Google · Apache 2.0 · Updated 2026-04-02
- Parameters
- 4B
- Context
- 131K
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 E4B (Reasoning) ↗ · Current | — | 0 | — |
| 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 · 28 GB
- vLLM
vllm serve google/gemma-4-E4B-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-E4B-it-qat-q4_0-unquantizedServes an OpenAI-compatible API on port 30000.
Google
Memory estimate · 27 GB
- vLLM
vllm serve google/gemma-4-E4B-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-E4B-itServes an OpenAI-compatible API on port 30000.
BF16QAT W4A16
Google
Memory estimate · 24 GB
- vLLM
vllm serve google/gemma-4-E4B-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-E4B-it-qat-w4a16-ctServes an OpenAI-compatible API on port 30000.
BF16QAT Mobile
Google
Memory estimate · 16 GB
- vLLM
vllm serve google/gemma-4-E4B-it-qat-mobile-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-E4B-it-qat-mobile-ctServes an OpenAI-compatible API on port 30000.
BF16QAT Mobile Transformers
Google
Memory estimate · 16 GB
- vLLM
vllm serve google/gemma-4-E4B-it-qat-mobile-transformersServes 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-E4B-it-qat-mobile-transformersServes an OpenAI-compatible API on port 30000.
Google
Memory estimate · 14 GB
- Ollama
ollama run hf.co/google/gemma-4-E4B-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-E4B-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 · 28 GB
- vLLM
vllm serve unsloth/gemma-4-E4B-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-E4B-it-qat-q4_0-unquantizedServes an OpenAI-compatible API on port 30000.
Unsloth
Memory estimate · 27 GB
- vLLM
vllm serve unsloth/gemma-4-E4BServes 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-E4BServes an OpenAI-compatible API on port 30000.
BF16IT
Unsloth
Memory estimate · 27 GB
- vLLM
vllm serve unsloth/gemma-4-E4B-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-E4B-itServes an OpenAI-compatible API on port 30000.
BF16QAT W4A16
Unsloth
Memory estimate · 24 GB
- vLLM
vllm serve unsloth/gemma-4-E4B-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-E4B-it-qat-w4a16Serves an OpenAI-compatible API on port 30000.
Unsloth
Memory estimate · 23 GB
- vLLM
vllm serve unsloth/gemma-4-E4B-it-unsloth-bnb-4bitServes 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-E4B-it-unsloth-bnb-4bitServes an OpenAI-compatible API on port 30000.
BF16MLX 8-bit
Unsloth
Memory estimate · 21 GB
- vLLM
vllm serve unsloth/gemma-4-E4B-it-MLX-8bitServes 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-E4B-it-MLX-8bitServes an OpenAI-compatible API on port 30000.
Unsloth
Memory estimate · 19 GB
- vLLM
vllm serve unsloth/gemma-4-E4B-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-E4B-it-NVFP4NVIDIA GPUs only. Serves an OpenAI-compatible API on port 8000.
BF16UD MLX 4-bit
Unsloth
Memory estimate · 19 GB
- vLLM
vllm serve unsloth/gemma-4-E4B-it-UD-MLX-4bitServes 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-E4B-it-UD-MLX-4bitServes an OpenAI-compatible API on port 30000.
BF16QAT Mobile
Unsloth
Memory estimate · 16 GB
- vLLM
vllm serve unsloth/gemma-4-E4B-it-qat-mobileServes 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-E4B-it-qat-mobileServes an OpenAI-compatible API on port 30000.
GGUFQAT
Unsloth
Memory estimate · 15 GB
- Ollama
ollama run hf.co/unsloth/gemma-4-E4B-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-E4B-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.
GGUFQAT Mobile
Unsloth
Memory estimate · 15 GB
- Ollama
ollama run hf.co/unsloth/gemma-4-E4B-it-qat-mobile-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-E4B-it-qat-mobile-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 · 14 GB
- Ollama
ollama run hf.co/unsloth/gemma-4-E4B-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-E4B-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.
Runtime recipes
Official vLLM recipe · Gemma 4 E4B IT
- Minimum runtime
- 0.19.1
- Recipe revision
- 850922917
- Maintainer
Upstream hardware
Verified on H100Verified on MI300XVerified on MI325XVerified on MI355XVerified on TPU v6e (Trillium)Verified on TPU7xVerified on Xeon 6
Recipe capabilities
multimodal · text · reasoning · spec_decoding · text_only · tool_calling
Material history
RSS feed of changes to Gemma 4 4B- Official vLLM recipe updatedGemma 4 E4B IT is listed by the official vLLM Recipes project.vLLM Recipes