Gemma 4 31B
M4 32GB · Ollama · 4,096 ctx
- generation:
- 5.3 tokens/s
- prompt processing (prefill):
- 90.0 tokens/s
- quant:
- Q4_K_M (GGUF)
User reports Gemma 4 31B at 5.3 t/s generation and 90 t/s prompt processing on an M4 32GB Mac mini. Setup is Ollama 0.30.5 with GGUF Q4_K_M and num_ctx=4096, 100% GPU offload, 20.29 GB loaded memory including KV cache. The figures are three-run averages from a fixed Chinese long-form prompt; 4096 is the configured context, not measured input length, and per-run counters are unpublished.