Run Gemma 3 27B on M4 Max

Yes — Gemma 3 27B (27B) runs at 35 tok/s on M4 Max with 48 GB RAM using Q4_K_M quantization via MLX. First token latency is 1.1s. Google's 27B dense model, best-in-class reasoning for 24–48 GB Macs.

Speed
35
tok/s
First Token
1.1
seconds
RAM Needed
48
GB minimum
Engine
MLX
recommended

Benchmark Details

LLMCheck measured Gemma 3 27B on M4 Max 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 second35 tok/s
Time to first token1.1s
QuantizationQ4_K_M
Minimum RAM48 GB
Recommended engineMLX
Parameters27B
Benchmark date2026-02

Q4_K_M 27B MLX M4 Max

Setup Guide: Run Gemma 3 27B on M4 Max

The recommended engine for Gemma 3 27B on M4 Max is MLX. Install with pip and pull the model:

pip install mlx-lm
mlx_lm.generate --model mlx-community/gemma-3-27b-q4_k_m --prompt "Hello!"

Alternatively, you can use Ollama for a simpler setup:

ollama run gemma3:27b

Performance on Other Apple Silicon Chips

ChipSpeedFirst TokenMin RAMEngine
M5 Max 42 tok/s 0.9s 64 GB Ollama
M3 Max 28 tok/s 1.3s 96 GB MLX
M4 Pro 25 tok/s 1.5s 24 GB LM Studio

System Requirements

To run Gemma 3 27B on M4 Max you need:

Compare More Models

See how Gemma 3 27B stacks up against other models on your specific Mac hardware.

Open Compare Tool Full Leaderboard