Gemma 4: Google's Open Model Breakthrough
Overview
Section titled “Overview”Released on April 2, 2026, Gemma 4 represents a massive leap forward for Google’s family of lightweight, open-weight models. Built from the same research and technology used to create the Gemini 2 models, Gemma 4 is designed to bring state-of-the-art reasoning, multimodal capabilities, and agentic workflows to developers everywhere.
Key to this release is the shift to a commercially permissive Apache 2.0 license, enabling unrivaled flexibility for both enterprise and individual builders.
Model Sizes & Architecture
Section titled “Model Sizes & Architecture”Gemma 4 is available in four specialized sizes, designed for everything from edge devices to high-performance workstations.
| Model Size | Architecture | Best For | Context |
|---|---|---|---|
| Gemma 4 E2B | Dense (2B) | Mobile apps, simple reasoning | 128K |
| Gemma 4 E4B | Dense (4B) | On-device coding, complex logic | 128K |
| Gemma 4 26B | MoE (Mixture of Experts) | Multi-turn reasoning, chat | 256K |
| Gemma 4 31B | Dense | Maximum reasoning precision | 256K |
Key Improvements
Section titled “Key Improvements”- Multimodal by Default: Even the smallest E2B models natively handle text, image, and audio inputs.
- Agentic Workflow Ready: Specialized fine-tuning for tool-calling, API interaction, and structural reasoning.
- Thinking Mode: A native reasoning trace feature that allows users to visualize the model’s intermediate logic during complex tasks.
On-Device AI: Google AI Edge Gallery
Section titled “On-Device AI: Google AI Edge Gallery”One of the most exciting ways to use Gemma 4 is through the Google AI Edge Gallery. This is a first-party application from the Google AI Edge team that enables users to run these models fully offline on Android and iOS.
Features
Section titled “Features”- Privacy First: All inference happens locally on your phone. No data leaves the device.
- Agent Skills: A powerful plugin system that allows the model to interact with the device—sending HTTP requests, searching local docs, or generating SVGs.
- Zero Latency: High-performance quantization (using 4-bit and 6-bit INT) ensures near-instant response times on modern mobile chips.
👉 Get the Gallery App: GitHub Repository (google-ai-edge/gallery)
Customizing Gemma with Agent Skills
Section titled “Customizing Gemma with Agent Skills”The true power of Gemma 4 in the Gallery app is the ability to load Custom Agent Skills. These are repository-based instructions that teach the AI how to use specific tools.
I’ve been building a collection of specialized skills for the Gallery app. You can load these directly via URL to give your on-device Gemma 4 additional capabilities:
Public Skills Registry
Section titled “Public Skills Registry”👉 Nigamelastic’s Gallery Skills Repo
Featured Skills:
Section titled “Featured Skills:”- HTTP Repeater: Send and analyze raw HTTP requests directly from the chat.
- Subdomain Enumerator: Native OSINT tools on your mobile device.
- Dynamic SVG Generator: Describe an illustration and have Gemma 4 render an interactive SVG webview.
How to Install
Section titled “How to Install”To use these skills in the Gallery app:
- Open the Agent Skills section in the app.
- Navigate to the Skills tab.
- Tap (+) and select Load skill from URL.
- Paste one of the raw GitHub Pages URLs from the repository.