Home / Models / Gemma 4 31B

What you need to run Gemma 4 31B

One of the best models that fits a 24 GB GPU or 32 GB Mac. Made by Google.

Memory needed~21.5 GB
Download20 GB
Smallest MacM3 Max 36GB
Smallest GPURTX 3090
LicenceOpen weights

About Gemma 4 31B

Gemma 4 31B is a general chat model from Google. One of the best models that fits a 24 GB GPU or 32 GB Mac. Running it locally needs about 21.5 GB of memory, and the download is 20 GB.

Smallest Mac that runs it

The least memory you need, by Apple chip:

Graphics cards

Runs well on: RTX 3090, RTX 4090, RTX 5090, Radeon RX 7900 XTX. Runs slowly with help from system RAM on: RTX 3060 12GB, RTX 3070, RTX 3080 10GB, RTX 4060, RTX 4060 Ti 16GB, RTX 4070 / 4070 Super, RTX 4070 Ti Super, RTX 4080 / 4080 Super, RTX 5060, RTX 5060 Ti 16GB, RTX 5070, RTX 5070 Ti, RTX 5080, Radeon RX 7800 XT, Radeon RX 9070 XT.

Hardware to run it

As an Amazon Associate I earn from qualifying purchases.

Lighter and heavier alternatives

Questions

How much memory does Gemma 4 31B need?

About 21.5 GB of video memory or unified memory (the download is 20 GB, plus room for the conversation). On a Mac, the smallest configuration that runs it is 24 GB.

Can I run Gemma 4 31B on a 16 GB Mac?

A 16 GB M4 Mac cannot run it. An 8 GB M1 Mac cannot run it.

Is Gemma 4 31B free to use?

Yes, the model is free to download. Its licence is listed as Open weights. Read the licence terms before using it in a business.

How do I install Gemma 4 31B?

Install Ollama, then run: ollama run gemma4:31b

How it runs on popular machines

MachineVerdictSpeed
M1 8GBToo big
M4 16GBToo big
M4 32GBSlow3 words/s
M4 Pro 48GBRuns well8 words/s
M4 Max 128GBRuns great14 words/s
M3 Ultra 512GBRuns great22 words/s
RTX 4060Very slow2 words/s
RTX 4070/4070 SuperVery slow3 words/s
RTX 5070 TiSlow5 words/s
RTX 3090Runs great21 words/s
RTX 5090Runs great41 words/s
Ryzen AI Max+ 395 128GBSlow6 words/s
CPU only 32GBVery slow2 words/s

Check your exact machine