Gemma 4 8B (4.5B active) E4B
on M4 16GB · Magnitude · 2,048 ctx
Use cases
agentic
Summary
User compares the same Gemma 4 E4B on a 16GB M4 MacBook across two engines with a 2048-token prompt. Magnitude reached the first word in 2.2 s against Ollama's 6.3 s, with prompt reading at 941 vs 326 tok/s.
Generation was a near tie at 52 tok/s on Magnitude and 51 tok/s on Ollama. The engines pull different files by default: a 9.5GB NVFP4 on Ollama and a 5.3GB Q4 on Magnitude, which kept memory at 6GB instead of almost 10.
User notes agents resend a large prompt every turn, so the prefill gap compounds, and asks whether prefill is the main source of slowness for others.
Download this model
This report's quant, Q4, doesn't name one file of Gemma 4 E4B.
Compare this run
Medians of plain runs: one device, one request, no speculative decoding, the whole model in the device's memory. The report above is one setup, so read it beside them and not as one of them.
Gemma 4 8B · 4.5B active at 4-bit by hardware
- 110.5 t/s · one run
- 73.9 t/s · one run
- 69.7 t/s · one run
- 59.5 t/s · 2 runs
- NVIDIA RTX 407012 GB55.0 t/s · one run
- 8.2 t/s · one run
Bars are medians on one scale, 0 to 110.5 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.
Models most run on the M4 16GB
- Qwen3 8B4-bit16.6 t/s · 2 runs
- Qwen3.5 4B4-bit19.2 t/s · 2 runs
- 30.9 t/s · one run
- 64.0 t/s · one run
- Qwen2.5 3B4-bit47.4 t/s · one run
- Qwen3 14B4-bit12.7 t/s · one run
Bars are medians on one scale, 0 to 64.0 tokens/s. Each dot is one run and opens its report. Press ▶ to watch text arrive at a row's speed.
Everything reported on the M4 16GB →Every Gemma 4 report →Estimate Gemma 4 on this card →