Speed test
gemma-4-E4B-it-GGUF
M4 Max 128GB · llama.cpp · b10853 · Q5_K_M
Decode
24.9tok/s
Prefill
350tok/s
Time to first token
1,656ms
Total
69.9tok/s
Peak VRAM
—
Context length
2K
KV depth
0
Batch size
1
Concurrency
1
Power draw
—
Verification
Not verified — experimental result
Verified runs use a standard test prompt and record enough data to check the result.
- The prompt used was not recorded.
- The generated text was not recorded.
- The engine's own timing data was not recorded.
Launch command
# Remote endpoint: http://127.0.0.1:8182 servedModel: gemma4-e4b
Theoretical memory ceiling
195.3–198.5 tok/s
546 GB/s memory bandwidth (spec sheet) · 2.75 GB model weights · 16-bit KV cache · 1–584 tokens of context
13–13%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from unsloth/gemma-4-E4B-it-GGUF; size from Q5_K_M estimate. Hardware source · Open calculator
Hardware
- Chip
- M4 Max
- Memory
- 128 GB
- OS
- macOS 26.5
Engine
- Engine
- llama.cpp
- Version
- b10853
- Repository
- https://github.com/ggml-org/llama.…
- Build
- Metal (Apple M4 Max, macOS 26.5)
- Quant
- Q5_K_M
- Backend
- metal
Run config
- Context
- 2,048 tokens
- Depth
- 0 tokens
- Batch size
- 1
- Prompt tokens
- 584
- Prefill tok/s
- 350.3 tok/s
- Output tokens
- 256
- Notes
- unsloth Q5_K_M, KV q8_0 @131072 (E-variant cap). Gemma jinja; temp 1.0 top-p 0.95 top-k 64 min-p 0 per Gemma card. host m4max: Apple M4 Max 128 GB unified, macOS 26.5; stock upstream ggml-org/llama.cpp b10853, Metal. measured through the deployed llama-swap gateway via a local relay; timings client-observed (~1 ms overhead) - the inference host did the work. flash-attn on.
Captured evidence
- Prompt hash (SHA-256)
- —
More runs of this model on this hardware
No other approved runs of this model on this hardware yet.
