← AI Hashrate 中文

Gemma

Google · 5 models

Google's Gemma 4 generation covers the consumer sweet spot: five instruction-tuned models from 5.1B to 30.7B, including the 26B-A4B MoE variant. All are Apache-2.0 with 128K–256K context — sized for single-GPU local use.

Google's Gemma line is the open-weight sibling of its frontier models, and the current Gemma 4 generation is aimed squarely at the consumer sweet spot: five instruction-tuned models from 5.1B to 30.7B parameters, every one under the permissive Apache-2.0 license. That license matters — you can fine-tune, redistribute, and ship Gemma commercially without the usage restrictions that come with some rival families.

Two things define the family for local use. First, context is generous across the board: 128K on the two small models and 256K on the rest, so long-document RAG and agent traces are realistic on a single GPU. Second, the lineup includes a MoE variant, the 26B-A4B, which is currently the most downloaded Gemma 4 model on Hugging Face — it delivers big-model quality while only activating 3.8B parameters per token, so it runs much faster than a dense model of the same total size.

All VRAM figures below use our standard formula: Q4 weights + KV cache at 8K context + 1 GB overhead. Longer contexts add roughly 0.025 GB per active billion parameters per 1K tokens — the dense 31B grows fast, the MoE barely grows at all.

Size ladder

Family highlights

Which one should you pick

If you're unsure, start with the 26B-A4B on a 24 GB card — it's the family's community favorite for a reason.

Links

Models in this family

5 models in the Gemma family, grouped by series. Q4 (GB) is weights-only; total VRAM adds KV cache and overhead — the fit check links compute it for a representative retail GPU at 8K context.

Gemma 4

ModelParams (B)Ctx (K)Q4 (GB)LicenseFit check
gemma-4-E2B-it5.11282.81apache-2.0on Arc B570 10GB
gemma-4-E4B-it8.01284.4apache-2.0on Arc B570 10GB
gemma-4-12b-it11.952566.57apache-2.0on Arc B580 12GB
gemma-4-26B-A4B-it25.225613.86apache-2.0on RX 7900 XT 20GB
gemma-4-31B-it30.725616.89apache-2.0on Mac mini M4 32GB