gemma4 coding agent needs about 7.2 GB of memory at Q4_K_M (a 5.3 GB file) with an 8K context window, so it fits on a 8 GB GPU. Longer context needs more: at 32K tokens the KV cache alone adds about 5.6 GB.
Gemma4 coding agent – 7.5B parameter model fine‑tuned for code generation
Gemma4 coding agent is a 7.5 billion‑parameter model fine‑tuned for coding tasks. It supports multimodal vision input and is available in GGUF format. The model was trained with a 131 072 token context window.
Good at
- Code generation and completion
- Multimodal vision tasks
- Fine‑tuned for coding workflows
Limits
- No separate vision mmproj file for Ollama
- License not specified
- Requires 8 k context for memory estimate
Best for
- Developers needing code assistance
- Projects requiring vision‑enabled code analysis
- Rapid prototyping of coding agents
Who it’s for. This model is intended for developers and researchers who need a lightweight coding assistant with vision capabilities. It is suitable for integration into local LLM workflows using llama.cpp or llama-mtmd-cli.
Quants & memory
| Quant | File | Est. memory | vs VRAM | Result | |
|---|---|---|---|---|---|
| Q4_K_M | 5.3 GB | 7.2 GB | Tight | Get file → |
For 8 GB VRAM, use the Q4_K_M quantized file (5.34 GB). It requires approximately 7.2 GB of VRAM at 8 k context. If more memory is available, the BF16 merged model can be used for higher precision.
What GPU do you need for gemma4 coding agent?
These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.
- 4 GB VRAM: no quant fits at an 8K context.
- 6 GB VRAM: no quant fits at an 8K context.
- 8 GB VRAM: the best quant that fits is Q4_K_M (5.3 GB file, about 7.2 GB in use).
Which gemma4 coding agent quant should you choose?
Q4_K_M is the usual starting point for gemma4 coding agent: it balances file size and quality well. Here it is a 5.3 GB file.
New to quant names? Read GGUF quantization explained.
Specifications
Architecture from the GGUF header
Source
Frequently asked questions about gemma4 coding agent
How much VRAM does gemma4 coding agent need?
About 7.2 GB at Q4_K_M with an 8K context window. That is the 5.3 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.
Can I run gemma4 coding agent on an 8 GB GPU?
Yes, with Q4_K_M: the 5.3 GB file needs about 7.2 GB at 8K context. Larger quants in this repository do not fit in 8 GB.
What is the file size of gemma4 coding agent GGUF?
It depends on the quant: Q4_K_M is 5.3 GB.
What context length does gemma4 coding agent support?
The GGUF header lists a trained context length of 131,072 tokens (128K). The KV cache grows with the context you use: about 1.4 GB at 8K and 5.6 GB at 32K.
Where can I download gemma4 coding agent GGUF?
The files are on Hugging Face in the S4MPL3BI4S/gemma4-coding-agent repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.
Can I run gemma4 coding agent on 8 GB VRAM?
Yes, the Q4_K_M quantized file is 5.34 GB and needs about 7.2 GB of VRAM at 8 k context.
Does this model support vision?
Yes, it has detected vision abilities and can be used with llama-mtmd-cli for multimodal tasks.
What context length does it support?
It was trained with a 131 072 token context window.