Best Open Source AI

Gemma 4 (Google): small, Apache-licensed open models

Google’s open models now come under Apache 2.0 and run anywhere from a phone to one 80 GB GPU. Capable for their size, not for the hardest tasks.

Contents
  1. What it does for a company
  2. Strengths and limits
  3. Pricing
  4. Questions to ask before choosing Gemma 4
  5. Sources
TypeOpen-weight model family
PricingPublished
Websitehuggingface.co

Gemma 4, announced on 2 April 2026, moved Google’s open models to the Apache 2.0 licence and covers sizes from phones to a single data-centre GPU⁠12.

Best for: Small and on-device models under Apache 2.0, from phones to a single GPU.

Not the right fit for: Workloads that need frontier-scale reasoning from one model.

What it does for a company

The family comes in E2B and E4B sizes for devices, a 26-billion-parameter mixture-of-experts model that activates 3.8 billion per token, a dense 31-billion-parameter model and a 12B published on Hugging Face in May⁠13. The 26B and 31B models take text and images with a 256,000-token context; the smaller ones also take audio, with a 128,000-token context⁠3.

The hardware bar is low. Google states that the 26B and 31B weights fit on a single 80 GB H100 in bf16, that E2B and E4B run offline on phones and a Raspberry Pi, and that fine-tuning works through Colab, Vertex AI or on a gaming GPU⁠1. Vendor-reported, the 31B ranked third among open models on the Arena text leaderboard⁠1. The training data is described, with a January 2025 cutoff, but not released⁠3.

Strengths and limits

Strengths

  • Apache 2.0, with no user caps or naming rules.
  • Google states the 26B and 31B models fit a single 80 GB H100 in bf16, and that fine-tuning works on a gaming GPU.
  • Vendor-reported: the 31B ranks third among open models on the Arena text leaderboard.

Limits

  • Smaller than the frontier-sized families, so less capable on the hardest tasks.
  • Weights only: the training data is described but not released.

Choose another option if: You need the strongest coding or agent model (DeepSeek, GLM) or a fully open one (OLMo).

Pricing

Weights are free.

Questions to ask before choosing Gemma 4

  • Which of our tasks can a 26B or 31B model handle, and which need a frontier-sized model behind the same router?
  • Do we need a model that runs on devices or offline?
  • Will we fine-tune on our own hardware, or through Vertex AI?
  • How will we measure quality on our own tasks before and after fine-tuning?

See how Gemma 4 compares with the other options in the main guide.

Sources

  1. Gemma 4: Byte for byte, the most capable open models. Google, 2 Apr 2026. Accessed 9 Nov 2026.
  2. Gemma 4 licence (Apache License 2.0). Google AI for Developers. Accessed 9 Nov 2026.
  3. google/gemma-4-31B-it. Google (Hugging Face). Accessed 9 Nov 2026.

Also in: Deutsch · Français · Español · Italiano · Nederlands · Polski