Model · Google · Text
Gemma 4 31B
Google's flagship open-weight Gemma 4. Natively multimodal (text + vision); supersedes Gemma 2 with significantly improved capabilities and a larger size. Smaller Gemma 4 sizes for laptops and single GPUs are a separate entry.
- Modality
- Text
- License
- Apache 2.0 (Open)
- Parameter size
- 31B
- Released
- March 31, 2026
- Last verified
- October 28, 2026
- Runs locally
- Yes
- Also handles
- vision
What you need to run it
- Mac
- Yes. Any Apple Silicon Mac (M1 or newer) with at least 32 GB (48 GB recommended) of memory. Newer chips are faster, but memory is what decides whether it runs.
- Windows / Linux PC
- NVIDIA works best. A graphics card with at least 24 GB (32 GB recommended) of video memory.
- No graphics card
- Not practical. Too slow without a graphics card or Apple Silicon.
Runs on a 32 GB Mac in Ollama, LM Studio or MLX; a 24 GB graphics card holds it with a modest context length.
Numbers are for: 4-bit build of the 31B (about 20 GB). Our estimate from the model’s size — the maker publishes no figure.
Strengths
- Open weights with strong multimodal performance
- Native vision capability — no separate vision variant needed
- Backed by Google's training infrastructure
Weaknesses
- Larger memory footprint than Gemma 2 9B
Try it
| Where | Type | Notes |
|---|---|---|
| Hugging Face | weights | Apache 2.0 |
| Google AI Studio | hosted-api | Free tier |
Version history
- Gemma 4 31B Mar 2026 Current
- Gemma 4 (E2B / E4B / 12B / 26B-A4B) Mar 2026
- Gemma 2 9B Jun 2024 Deprecated
Official sources
- Model card model
- Gemma releases docs
Change log
- — Added hardware requirements (Mac support, memory, NVIDIA). Source: estimate from size; Ollama gemma4 page; mlx-community/gemma-4-31b-it-4bit.
- — Verified current, and two corrections. Licence: Gemma 4 ships under Apache 2.0 (model card `license: apache-2.0`), not the Gemma Terms of Use that covered earlier Gemma generations — so it now shows under the Open filter, and the 'Gemma Terms restrict some use cases' weakness and 'Gated' note are removed. Release date: Google's Gemma releases page lists 'March 31, 2026 Release of Gemma 4', so 2026-03-31 replaces 2026-04-02.
- — Verified current against Google's Gemma pages. Gemma 4 (April 2026) is the newest generation and 31B the top core size. Gemma is absent from the Gemini API models page by design — that is a coverage gap, not a deprecation.
- — Verified current vs Google docs. Corrected release date to 2026-04-02 (Gemma 4 launch per Google blog; prior 2026-05-07 was an HF lastModified timestamp).
- — Initial entry. Sighted on Hugging Face (lastModified 2026-05-07).
Esc