Gemma 4 26B A4B
Google DeepMind · open-weight model
The mixture-of-experts Gemma 4: it stores 26B parameters but uses only about 4B per token, so it runs much faster than its size suggests. Good for fast local chat, coding and image understanding.
What computer do you need?
At 4-bit (Q4_K_M, the usual choice for home use), Gemma 4 26B A4B needs about 18 GB of memory: 24 GB GPU (e.g. RTX 4090) or Mac, 32 GB.
| Format | Weights | Memory needed* | Fits on |
|---|---|---|---|
| BF16 / FP16 Full precision, as published. Best quality, biggest. | about 52 GB | about 58 GB | 1x 80 GB data-center GPU (H100) or Mac, 128 GB; CPU only: PC/server, 128 GB RAM (slow) |
| Q8_0 8-bit. Practically the same quality as full precision. | about 27 GB | about 31 GB | 32 GB GPU (e.g. RTX 5090) or Mac, 64 GB; CPU only: PC, 64 GB RAM (slow) |
| Q6_K 6-bit. Very close to full quality. | about 21 GB | about 24 GB | 32 GB GPU (e.g. RTX 5090) or Mac, 64 GB; CPU only: PC, 64 GB RAM (slow) |
| Q5_K_M 5-bit. Small quality loss, good balance. | about 18 GB | about 21 GB | 24 GB GPU (e.g. RTX 4090) or Mac, 32 GB; CPU only: PC, 32 GB RAM (slow) |
| Q4_K_M 4-bit. The usual default for running at home; noticeable but small loss. | about 16 GB | about 18 GB | 24 GB GPU (e.g. RTX 4090) or Mac, 32 GB; CPU only: PC, 32 GB RAM (slow) |
* Estimate = parameters × bits ÷ 8, plus about 10% overhead and about 1.0 GB for an 8K-token conversation. Longer contexts need more. CPU-only means it runs from normal RAM without a graphics card, which works but is much slower. How we calculate this.
Mixture of experts: all 25.81B parameters must fit in memory (RAM + VRAM together), but only about 4B work on each token. That is why it runs much faster than a dense model of the same size, and why tools like llama.cpp can keep the experts in normal RAM and only the busy parts on the GPU.
Key facts
| Made by | Google DeepMind |
|---|---|
| Hugging Face | google/gemma-4-26B-A4B-it |
| GitHub | Not linked from the model card |
| Hugging Face repo created | March 11, 2026 |
| License | Apache 2.0: Free for personal and commercial use, including modifying and redistributing it. Keep the license and copyright notices. |
| Parameters | 25.81B total, 4B active per token |
| Architecture | Mixture of experts (only part of the model works on each token) |
| Context length | 262,144 tokens |
| Input | Text, Images, Video → text output |
| Languages | 35+ languages supported, pre-trained on 140+ |
| Reasoning / thinking mode | Optional (can be switched on/off) |
| Popularity | 4,586,487 downloads in the last month, 1,815 likes (Hugging Face, November 25, 2026) |
| Works with | Ollama, Transformers, vLLM |
Compare
Which hardware runs Gemma 4 26B A4B?
- RTX 4060 (8 GB VRAM): does not fit
- RTX 3070 (8 GB VRAM): does not fit
- RTX 3080 10 GB: does not fit
- RTX 3090 (24 GB VRAM): Q5_K_M
- RTX 3060 12 GB: does not fit
- RTX 4070 (12 GB VRAM): does not fit
- RTX 5070 (12 GB VRAM): does not fit
- RTX 4060 Ti 16 GB: does not fit
- RTX 5060 Ti 16 GB: does not fit
- RTX 4070 Ti Super (16 GB VRAM): does not fit
- RTX 4080 / 4080 Super (16 GB VRAM): does not fit
- RTX 5080 (16 GB VRAM): does not fit
- RTX 4090 (24 GB VRAM): Q5_K_M
- Radeon RX 7900 XTX (24 GB VRAM): Q5_K_M
- RTX 5090 (32 GB VRAM): Q8_0
- 2x RTX 3090 (48 GB): Q8_0
- Mac with 16 GB unified memory: does not fit
- Mac with 24 GB unified memory: does not fit
- Mac with 32 GB unified memory: Q5_K_M
- Mac with 48 GB unified memory: Q8_0
- Mac with 64 GB unified memory: Q8_0
- Mac with 128 GB unified memory: BF16 / FP16
- Mac Studio with 256 GB unified memory: BF16 / FP16
- Mac Studio with 512 GB unified memory: BF16 / FP16
- Laptop or PC with 8 GB RAM: does not fit
- Laptop or PC with 16 GB RAM: does not fit
- PC with 32 GB RAM: Q5_K_M
- PC with 64 GB RAM: Q8_0
How to run Gemma 4 26B A4B
With Ollama (easiest)
- Install Ollama from ollama.com/download (Windows, Mac, Linux).
- Open a terminal and download + start the model:
ollama run gemma4:26b
Ollama picks a ready-made quantized version (usually 4-bit). Library page: ollama.com/library/gemma4.
With LM Studio (no terminal)
- Install LM Studio.
- Open the search (Discover) tab and search for Gemma 4 26B A4B; pick a GGUF or MLX version that fits your memory (see the table above).
- Click Download, then Load and start chatting.
On a GPU server with vLLM
pip install -U vllm
vllm serve google/gemma-4-26B-A4B-it
This gives you an OpenAI-compatible API on port 8000. Big models need several GPUs (add --tensor-parallel-size N) and the exact flags from the model card.
Can I run Gemma 4 26B A4B?
Can I run Gemma 4 26B A4B on laptop or PC with 16 GB RAM?
Not fully. It needs about 18 GB even at 4-bit, more than the roughly 11 GB a Laptop or PC with 16 GB RAM can use.
Can I run Gemma 4 26B A4B on an RTX 3060 12 GB?
Not fully. It needs about 18 GB even at 4-bit, more than the roughly 11.5 GB an RTX 3060 12 GB can use. Because it is a mixture-of-experts model, llama.cpp-based tools can keep part of it in normal RAM, which works but is slower.
Can I run Gemma 4 26B A4B on an RTX 4090?
Yes. By our estimate it fits at Q5_K_M (about 21 GB) in the roughly 23.5 GB an RTX 4090 can use.
Can I run Gemma 4 26B A4B on a Mac with 32 GB?
Yes. By our estimate it fits at Q5_K_M (about 21 GB) in the roughly 23 GB a Mac with 32 GB can use.
What is the minimum hardware for Gemma 4 26B A4B?
At 4-bit it needs about 18 GB of memory: 24 GB GPU (e.g. RTX 4090) or Mac, 32 GB. These are estimates; longer conversations need more.
Sources
- google/gemma-4-26B-A4B-it model card, Hugging Face, read November 25, 2026
- config.json (architecture, context length), read November 25, 2026
- Apache 2.0, read November 25, 2026
- Ollama library, read November 25, 2026
Similar-size models
- Mistral Small 3.2 24B (24.01B)
- Qwen3.8 27B (27.8B)
- Qwen3.5 27B (27.8B)
- gpt-oss-20b (21B)