Google Gemma icon

Google Gemma 4

Gemma 4Verified

Run frontier-level multimodal AI locally with four model sizes (E2B, E4B, 26B MoE, 31B Dense) — the 31B ranks #3 among open models on Arena AI Process text, images, and video across the family, with native audio on E2B/E4B models and up to 256K context for longer conversations and document analysis Deploy on edge devices from smartphones to Raspberry Pi with the E2B/E4B variants with effective 2B and 4B parameter footprints during inference

Reviewed by ToolWorthy Editors·updated 3 months ago

Pricing:100% Free
Get Started
Jump to section

Latest reviewed tools

Airender icon

Airender

ListingVideo icon

ListingVideo

ChatGPT icon

ChatGPT

Seedream icon

Seedream

Pros & Cons

Editor-reviewed

Pros

  • Apache 2.0 license removes all commercial restrictions — the most permissive licensing in Gemma history
  • Four model sizes cover every deployment scenario from phones to server clusters
  • Native multimodal input (text, image, video, audio) without requiring separate preprocessing pipelines
  • 256K context window on larger models handles long documents and extended conversations
  • Edge models run entirely offline with 2-4B active parameters, preserving battery and RAM
  • Strong benchmark gains over Gemma 3, especially in reasoning (+55 pts on BigBench Extra Hard)

Cons

  • Audio input is limited to E2B and E4B edge variants only — not available on the 26B or 31B models
  • Video understanding processes frames at 1 fps with a 60-second maximum, limiting real-time video applications
  • Self-hosting the 31B Dense model requires significant GPU resources for production workloads
  • As a new release, the fine-tuning ecosystem and community adapters are still maturing compared to Gemma 3

Overview

Gemma 4 is Google DeepMind's fourth-generation open-weight model family, released under the Apache 2.0 license on March 31, 2026. It introduces native multimodal support, audio input on edge models, and significantly improved reasoning capabilities compared to Gemma 3, which was limited to text and image input.

This release spans four official model sizes — E2B, E4B, 26B A4B MoE, and 31B Dense — covering deployment scenarios from smartphones to server clusters. As of April 1, 2026, the 31B model ranked #3 among open models on the Arena AI text leaderboard, while the edge variants are designed for fully offline deployment on resource-constrained devices.

What's New

Native Multimodal Input Across All Models

Gemma 4 adds native support for text, image, and video input (up to 60 seconds at 1 fps) across the entire model family. The E2B and E4B edge variants also support audio input for speech recognition and translation, with a maximum length of 30 seconds. This is a major upgrade from Gemma 3, where only the 4B+ models supported image input and no models handled video or audio natively. For teams evaluating AI text generator options, Gemma 4's multimodal capabilities expand what's possible with local inference.

Four New Model Sizes with Efficiency Architecture

The lineup brings Gemma 4-specific edge-optimized E2B and E4B variants alongside redesigned larger models:

  • E2B — Activates ~2B parameters during inference, optimized for maximum speed (3x faster than E4B) and lowest latency on phones and IoT devices
  • E4B — Activates ~4B parameters for higher reasoning power while maintaining on-device efficiency
  • 26B MoE — Mixture-of-Experts architecture activating only 3.8B of its total parameters, balancing quality with latency for desktop and small server deployment
  • 31B Dense — Full dense architecture maximizing raw quality, positioned as the primary foundation for fine-tuning and server deployment

Expanded Context Windows

Context capacity has doubled for larger models: the 26B and 31B variants now support 256K tokens (up from 128K in Gemma 3), while edge models maintain 128K — still a massive improvement over Gemma 2's 8K limit.

Apache 2.0 License (New)

Gemma 4 drops the previous Gemma license in favor of Apache 2.0, removing monthly active user caps and acceptable-use restrictions. This gives developers full commercial freedom with no registration, royalties, or usage limits — a significant licensing change from all previous Gemma versions.

Enhanced Agentic Capabilities

Purpose-built for AI agent workflows, Gemma 4 adds native function calling, structured JSON output, and system instruction support. The models demonstrate strong multi-step planning and tool-use performance, designed for building autonomous agents that navigate apps and complete tasks.

Performance Benchmarks

Gemma 4 delivers substantial improvements over Gemma 3 across all major benchmarks:

Benchmark Gemma 4 31B Gemma 3 27B Improvement
Arena AI (text ELO) ~1452 (#3 open) Lower ranking Significant
BigBench Extra Hard 74.4% 19.3% +55.1 pts
MMMLU (multilingual) 88.4% 70.7% +17.7 pts
AIME 2026 (math) 89.2% 20.8% +68.4 pts
LiveCodeBench (coding) 80.0% 29.1% +50.9 pts
GPQA Diamond (science) 84.3% 42.4% +41.9 pts

The edge models also show strong performance relative to their size, with the 26B MoE ranking #6 among open models on Arena AI despite activating only 3.8B parameters during inference.

Pricing & Plans

Gemma 4 is completely free and open source.

Open Source (Free)

  • All model weights downloadable without restrictions under Apache 2.0
  • No registration, MAU caps, or usage limits
  • Full commercial use permitted with no royalties
  • Self-host on your own infrastructure at zero software cost

Third-Party Hosted API

  • Available through Google Cloud Vertex AI, OpenRouter, and other providers
  • Pricing varies by provider and model size; check each provider's rate card
  • Kaggle model access and Colab-based experimentation are available, subject to each platform's current runtime availability and limits

Hardware Costs (Self-Hosting)

  • E2B/E4B: Smartphones and devices with 4-8 GB RAM
  • 26B MoE: Positioned for desktop computers and small servers
  • 31B Dense: Positioned for large servers or GPU clusters

Best For

  • Developers building privacy-first mobile apps that need multimodal AI running entirely on-device without cloud dependencies
  • Enterprises migrating from proprietary AI APIs to self-hosted open models for cost control and data sovereignty
  • Researchers who need a commercially permissive foundation model for fine-tuning on domain-specific multimodal tasks
  • IoT and robotics teams deploying AI on edge hardware like Raspberry Pi or NVIDIA Jetson with strict power and memory constraints
  • Startups looking to integrate frontier-level AI into products without per-token API costs or licensing overhead

FAQ

How does Gemma 4 compare to Gemma 3?

Gemma 4 adds video support across the family, native audio on E2B and E4B, and raises larger models to 256K tokens, and delivers major benchmark improvements — including a 55-point gain on BigBench Extra Hard. It also switches to Apache 2.0 licensing, removing the usage restrictions present in previous Gemma versions.

Can I upgrade from Gemma 3 fine-tunes to Gemma 4?

Gemma 4 uses a different architecture from Gemma 3, so existing LoRA adapters and fine-tuned weights are not directly compatible. You will need to re-run fine-tuning on the Gemma 4 base models using your training data. Google provides official fine-tuning guides for JAX, Keras, and Hugging Face Transformers.

Which Gemma 4 model should I choose?

Choose E2B for maximum speed on mobile devices, E4B for better reasoning on phones and tablets, 26B MoE for desktop applications balancing quality and latency, and 31B Dense for maximum quality on servers or as a fine-tuning base. The AI app builder category can help you find tools to integrate these models.

Is the Apache 2.0 license really unrestricted?

Yes. Apache 2.0 permits commercial use, modification, and redistribution subject to the license terms, replacing Gemma's earlier custom licensing approach. This is a significant change from the previous Gemma license, which included acceptable-use restrictions and required acknowledgment of Google's usage policies.

What platforms support Gemma 4 on day one?

Gemma 4 launched with official support across Hugging Face, LiteRT-LM, vLLM, llama.cpp, MLX, Ollama, NVIDIA NIM/NeMo, LM Studio, Docker, and related tooling, Google Cloud Vertex AI, Google Kubernetes Engine, and NVIDIA's RTX AI tools. Mobile deployment is supported through Google AI Edge Gallery and the MediaPipe LLM Inference API.

Version History

Gemma 4

Current Version

Released on March 31, 2026

+What's new
3 updates
  • Run frontier-level multimodal AI locally with four model sizes (E2B, E4B, 26B MoE, 31B Dense) — the 31B ranks #3 among open models on Arena AI
  • Process text, images, and video across the family, with native audio on E2B/E4B models and up to 256K context for longer conversations and document analysis
  • Deploy on edge devices from smartphones to Raspberry Pi with the E2B/E4B variants with effective 2B and 4B parameter footprints during inference

Gemma 3

Released on March 10, 2025

+What's new
3 updates
  • Process both images and text with the new multimodal architecture across 4B, 12B, and 27B variants — the first Gemma generation with vision capabilities
  • Handle long documents and conversations with a 128K token context window, a 16x increase over Gemma 2's 8K limit
  • Build multilingual applications with out-of-the-box support for 140+ languages and native function calling for agentic workflows

PaliGemma 2

Released on December 5, 2024

+What's new
2 updates
  • Analyze images with enhanced accuracy using upgraded vision-language models in 3B, 10B, and 28B sizes — a significant scale-up from the original PaliGemma
  • Fine-tune for specialized visual tasks like object detection, image captioning, and visual question answering with improved transfer learning performance

Gemma 2

Released on June 27, 2024

+What's new
2 updates
  • Choose from three model sizes (2B, 9B, 27B) with Grouped-Query Attention for faster inference — the 27B model became one of the highest-ranking open models on Chatbot Arena
  • Train and deploy more efficiently with knowledge distillation techniques that make the smaller 2B and 9B models punch above their weight class

PaliGemma

Released on May 14, 2024

+What's new
2 updates
  • Understand images alongside text using this 3B vision-language model that combines the SigLIP vision encoder with Gemma's language capabilities
  • Fine-tune for custom visual tasks including object detection, segmentation, and image captioning with open-weight flexibility

CodeGemma

Released on April 9, 2024

+What's new
2 updates
  • Generate and complete code in Python, Java, C++, and other popular languages with models fine-tuned specifically for programming tasks
  • Use the 7B instruct variant for code assistance or the 2B variant for fast inline code completion in IDE integrations

RecurrentGemma

Released on April 9, 2024

+What's new
2 updates
  • Generate long sequences more efficiently with the Griffin recurrent architecture, available in 2B and 9B sizes and designed for faster inference on extended prompts
  • Reduce memory usage during inference compared to attention-based models, making long-sequence tasks more practical on consumer hardware

Gemma 1.1

Released on April 5, 2024

+What's new
1 updates
  • Get more accurate and coherent responses with tuning improvements and bug fixes across both 2B and 7B instruction-tuned variants

Gemma 1.0

Released on February 21, 2024

+What's new
2 updates
  • Build with Google's first open-weight language models in 2B and 7B sizes — trained on the same research behind Gemini and released for commercial use
  • Run locally on laptops and workstations with models optimized for single-GPU deployment and 8K token context windows

From the blog

View all →

Track Google Gemma in ToolWorthy Weekly

Important tool updates, better alternatives, and selected AI signals in one weekly brief.

Weekly only. Unsubscribe anytime.