Gemma 4 / Download

Download Gemma 4 Open Models

Every checkpoint, every format, every source - with the exact repository IDs and pull commands. Apache 2.0, so you can download the weights, fine-tune them, ship them in a product and redistribute the result. New here? Start with what Gemma 4 can do.

Links, tags and sizes checked on October 7, 2026.

open weights Gemma 4 E2B4.3 GB · phones and small devices Gemma 4 12B7.2 GB · 16 GB laptops Gemma 4 31B19 GB · 24 GB graphics cards Apache 2.0free to use Runs offlineafter one download
Fastest start
# One command, any platform
ollama run gemma4:12b-it-qat

# 7.2 GB download · 256K context
# text, image and audio input
  • Smallest gemma4:e2b-it-qat4.3 GB
  • Balanced gemma4:12b-it-qat7.2 GB
  • Strongest gemma4:31b-it-qat19 GB
Pulled weights before mid-July 2026? Re-pull them - the refresh fixed the chat template and tool calling without changing the model names.
Find my model

Pick by the hardware you actually have

The most common mistake is downloading the biggest model your disk will hold rather than the biggest one your memory will run. Match to GPU memory or unified memory, not storage.

Phone 8 GB laptop 16 GB laptop 24 GB GPU Workstation Gemma 4 E2B2.9 GB Gemma 4 E4B4.5 GB Gemma 4 12B6.7 GB Gemma 4 26B A4B14.4 GB Gemma 4 31B17.5 GB 08 GB16 GB24 GB Memory for 4-bit weights · leave headroom for context
Bigger models need more memory - pick the largest one that fits.

1. How much memory?

2. How will you run it?

Suggestions are this site's guidance, based on Google's published memory figures plus room for the operating system and a working context. Full numbers are in the VRAM guide and technical specs; a longer questionnaire is in the runtime selector.

How to read the sizes. Google's memory figures cover loading the weights and already include about 20% overhead. The conversation itself needs more on top, and long contexts need a lot more - so leave headroom.
All downloads

Every Gemma 4 checkpoint

Repository IDs use capitals - gemma-4-12B-it, not 12b. Instruction-tuned (-it) is what you want unless you are doing your own post-training. What every suffix means is on the models page.

Gemma 4 31BDense 19 GB Gemma 4 26B A4BMixture of Experts 16 GB Gemma 4 12BUnified 7.2 GB Gemma 4 E4BEdge 6.1 GB Gemma 4 E2BOn-device 4.3 GB
Five sizes, each with its own set of downloads. Sizes shown are the Ollama QAT builds.

Gemma 4 31B

Flagship

Dense · 256K context · text and image input · 30.7B parameters · benchmarks

Memory at 4-bit 17.5 GBMemory at 16-bit 69.9 GBOllama QAT download 19 GBLM Studio download 19.00 GB
Ollama - QAT 4-bit, 19 GBollama pull gemma4:31b-it-qat
LM Studio - 19.00 GBlms get google/gemma-4-31b-qat
Hugging Face - GGUF filehf download google/gemma-4-31B-it-qat-q4_0-gguf
Hugging Face - full precisionhf download google/gemma-4-31B-it

Gemma 4 26B A4B

Mixture of Experts

About 3.8B parameters active per token · 256K context · text and image input

Memory at 4-bit 14.4 GBMemory at 16-bit 57.7 GBOllama QAT download 16 GBLM Studio download 15.60 GB
Ollama - QAT 4-bit, 16 GBollama pull gemma4:26b-a4b-it-qat
LM Studio - 15.60 GBlms get google/gemma-4-26b-a4b-qat
Hugging Face - GGUF filehf download google/gemma-4-26B-A4B-it-qat-q4_0-gguf
Hugging Face - full precisionhf download google/gemma-4-26B-A4B-it

Gemma 4 12B

Unified

Encoder-free · 256K context · text, image and audio input · 11.95B parameters · Gemma 4 12B guide

Memory at 4-bit 6.7 GBMemory at 16-bit 26.7 GBOllama QAT download 7.2 GBLM Studio download 7.40 GB
Ollama - QAT 4-bit, 7.2 GBollama pull gemma4:12b-it-qat
LM Studio - 7.40 GBlms get google/gemma-4-12b-qat
Hugging Face - GGUF filehf download google/gemma-4-12B-it-qat-q4_0-gguf
Hugging Face - full precisionhf download google/gemma-4-12B-it

Gemma 4 E4B

Edge

4.5B effective parameters · 128K context · text, image and audio input

Memory at 4-bit 4.5 GBMemory at 16-bit 17.9 GBOllama QAT download 6.1 GBLM Studio download 5.90 GB
Ollama - QAT 4-bit, 6.1 GBollama pull gemma4:e4b-it-qat
LM Studio - 5.90 GBlms get google/gemma-4-e4b-qat
Hugging Face - GGUF filehf download google/gemma-4-E4B-it-qat-q4_0-gguf
Hugging Face - full precisionhf download google/gemma-4-E4B-it

Phone builds: see mobile downloads and Google's LiteRT-LM.

Gemma 4 E2B

On-device

2.3B effective parameters · 128K context · text, image and audio input · mobile build from 1.1 GB

Memory at 4-bit 2.9 GBMemory at 16-bit 11.4 GBOllama QAT download 4.3 GBLM Studio download 4.20 GB
Ollama - QAT 4-bit, 4.3 GBollama pull gemma4:e2b-it-qat
LM Studio - 4.20 GBlms get google/gemma-4-e2b-qat
Hugging Face - GGUF filehf download google/gemma-4-E2B-it-qat-q4_0-gguf
Hugging Face - full precisionhf download google/gemma-4-E2B-it

Phone builds: see mobile downloads and Google's LiteRT-LM.

All repositories are published by Google on Hugging Face; the full lists are the Gemma 4, QAT Q4_0 and QAT mobile collections. The -it-assistant repositories are speculative-decoding drafters, not chat models with a persona.

Formats

Which file format do you need?

The same model in the wrong format is the most common reason a download does not run. Pick the row that matches your runtime.

Gemma 4 31B at each precision 16-bit · Safetensors 69.9 GB 8-bit 34.9 GB 4-bit · QAT GGUF 17.5 GB 24 GB GPU Fits on one card Memory to load the weights, from Google's model overview
Lower precision shrinks the same model to fit smaller hardware.
FormatUse it withPrecisionNotes
SafetensorsTransformers, vLLM, SGLang16-bitThe reference format. Largest download, needed for fine-tuning.
QAT GGUF BEST 4-BITllama.cpp, Ollama, LM StudioQ4_0Quantisation-aware trained by Google, so it holds quality better than ordinary 4-bit. All five sizes. See the QAT guide.
QAT compressed tensorsvLLM, SGLang4-bit weights, 16-bit activationsFor high-throughput serving. Every size except 26B A4B.
QAT unquantizedYour own conversion toolsHalf precisionQAT weights before quantisation, for custom schemes or MLX. All five sizes.
Community GGUFllama.cpp, Ollama, LM StudioQ2 to Q8Many third-party quants exist. Prefer the official QAT build at 4-bit.
MLXApple silicon4-bit or 16-bitAvailable as gemma4:*-mlx tags on Ollama and through LM Studio. See Mac setup.
MXFP8 / NVFP4Ollama on supported GPUs8-bit / 4-bit floating pointHardware-specific formats, offered as Ollama tags for every size.
LiteRT-LM and QAT mobileAndroid, iOS, embeddedMobile-optimisedOn-device only, for E2B and E4B. See mobile downloads.
Don't go below 4-bit. Q2 and Q3 quants exist and will load, but quality on reasoning and code drops sharply - often below the next model size down at 4-bit. If 31B at 4-bit will not fit, run 26B A4B at 4-bit rather than 31B at 3-bit.
Ollama

Ollama tag reference

Download sizes as listed by Ollama. A range means the tag has more than one build for different hardware.

$ ollama pull gemma4:12b pulling weights pulling template pulling params success $ ollama list NAME SIZEgemma4:12b 8.0 GB Ollama server localhost:11434 Chat app Code editor Your script
Pull once, then every app on your machine can use the model.
TagDownloadContextNotes
gemma4:e2b4.6 - 7.5 GB128KOn-device class
gemma4:e2b-it-qat4.3 GB128KSmallest recommended
gemma4:e4b6.6 - 9.5 GB128KSame build as gemma4:latest
gemma4:e4b-it-qat6.1 GB128KGood laptop default
gemma4:12b7.7 - 8.0 GB256KUnified multimodal
gemma4:12b-it-qat7.2 GB256KBest quality per gigabyte
gemma4:26b-a4b16 - 19 GB256KMoE, fast inference; gemma4:26b also works
gemma4:26b-a4b-it-qat16 GB256KMoE at 4-bit
gemma4:31b19 - 20 GB256KFlagship
gemma4:31b-it-qat19 GB256KBest quality that fits 24 GB
gemma4:31b-it-bf1663 GB256KFull precision
gemma4:cloud-256KHosted by Ollama, no local download

Every size also offers -it-q4_K_M, -it-q8_0, -it-bf16, -mlx, -mlx-bf16, -mxfp8 and -nvfp4 variants - see Ollama's full tag list. More on using it in the Ollama section.

Sources

Where to get it

All of these serve Google's weights. Pick whichever fits your workflow.

Hugging Face Ollama Kaggle LM Studio gemma-4-12B-it QAT GGUF · 4-bit Downloading… Ready - works offline
Different sources, the same official weights.
🤗

Hugging Face

The canonical source: every official checkpoint, plus community quantisations and fine-tunes.

Gemma 4 collection →

🦙

Ollama

One command, and it handles download and serving for you. The fastest path to a working local model.

gemma4 on Ollama →

💻

LM Studio

Desktop app with a built-in model browser. Search "gemma 4", click download, start chatting.

Gemma 4 in LM Studio →

📊

Kaggle

Google's own mirror, with free GPU notebooks if you want to try a model before downloading it.

Gemma 4 on Kaggle →

☁️

Vertex AI Model Garden

Deploy to a managed Google Cloud endpoint without downloading anything. Compare costs on the pricing page.

Open Model Garden →

🎛️

Google AI Studio

Try the 31B and 26B A4B in a browser and get an API key, if you would rather not host them at all. More places to chat.

Open AI Studio →

New · October 6, 2026

Download EmbeddingGemma 2

Google's open embedding model for search and RAG, built on the Gemma 4 architecture. It turns text, code, images, video and audio into vectors in one shared space - and at 1.3 GB or less, it is the smallest download on this page. Setup details are in Google's EmbeddingGemma 2 developer guide.

Text Image Audio Video Embedding Gemma 2 one shared vector space query
Different formats, same meaning, neighbouring points.

EmbeddingGemma 2

Embeddings

740M parameters, modular down to 270M · 768-dimension vectors · 8,192-token context · Apache 2.0

Ollama - full model, 1.3 GBollama pull embeddinggemma-2
Ollama - text only, 378 MBollama pull embeddinggemma-2:270m
Hugging Facehf download google/embeddinggemma-2
Python librariespip install -U "sentence-transformers[image,audio,video]" transformers

Ollama tags

TagDownloadHandles
embeddinggemma-2:270m378 MBText and code
embeddinggemma-2:440m714 MBText and images
embeddinggemma-2:570m990 MBText and audio
embeddinggemma-2:740m1.3 GBEverything - same as latest

From Ollama's tag list. Each size also has -bf16, -mxfp8 and -nvfp4 variants.

Load only what you need

from sentence_transformers import SentenceTransformer

# Full model - 740M parameters
model = SentenceTransformer("google/embeddinggemma-2")

# Text only - 270M parameters
text_only = SentenceTransformer(
    "google/embeddinggemma-2",
    config_kwargs={"vision_config": None, "audio_config": None},
)

From Google's developer guide, which also lists LM Studio, LiteRT, MLX, vLLM and SGLang as supported.

It is not a chat model. EmbeddingGemma 2 produces vectors for search, retrieval and classification; pair it with a Gemma 4 model to write answers. Specs, task prompts, benchmarks and more code are in this site's EmbeddingGemma 2 guide.
Beyond the core models

Related Gemma models

If your workload is narrow, one of these will usually serve it better than a general model of the same size. Comparing generations or rivals? See Gemma 3, the model comparison and Gemma 4 vs Qwen 3.5.

EmbeddingGemma 2embeddings DiffusionGemmatext diffusion TranslateGemmatranslation MedGemma 1.5medical Gemma 4
Specialised models built around the same family.
New - Oct 6, 2026
EmbeddingGemma 2
Multimodal embeddings · 740M

Embeds text, code, images, video and audio into one shared space for search and RAG. Apache 2.0. It does not generate text.

Download EmbeddingGemma 2 ↑

Experimental - Jun 10, 2026
DiffusionGemma 26B A4B
Text diffusion

Generates text by refining blocks of tokens in parallel - roughly 4x faster output than autoregressive Gemma 4, with lower benchmark scores. Good at in-line editing and code infilling. Apache 2.0.

google/diffusiongemma-26B-A4B-it

Jan 15, 2026
TranslateGemma
Translation · 4B / 12B / 27B

Purpose-built for machine translation. Released before Gemma 4, so check its own licence terms and model card.

TranslateGemma on Kaggle

Jan 13, 2026
MedGemma 1.5
Medical · 4B

Tuned for medical imaging and clinical text. A research starting point, not a diagnostic tool - read the model card's limitations and terms first.

MedGemma at Google

FunctionGemma, ShieldGemma 2, T5Gemma v2 and the rest are listed with dates in Google's release history. Licences differ across these older models - only assume Apache 2.0 where the model card says so.

Before you download

Four things worth knowing

Licence: Apache 2.0, commercial use allowed Re-pull anything from before mid-July Check disk space and bandwidth Use official google/ repositories
A quick check before a multi-gigabyte download.
📜

The licence is permissive

Gemma 4 is Apache 2.0: commercial use, modification, redistribution and proprietary derivatives are all permitted. Read the safety notes.

🔄

Re-pull old downloads

The July 2026 refresh changed the chat template and improved tool calling. Same names, different weights.

💾

Budget disk and bandwidth

Full-precision 31B is over 60 GB. Use hf download rather than git clone, which can store a second copy.

🔐

Prefer official repositories

Stick to google/ repos. Community re-uploads are usually fine but can be stale or mislabelled.

After downloading

Get it running

offline $ ollama run gemma4:12b pulling 8.0 GB 100% >>> Why is the sky blue? Sunlight scatters off air molecules, and blue light scatters the most.
After the first download it runs with the network switched off.
# Install the CLI
pip install -U "huggingface_hub[cli]"

# Full precision checkpoint
hf download google/gemma-4-12B-it --local-dir ./gemma-4-12B-it

# Or just the official 4-bit GGUF - much smaller
hf download google/gemma-4-12B-it-qat-q4_0-gguf \
  --include "*.gguf" --local-dir ./gemma-gguf
# llama.cpp can pull straight from Hugging Face - no manual download
./build/bin/llama-server \
  -hf google/gemma-4-12B-it-qat-q4_0-gguf \
  --ctx-size 32768 \
  --n-gpu-layers 99 \
  --port 8080

# Ollama can run the same Hugging Face file directly
ollama run hf.co/google/gemma-4-12B-it-qat-q4_0-gguf:Q4_0
from transformers import pipeline
import torch

# Downloads on first run, then caches in ~/.cache/huggingface
pipe = pipeline(
    "text-generation",
    model="google/gemma-4-12B-it",
    torch_dtype=torch.bfloat16,
    device_map="auto",
)

out = pipe(
    [{"role": "user", "content": "Explain diffusion decoding briefly."}],
    max_new_tokens=400,
)
print(out[0]["generated_text"][-1]["content"])
# vLLM - OpenAI-compatible endpoint, production serving
pip install vllm

vllm serve google/gemma-4-26B-A4B-it \
  --max-model-len 262144 \
  --enable-auto-tool-choice \
  --tool-call-parser gemma4 \
  --reasoning-parser gemma4

# Ollama already serves on :11434 after a pull

Next steps: step-by-step download guide · install guide · how to use Gemma 4 · self-hosting · prompting · capabilities · Claude Code.

FAQ

Download questions

More answers on the full FAQ page, and known issues under limitations.

Is Gemma 4 free to download? Yes - Apache 2.0, free weights. Which file do I need? The QAT GGUF for your size.
Short answers to the questions people ask most.
Is Gemma 4 free to download?

Yes. The weights are free under Apache 2.0, including for commercial use. You only pay for the hardware or hosting you run them on.

Which file should I download?

For running locally, the official QAT GGUF of the largest size your memory allows - or simply the matching -it-qat tag in Ollama. For serving or fine-tuning, the plain -it Safetensors repository.

How big is the download?

At 4-bit, from about 4.3 GB for E2B to about 19 GB for 31B through Ollama's QAT tags. Full-precision downloads are several times larger - 63 GB for the 31B on Ollama.

Why are download sizes bigger than the memory figures?

Google's memory figures are for a plain Q4_0 quantisation of the weights. Packaged downloads from Ollama and LM Studio include extra components and use different builds, so they come out somewhat larger and differ between sources.

What is the -it-assistant download?

A small draft model used alongside the main model to speed up generation. It is not a chat model and does nothing useful on its own. Details on the models page.

Can I download Gemma 4 on a phone?

Yes, the E2B and E4B sizes have mobile builds, starting at about 1.1 GB. See mobile downloads and the Android guide.

Do I need to download anything to try it?

No. You can try it in the playground or Google AI Studio, or call a hosted API.

Open weights. Yours to keep.

Apache 2.0 across the Gemma 4 family. Download once, run it anywhere, fine-tune it, ship it.

Top