Run Gemma 4 31B on M4 Pro

Yes — Gemma 4 31B (31B) runs at 14 tok/s on M4 Pro with 24 GB RAM using Q4_K_M quantization via Ollama. First token latency is 1.4s. Google's flagship 31B dense model, Arena AI #3 among open models.

Speed
14
tok/s
First Token
1.4
seconds
RAM Needed
24
GB minimum
Engine
Ollama
recommended

Benchmark Details

LLMCheck measured Gemma 4 31B on M4 Pro using the standard methodology: Q4_K_M quantization, 256-token input, 512-token output, 3 runs averaged on a freshly-booted system.

MetricValue
Tokens per second14 tok/s
Time to first token1.4s
QuantizationQ4_K_M
Minimum RAM24 GB
Recommended engineOllama
Parameters31B
Benchmark date2026-04

Q4_K_M 31B Ollama M4 Pro

Setup Guide: Run Gemma 4 31B on M4 Pro

The recommended engine for Gemma 4 31B on M4 Pro is Ollama. Install Ollama, then pull the model:

ollama run gemma4:31b

Ollama handles quantization automatically — it will download the Q4_K_M variant (~24 GB) and start an interactive chat session.

Performance on Other Apple Silicon Chips

ChipSpeedFirst TokenMin RAMEngine
M5 Max 26 tok/s 0.7s 128 GB MLX
M5 Max 22 tok/s 0.9s 64 GB Ollama
M4 Max 18 tok/s 1.1s 48 GB MLX

System Requirements

To run Gemma 4 31B on M4 Pro you need:

Compare More Models

See how Gemma 4 31B stacks up against other models on your specific Mac hardware.

Open Compare Tool Full Leaderboard