Gemma 3 4B
4B parameter open-weight model. 128K context at 4B scale is a standout feature. Q4 fits in 4 GB VRAM. 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 4-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.
Editorial review
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 GB of VRAM at Q4_K_M — 2.5 GB of weights plus 1.5 GB of runtime overhead for the inference server itself.
VRAM by quantization
| Quantization | Weights | Needs (with overhead) | Quality |
|---|---|---|---|
| Q4_K_M | 2.5 GB | 4 GB | good |
| Q8_0 | 4.3 GB | 5.8 GB | high |
| FP16 | 8 GB | 9.5 GB | reference |
Fit on common hardware at Q4_K_M
| Hardware | Memory the model can use | System RAM | Verdict |
|---|---|---|---|
| CPU Only | None (CPU only) | 16 GB | CPU offload |
| RTX 4060 Laptop | 8 GB | 16 GB | Comfortable |
| RTX 3060 (12GB) | 12 GB | 32 GB | Comfortable |
| RTX 4060 Ti (16GB) | 16 GB | 32 GB | Comfortable |
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.
Need more hardware for Gemma 3 4B? Open the PC Builder for the 7B / 8B tier →
Ready to run this model locally?
Find a compatible interface in our Local AI Tools directory →