Can I run gemma-4-31B on a Mac with 32 GB?

Probably, at 4-bit

The published weights are too big, but a 4-bit version (about 17.6 GB) would fit, with room for ≈ 17K tokens of context. The site hasn't analyzed a GGUF of gemma-4-31B yet.

Files and context on Mac with 32 GB

Each file of gemma-4-31B (and of GGUF versions the site has analyzed), and how much context fits next to it, with the context cache in 16-bit or 8-bit.

gemma-4-31B on other hardware

Popular models that run on Mac with 32 GB

Assumes 67% of the Mac's memory is usable (macOS's default limit for the GPU; it can be raised) and at least 4K tokens of context for one conversation, with the context cache in 16-bit unless noted. Fits leaves at least 20% of that memory for context; Tight leaves less.