canirunmodel

Home / Models / Gemma 4 31B

Can I run Gemma 4 31B?

Gemma 4 31B is a 30.7B-parameter dense model from Google. Its smallest official build, Q4_0 QAT GGUF, needs about 20 GB of memory with an 8K context, so the smallest setup that holds it is an Intel Arc Pro B60 24 GB.

Can I run on with of system RAM, at ?
8K

Turn on JavaScript to run the check. The tables below work without it.

Memory needed at each precision

PrecisionWeightsTotal, 8K contextTotal, 32K contextSmallest setup that holds itReleased
Q4_0 QAT GGUF (official) 18 GB 20 GB 22 GB Intel Arc Pro B60 24 GB Yes
16-bit (BF16) 61 GB 65 GB 67 GB RTX PRO 5000 Blackwell 72 GB Yes
8-bit (Q8_0) 33 GB 35 GB 37 GB Mac with M4 Pro 48 GB Yes
6-bit (Q6_K) 25 GB 28 GB 30 GB Intel Arc Pro B70 32 GB Yes
5-bit (Q5_K_M) 22 GB 24 GB 26 GB Intel Arc Pro B70 32 GB Yes
4-bit (Q4_K_M) 19 GB 21 GB 23 GB Intel Arc Pro B60 24 GB Yes
3-bit (Q3_K_M) 15 GB 17 GB 19 GB MacBook Air M4 24 GB Yes
2-bit (Q2_K) 12 GB 14 GB 16 GB RTX 4060 Ti 16 GB Yes
1.6-bit (IQ1_S) 6.1 GB 8.3 GB 10 GB RTX 3060 12 GB Yes

About Gemma 4 31B

Made by
Google
Released
2026-04
Parameters
30.7B total (dense)
Context window
256K tokens
License
Apache 2.0
Weights
Hugging Face

Hybrid attention: only 10 of 60 layers keep a full-length KV cache (the other 50 use a 1,024-token sliding window, a fixed ~0.84 GB at FP16), so long context is cheap; Google's QAT Q4_0 GGUF is 17.65 GB plus a 1.2 GB vision projector.

Common questions

Can I run Gemma 4 31B on a single GPU?

Yes. At Q4_0 QAT GGUF (official) it needs about 20 GB, which fits on a single Intel Arc Pro B60 24 GB.

Can I run Gemma 4 31B on a Mac?

Yes. 16-bit (BF16) fits on a Mac Studio M5 Ultra 96 GB, which lets the GPU use about 72 GB. Expect roughly 11 tokens/s.

Is there a GGUF or Ollama version of Gemma 4 31B?

Yes. Community GGUF builds run in llama.cpp, Ollama and LM Studio.

How fast does Gemma 4 31B run?

On an Intel Arc Pro B60 24 GB, a rough estimate is 15 tokens/s for a single user, based on memory bandwidth and 30.7B active parameters. Batching many users raises total throughput.

Need it running for real?

We set up open-weights models on your own cloud account or servers: picking the model and precision, sizing the hardware, serving it with vLLM or SGLang, and wiring it into your coding agents and apps.

Email hello@canirunmodel.com with the model you want and what it should do.

Other models

Kimi K3.1 Pro, Qwen3.8 2.4T-A95B (Qwen3.8-Max), DeepSeek V4 Pro, Amazon Ergo, Kimi K2, Mistral Large 4, DeepSeek V4.1 Flash, GLM-5.3, DeepSeek V3.1, Nemotron 3 Ultra 550B-A55B, MiniMax M3.1 Flash, Llama 3.1 405B, Llama 4 Maverick, GLM-4.5, GLM-5.3-Flash, Qwen3 235B-A22B, Command A+, Qwen3.8-Flash-Next, Mistral Medium 3.5, Nemotron 3.5 Super VL 120B-A12B, Mistral Small 4, gpt-oss-120b, Llama 4 Scout, GLM-4.5-Air, Nemotron 3.5 Bolt 74B-A9B, Llama 3.3 70B, Qwen3.6 35B-A3B, Qwen3 32B, Qwen3 30B-A3B, Nemotron 3.5 Lightning 30B-A3B, Gemma 3 27B, Qwen3.8 27B, Gemma 4 26B A4B, Mistral Small 3.1 24B, gpt-oss-20b, Phi-4 14B, Gemma 4 12B, Llama 3.1 8B