Gemma 4

GoogleText & chatReleased April 2026Open weights
Runs locallyOn-deviceMultilingualVision input

Google's family of small and mid-size open models, from phone-sized E2B to a 31B model that runs on a workstation GPU. A strong, permissively licensed choice for local use.

Overview

Best for
running locally, laptop via Ollama, on-device apps, multilingual chat, private data
Input
text, image
Output
text
Context window
256K tokens (31B, 26B-A4B, 12B); 128K (E2B, E4B)
Access
Open weights
License
Apache 2.0
Company
Google

Strengths and limitations

Good at

  • Sizes from E2B and E4B (on-device) to 12B, 26B-A4B (MoE) and 31B dense
  • Up to 256K context (128K on the small sizes)
  • Text and image input, native function calling, configurable thinking
  • Pre-trained on 140+ languages
  • Apache 2.0 license

Watch out for

  • Well behind frontier-size models on hard coding and agent tasks
  • 31B does not accept audio input

Where to use it

Hugging FaceOllamaLM StudioOpenRouter

Pricing

Apps and plans
Not listed
API
OpenRouter: gemma-4-31b-it about $0.20 input / $0.40 output per 1M tokens (free variant also listed); 26B-A4B about $0.08 / $0.10
Good to know
Free to download and self-host. Google's model card places 12B, 26B-A4B and 31B in the consumer GPU and workstation tier; the 26B-A4B MoE runs almost as fast as a 4B model.

Checked November 11, 2026. Prices change often; confirm on the official site before you pay.