Gemma 4 26B A4B

Google DeepMind · open-weight model

25.81B · 4B activeCommercial use OK24 GB GPU / 32 GB Mac

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.

FormatWeightsMemory needed*Fits on
BF16 / FP16
Full precision, as published. Best quality, biggest.
about 52 GBabout 58 GB1x 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 GBabout 31 GB32 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 GBabout 24 GB32 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 GBabout 21 GB24 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 GBabout 18 GB24 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 byGoogle DeepMind
Hugging Facegoogle/gemma-4-26B-A4B-it
GitHubNot linked from the model card
Hugging Face repo createdMarch 11, 2026
LicenseApache 2.0: Free for personal and commercial use, including modifying and redistributing it. Keep the license and copyright notices.
Parameters25.81B total, 4B active per token
ArchitectureMixture of experts (only part of the model works on each token)
Context length262,144 tokens
InputText, Images, Video → text output
Languages35+ languages supported, pre-trained on 140+
Reasoning / thinking modeOptional (can be switched on/off)
Popularity4,586,487 downloads in the last month, 1,815 likes (Hugging Face, November 25, 2026)
Works withOllama, Transformers, vLLM

Compare

Which hardware runs Gemma 4 26B A4B?

How to run Gemma 4 26B A4B

With Ollama (easiest)

  1. Install Ollama from ollama.com/download (Windows, Mac, Linux).
  2. 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)

  1. Install LM Studio.
  2. 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).
  3. 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

Similar-size models

← All open-source models