Gemma 3 4B IT VRAM & Memory Requirements

Specific checkpoints with sourced architecture and weight files. GGUF Q4_0 (Google QAT): 3.33 GiB–3.79 GiB at 8,192 tokens, 1 sequence, FP16 KV, llama.cpp.

This result is an estimate, not a measured trace.Not verifiedFile-backed weights

Publisher and provenance

Memory layers in this estimate

Artifact bytes, raw KV, engine extras, and total demand are separate. This is not a runtime trace.

Weight artifact
2.94 GiB (3,155,051,328 bytes)
Raw KV cache
0.27 GiB (289,406,976 bytes)
Engine extras / workspace
0.13 GiB–0.58 GiB
Total estimated demand
3.33 GiB–3.79 GiB

Published artifacts

QuantizationSelected filesBytesEngineEvidence
Official BF16 safetensors (text + SigLIP vision tower)
bf16
model-00001-of-00002.safetensors, model-00002-of-00002.safetensors8,600,277,880 (8.01 GiB / 8.60 GB)vllm, sglang, unspecifiedfile-metadata
GGUF Q4_0 (Google QAT)
gguf-q4_0
gemma-3-4b-it-q4_0.gguf3,155,051,328 (2.94 GiB / 3.16 GB)llama.cpp, ollama, unspecifiedfile-metadata
INT4 theoreticalNo published file2,150,039,736 (theoretical)—theoretical

Memory by quantization and context

Concurrent sequences = 1. KV defaults to FP16. The range includes documented runtime extras for the listed engine. These figures use the same core as the interactive calculator.

Quantization2,048 tokens8,192 tokens32,768 tokens
Official BF16 safetensors (text + SigLIP vision tower)8.79 GiB–10.67 GiB8.90 GiB–10.79 GiB9.37 GiB–11.27 GiB
GGUF Q4_0 (Google QAT)3.22 GiB–3.65 GiB3.33 GiB–3.79 GiB3.80 GiB–4.29 GiB
INT4 theoretical
Theoretical rows are not downloadable artifacts.
2.28 GiB–3.33 GiB2.40 GiB–3.49 GiB2.87 GiB–4.06 GiB

Raw KV contribution

Open the calculator with this model

Related pages

Sources

Assumptions that affect this result

Calculator

Loading catalog snapshot…

Choose a model first, then check a device.

Quantization

Device type

Workload

Context length primarily affects KV cache memory.

Advanced settings
Runtime

Engine and KV cache type for this estimate.

Workload

Overhead scenario and the prefill workspace.

Topology

How the model is split across devices. Memory is not added together.

Replica count is an advanced deployment option. Quantity is nodes or GPUs, not replicas.

Budget

System reserve and safety margin. An empty number keeps the previous value.

GiB (2^30 bytes)

%

Custom model

Import a config or type the architecture. Nothing is scanned until you import.

Parsed in the browser. The file is not uploaded.

Only huggingface.co, config.json, no token. Private repos are rejected.

Search or pick a catalog checkpoint to see memory demand.

Search or pick a catalog checkpoint to see memory demand.