compactGemma Terms of Use4B paramsOpen weights

Gemma 3 4B

4B parameter open-weight model. 128K context at 4B scale is a standout feature. The memory figures are the total size of every file in Ollama's tags (registry manifests checked 2026-10-27), not measurements: each Gemma 3 4B tag ships a 0.85 GB vision projector beside the language weights, so Q4_K_M is 3.4 GB, Q8_0 5.0 GB and FP16 8.6 GB in all. Q4 plus runtime overhead needs about 5 GB, so it suits a 6 GB card and not a 4 GB one. Useful for RAG and summarisation on constrained hardware.

Google · Gemma 3

Model overview

Gemma 3 4B is Google's compact open-weight model, notable for pairing a small 4B parameter count with an unusually large 128K token context window. That combination makes it useful for tasks like summarizing long documents or maintaining longer conversation history on hardware that couldn't otherwise support a large-context model. It's released under Google's Gemma Terms of Use rather than a fully permissive license, so it's worth reading the terms before commercial use. On constrained hardware (a 6 GB consumer GPU at Q4 quantization) it's a reasonable option for RAG retrieval and summarization workflows where long context matters more than raw reasoning power.

Catalog entry · Added to the catalog June 24, 2026 · Hugging Face repo created February 20, 2025

Not tested by us yet

The specs and hardware fit on this page come from the model card and the Ollama registry. We have not reviewed this page in depth yet.

We have not run Gemma 3 4B on our own machines yet. Any hardware fit on this page is estimated from catalog sizes, not measured by us.

How we label test status

Editorial details

EditorCJ ZwartLast updatedOctober 2026SourcesHuggingFace model card (google/gemma-3-4b-it) and official docs.

VRAM figures are empirical estimates. Actual usage varies by runtime, context length, and system configuration. Verify on your specific hardware before production use.

Will Gemma 3 4B run on your machine?

Gemma 3 4B is 4B parameters and needs 4.9 GB of VRAM at Q4_K_M: 3.4 GB of weights plus 1.5 GB of runtime overhead for the inference server itself.

VRAM by quantization

QuantizationWeightsNeeds (with overhead)Quality
Q4_K_M3.4 GB4.9 GBgood
Q8_05 GB6.5 GBhigh
BF168.6 GB10.1 GBreference

Fit on common hardware at Q4_K_M

HardwareMemory the model can useSystem RAMVerdict
CPU OnlyNone (CPU only)16 GBCPU offload
RTX 4060 Laptop8 GB16 GBComfortable
RTX 3060 (12GB)12 GB32 GBComfortable
RTX 4060 Ti (16GB)16 GB32 GBComfortable

Comfortable means VRAM clears the requirement by 2 GB or more. Tight means it covers the requirement with no margin. CPU offload means the model does not fit in VRAM but system RAM is at least 1.6× the weights, so it will run at reduced speed: expect roughly 1–5 tokens per second. Figures are weights plus a fixed runtime overhead and exclude KV-cache growth, which scales with context length.

Want a broader hardware plan around Gemma 3 4B? Open the PC Builder for the whole 7B / 8B class → The Builder plans across that class; it does not replace the exact-model fit verdict above.