Google

Gemma 4 31B

Writing, multilingual chat and images. Released 2 Apr 2026 (Google launch).

Gemma 4 31B’s smallest build needs about 16.9 GB of memory for a short chat. It runs on a Mac with 32 GB or more, or a graphics card with 24 GB of VRAM or more. Licence: Apache-2.0.

Checked 24 Nov 2026 · How we estimate this

31.3Bparameters
256K
~16.9 GBsmallest build, short chat
Apache-2.0licence

Will it run on…

A short chat (8K context) on each memory size. Larger contexts need more.

  1. 8 GBNeeds a different setup
  2. 16 GBNeeds a different setup
  3. 24 GBMay exceed available memoryToo close
  4. 32 GBEstimated fitQ4_K_M
  5. 48 GBEstimated fitQ4_K_M
  6. 64 GBEstimated fitQ4_K_M
  7. 96 GBEstimated fitQ4_K_M
  8. 128 GBEstimated fitQ4_K_M
  9. 192 GBEstimated fitQ4_K_M
  10. 256 GBEstimated fitQ4_K_M
  11. 512 GBEstimated fitQ4_K_M

Computers that can run it

The cheapest systems and graphics cards in our list that fit it for a short chat, with US prices.

All hardware that runs it

Complete systems

Graphics cards (for a desktop PC)

Builds

Exact downloads, in the order the picker prefers them. Names like Q4_K_M describe the .

BuildDownloadRuns inEvidence
Q4_K_M · UnslothGGUF18.3 GBllama.cpp, LM Studio, OllamaDated snapshot
Q3_K_XL · UnslothGGUF15.4 GBllama.cpp, LM Studio, OllamaDated snapshot
Q8_0 · UnslothGGUF32.6 GBllama.cpp, LM Studio, OllamaDated snapshot

Download sizes are decimal GB. Running memory is higher: it adds the conversation and the app’s own needs.

Measured

Only runs that name the build and the engine are listed. One metric: decode speed, in tokens per second.

No traced runs yet.

Speeds reported in the November research (not yet traced to runs)

RTX 5090 71.3; 4090 43.8; 3090 38.8; R9700 Q6 19.3; Strix Halo 8.8

Details

Model

ArchitectureDense, vision
Good forChat, Documents, Images in, Agents, Automation
Takes inText, Images
Context256K tokens

Scores and memory

4 (Artificial Analysis v5.0.1, as listed 22 Nov). Scored through an API, not on these builds.
Tool calling is built into the chat template (google/gemma-4-31B-it), checked 24 Nov 2026.
per 8K tokensAbout 1.5 GB (report’s figure; we scale it with context)

Sources: Artificial Analysis — open-weights models, Intelligence Index v5.0.1 (primary, embedded page data) · Hugging Face model API + config.json (params, licence, created date, context, experts) · Unsloth GGUF repos — file sizes from HF tree API · RigBase community benchmark dataset (CC BY 4.0) — medians computed by us · localllmrig — Gemma 4 31B · Google: gemma-4-31B-it model card

Research checked 24 Nov 2026 · US prices before tax

Common questions about Gemma 4 31B

How much memory does Gemma 4 31B need?

About 16.9 GB for its smallest practical build at a short (8K-token) context, counting the conversation and the app’s own working memory. Each extra 8K tokens of context adds about 1.5 GB.

Can Gemma 4 31B run on a Mac?

Yes. An Apple silicon Mac with 32 GB of memory or more runs a 3-bit or better build for a short chat. macOS keeps about a quarter of memory for itself by default, so a 32 GB Mac has about 24 GB for the model.

Does Gemma 4 31B work with Ollama or LM Studio?

Ollama can run its GGUF builds from Hugging Face. LM Studio can load its GGUF builds. Builds in our catalog run in llama.cpp, LM Studio, Ollama.

Can I use Gemma 4 31B commercially?

Gemma 4 31B is released under Apache-2.0, which allows commercial use.