llamaperf

Gemma 4 26B (4B active)

on M4 Pro 24GB · Ollama · 65,536 ctx

Tone: positiveApple hardware
Oct 7, 2026
Throughput
36-38 t/s gen · 95-125 tokens/s prompt processing (prefill)Prompt processing measures input prefill speed; it does not tell you the time to first token.
Quant
QAT (GGUF)
KV cache
q8_0
System RAM
24 GB

Use cases

agentictool-uselong-context

Summary

User reports Gemma 4 26B-A4B QAT at 36-38 tok/s generation on an M4 Pro 24GB MacBook Pro. Setup is Ollama (llama.cpp) with QAT 4-bit weights, q8_0 KV cache, flash attention on, and a 64K context window; the model is 14 GB and 100% GPU-resident. Prefill is 95-125 tok/s on short prompts, cold load ~16 s, warm reload 0.4 s. The user notes the model squeezes the rest of the OS (9% memory free, swap nearly full) and that a dense 31B would spill to CPU.