Benchmark result

unsloth/gemma-4-E4B-it-GGUF:Q4_K_XL on Apple M5 Max — 143.4 tok/s

Measured with llama.cpp b12774-171527522 on December 5, 2026.

ShareRedditX

What the model built

Open full screen →

The coding scenario asks for a playable game in a single HTML file. This is exactly what the model returned, unedited; the frame only adds a line that tells this page how tall it is.

How this run compares

3rd fastest of 3 runs of this model on Apple M5 Max · median 147.1 tok/s.

sort
Compare the nearest 5 →

Reproduce this run

toolllama.cpp b12774-171527522
modelunsloth/gemma-4-E4B-it-GGUF:Q4_K_XL (Q4_K)
context131,072
thinkingon
think limitnone
samplingtemperature 1 · top_p 0.949999988079071 · top_k 64 · min_p 0.05000000074505806 · presence_penalty 0 · repeat_penalty 1
clientv0.4.99+102

Set those in llama.cpp, then:

llm-benchmark benchmark --model "unsloth/gemma-4-E4B-it-GGUF:Q4_K_XL" --tool "llama.cpp"

The client prompts for context length and thinking mode, and for the KV cache dtype on Unsloth Studio. Sampling is left at the model default — the values above are what the tool reported using, not overrides the client sent.