Gemma 4: what it needs, and how to run it

Gemma 4 by Google: all-round. It sees images, calls tools, thinks step by step, hears audio. 5 sizes, from 4.6 GB to 20 GB at 4-bit.

Chat with Gemma 4 12B →

Available now: NVIDIA Quadro RTX 5000 · 16 GB · $0.16/hr
Gemma 4 31B needs 23 GB: none that big is free right now.

Every size, and what it needs

SizeDownload sizeContextNeedsRun it here
Gemma 4 E2B4.6 GB128K6 GB of graphics memoryChat with it · Rent a GPU with 8 GB
gemma4:e2b
Gemma 4 E4B6.6 GB128K8 GB of graphics memoryChat with it · Rent a GPU with 8 GB
gemma4:e4b
Gemma 4 12B8 GB256K10 GB of graphics memoryChat with it · Rent a GPU with 12 GB
gemma4:12b
Gemma 4 26B19 GB256K22 GB of graphics memoryChat with it · Rent a GPU with 24 GB
gemma4:26b
Gemma 4 31B20 GB256K23 GB of graphics memoryChat with it · Rent a GPU with 24 GB
gemma4:31b

Downloads are the 4-bit files most people run, as the Ollama library publishes them. Longer conversations and documents need more memory; a bigger card is always safe.

Graphics cards that hold Gemma 4 31B

See every graphics card and its price →

Questions about Gemma 4

What GPU do I need for Gemma 4?

Gemma 4 31B needs a graphics card with at least 23 GB of memory: it downloads 20 GB at 4-bit, and the rest is room for the conversation. The smallest, Gemma 4 E2B, runs on a card with 6 GB.

Can I chat with Gemma 4 here?

Yes. Press Chat with it: a GPU with enough memory is picked, and the model downloads by itself when the chat starts. Or rent a GPU and type gemma4:31b in the Chat app.

How do I call Gemma 4 from my code?

Rent a GPU with the Ollama environment: it answers OpenAI-compatible requests for gemma4:31b at an address of its own. How →

Can I run Gemma 4 without a graphics card?

On a computer with enough memory, on its processor — more slowly than on a graphics card. Gemma 4 31B needs about 24 GB of memory: computers with lots of memory.

Is Gemma 4 free to use?

Its weights are free to download under its maker’s licence — read it on the model’s page before you use it in a product.

Open models like Gemma 4

Every open model, and what each one needs →