Local AI Bench

Can You Run gemma-3-27b-it on M4 Max 64 GB?

Q4_K_M · ollama · 512-token input · 8,192-token context window

Fits GPU budget

Estimated The estimated working allocation is 20.3 GB for gemma-3-27b-it in Q4_K_M.

The calibrated estimate is 8.8–24.8 tok/s. The GPU shares its 64 GB pool with macOS.

Adjust configuration
Estimated weights
16.6 GB
Estimated FP16 cache
1.1 GB
Estimated overhead
2.5 GB
Estimated GPU budget
41.6–48.0 GB

Context sensitivity

Estimated
Context capacityCacheTotal allocation
4,096 tokens0.77 GB19.89 GB
8,192 tokens1.11 GB20.26 GB
16,384 tokens1.78 GB21.00 GB
32,768 tokens3.12 GB22.48 GB

Recorded tests

No completed observations for this selection. The calculator can estimate its memory footprint.

Related profiles

Frequently asked questions

Does gemma-3-27b-it fit on M4 Max?

Fits GPU budget for Q4_K_M with 8,192 context tokens. The verdict uses the calculator’s memory budget and model architecture.

How fast is generation?

The calibrated estimate is 8.8–24.8 tok/s.

How much difference does context make?

At 8,192 tokens, the estimated FP16 attention cache is 1.11 GB. The weight allocation stays around 16.63 GB when only context changes.