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.
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
| Size | Download size | Context | Needs | Run it here |
|---|---|---|---|---|
| Gemma 4 E2B | 4.6 GB | 128K | 6 GB of graphics memory | Chat with it · Rent a GPU with 8 GBgemma4:e2b |
| Gemma 4 E4B | 6.6 GB | 128K | 8 GB of graphics memory | Chat with it · Rent a GPU with 8 GBgemma4:e4b |
| Gemma 4 12B | 8 GB | 256K | 10 GB of graphics memory | Chat with it · Rent a GPU with 12 GBgemma4:12b |
| Gemma 4 26B | 19 GB | 256K | 22 GB of graphics memory | Chat with it · Rent a GPU with 24 GBgemma4:26b |
| Gemma 4 31B | 20 GB | 256K | 23 GB of graphics memory | Chat with it · Rent a GPU with 24 GBgemma4: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
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.