llamaperf

Gemma 4 on the M4 32GB

llamaperf has 7 reports of Gemma 4 on the M4 32GB, none of them a plain single-card run with a generation speed, a model size and a quant, so there is no median to quote. Each report is listed on this page with how it ran.

Memory Gemma 4 needs on the M4 32GB

The M4 32GB gives a model 21 GB. Each figure is the memory a size reported on this card needs at one quant with an 8k context, cache and buffers included, from the VRAM calculator. It is for one card holding the whole model. Gemma 4 memory on every card.

SizeQ8_0Q6_KQ5_K_MQ4_K_MQ3_K_M
5.1B · 2.3B active7.2 GBfits6.2 GBfits5.6 GBfits5.0 GBfits4.3 GBfits
8B · 4.5B active10 GBfits8.6 GBfits7.6 GBfits6.6 GBfits5.6 GBfits
12B14 GBfits12 GBfits10 GBfits8.9 GBfits7.4 GBfits
26B · 4B active28 GBtoo big23 GBtoo big20 GBtight17 GBfits14 GBfits
31B33 GBtoo big28 GBtoo big24 GBtoo big20 GBtight16 GBfits

7 reports of Gemma 4 on the M4 32GB

Newest first. A run on several cards, with speculative decoding, with part of the model in system RAM or with batched requests says so, since each describes a different setup. Prompt processing is how fast the input is read, not how long you wait for the first word. How to measure time to first token.

Filter these reports on the homepage

Frequently asked

How fast is Gemma 4 on the M4 32GB?

llamaperf has 7 reports of Gemma 4 on the M4 32GB, none of them a plain single-card run with a generation speed, a model size and a quant, so there is no median to quote. Each report is listed on this page with how it ran.

Does Gemma 4 fit on the M4 32GB?

The M4 32GB gives a model 21 GB. With an 8k context, the 5.1B · 2.3B active model fits at Q8_0 (about 7.2 GB), the 8B · 4.5B active model fits at Q8_0 (about 10 GB), the 12B model fits at Q8_0 (about 14 GB), the 26B · 4B active model fits at Q4_K_M (about 17 GB), the 31B model fits at Q3_K_M (about 16 GB). The figures are the VRAM calculator's, for one card with the whole model in its memory.