Local AI Advisor

Can Mac mini M2 8 GB run Gemma 4 31B?

8 GB unified · 100 GB/s memory bandwidth · Gemma 4 31B has 31.3B parameters.

Short answer

No. It doesn't fit in memory.

Needs ≈16 GB but only ≈0.5 GB is available after the OS, other apps and Open WebUI.

Why it doesn’t fit

Even its smallest practical version (3-bit) needs about 16 GB for the model, its context memory and the runtime. After macOS (≈3.5 GB), a browser with a few tabs (≈3.0 GB) and Open WebUI (≈1.0 GB), Mac mini M2 8 GB has about 0.5 GB left, so it’s 15 GB short.

Ways to make it work

  • Close everything else

    Not enough on its own: with every other app closed it’s still about 12 GB short.

  • Pick a smaller model from the same family

    No smaller Gemma 4 model in our catalog runs well here. See the other models below.

  • Get more memory

    You’d want at least 23 GB of memory in total. The machines below are the cheapest that run it comfortably.

  • Check your exact setup

    These pages assume typical settings. A shorter context or a lighter chat app can change the answer.

    Check Mac mini M2 8 GB

The same applies to every workload we rate (chat, coding questions, coding in a repository, agentic coding and long documents): they all need at least as much memory as chat.

Different tool, context size or workload?

These pages use typical settings. The full check models your exact setup.