Speed test
gemma-4-31B-it-GGUF
M5 Max 128GB · llama.cpp · Q4_K_M
greaterprunesCommunitySep 4, 2026
Decode
24.1tok/s
Prefill
140tok/s
Time to first token
565ms
Total
30.1tok/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:8899 servedModel: gemma-4-31B-it
Theoretical memory ceiling
35.1–35.2 tok/s
614 GB/s memory bandwidth (spec sheet) · 17.44 GB model weights · 16-bit KV cache · 1–79 tokens of context
68–69%
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-31B-it-GGUF; size from Q4_K_M estimate. Hardware source · Open calculator
Hardware
- Chip
- M5 Max
- Memory
- 128 GB
- OS
- darwin
Engine
- Engine
- llama.cpp
- Quant
- Q4_K_M
Run config
- Context
- 2,048 tokens
- Depth
- 0 tokens
- Batch size
- 1
- Prompt tokens
- 79
- Prefill tok/s
- 139.9 tok/s
- Output tokens
- 256
Captured evidence
- Prompt hash (SHA-256)
- —
Prompt sample—
Output sample—
