Gemma 4 31B on Mac mini M4 Pro 48 GB: VRAM, speed and fit
Gemma 4 31B at 8-bit runs on the M4 Pro 48 GB with 36K of context at about 6.5 tokens a second.
Text generation · Chat · Ollama / LM Studio
Runs comfortably · on M4 Pro 48 GB · 8-bit (Q8_0) · Ollama / LM Studio · Chat
- GPU memory
- 46.0 GB
- of 48.0 GB
- Context
- 36K
- auto
- Speed
- 6.5 tok/s
- Reading speed
- First reply
- 21 s
- 2K prompt
Where the memory goes
- Model
- 30.9 GB
- Context
- 2.2 GB
- Overhead
- 936 MB
- OS
- 12.0 GB
- Free
- 2.0 GB
- Memory
- 46.0 GB of 48.0 GB
- Context
- 36K tokens · auto
- Speed
- 6.5 tok/s · reading speed
- First reply
- 21 s for a 2K prompt
- Running cost
- $1.84/mo at home · $61/mo on a cloud 2× RTX A4500
Validation: Not validated
| Check | Target | Result | Status |
|---|---|---|---|
| Fits in GPU memory | 36.0 GB usable | 34.0 GB needed | Pass |
| Headroom | 5% free | 2.0 GB free (5%) | Pass |
| Context for chat | 16K or more | 36K | Pass |
| Writing speed | 15 tok/s or more | 6.5 tok/s | Check |
| First reply | under 3 s, 2K prompt | 21 s | Fails |
Targets: a reply you can read along with, a first reply the use case tolerates, and 5% of memory left free. Calculated from published specs, not benchmarked.
The setup
- Model
- Gemma 4 31B
- Parameters
- 31.3B
- Precision
- 8-bit (Q8_0)
- Context
- 36K, auto
- Chats at once
- 1
- Use
- Chat
- Runs in
- Ollama / LM Studio
- Hardware
- M4 Pro 48 GB
- GPU can use
- 36.0 GB of 48.0 GB
Worth trying
- 8-bit cache: Room for 88K context
Running cost
- At home
- $1.84/mo
- 84 W at the wall
- Renting instead
- $61/mo
- 2× RTX A4500 at $0.50/h
4 h a day, power at $0.18 per kWh, cloud at RunPod on-demand prices as of Nov 22, 2026.
How to run it
- Ollama
ollama run gemma4:31b- llama.cpp
llama-server -hf unsloth/gemma-4-31B-it-GGUF- vLLM
vllm serve google/gemma-4-31B-it- MLX (Mac)
mlx_lm.chat --model mlx-community/gemma-4-31b-it-4bit- Model card
- huggingface.co/google/gemma-4-31B-it
Gemma 4 31B on similar machines
- Mac mini M4 16 GBToo big
- Mac mini M4 24 GBJust misses
- Mac mini M4 32 GBRuns
- Mac mini M4 Pro 24 GBJust misses
- Mac mini M4 Pro 64 GBRuns
- M4 Max 128 GBRuns
- M5 Max 128 GBRuns
- M3 Ultra 96 GBRuns
All machines: Gemma 4 31B VRAM requirements. Everything that runs here: what can the Mac mini M4 Pro 48 GB run?
Other models that run on Mac mini M4 Pro 48 GB
Questions
Can Gemma 4 31B run on Mac mini M4 Pro 48 GB?
Gemma 4 31B at 8-bit runs on the M4 Pro 48 GB with 36K of context at about 6.5 tokens a second.
Report VR-0MTC42I, calculated Nov 22, 2026 from published specs, not benchmarked.