llamaperf

Gemma 4 8B (4.5B active) E4B

on M4 16GB · Ollama · 2,048 ctx

Tone: positiveApple hardware
Nov 13, 2026
Throughput
51.0 t/s gen · 326.0 tokens/s prompt processing (prefill)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.
Quant
Q4
System RAM
16 GB

Use cases

agentic

Summary

User compares the same Gemma 4 E4B on a 16GB M4 MacBook under Ollama and Magnitude with a 2048-token prompt. Ollama took 6.3 s to first word and read the prompt at 326 tok/s; Magnitude took 2.2 s and 941 tok/s. Generation was a tie at 51 vs 52 tok/s. Ollama pulled a 9.5GB NVFP4 file and Magnitude a 5.3GB Q4, which kept memory at 6GB instead of almost 10. User notes agents resend large prompts each turn, so the prefill gap compounds.

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

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

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 →