Speed test
gemma-4-E4B-it-GGUF
RTX A5000 24GB · llama.cpp · ce735c9 · Q4_K_M
snnnCommunityMay 14, 2026
Decode
121tok/s
Prefill
4.8ktok/s
Time to first token
—
Total
342tok/s
Peak VRAM
3.7GB
Context length
4K
KV depth
—
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.
Launch command
/data/bt/os/llama.cpp/llama.cpp-bench-upstream/build-bench-cuda-gcc15/bin/llama-server -m /data/bt/models/hub/models--ggml-org--gemma-4-E4B-it-GGUF/snapshots/2714b5519c6c3516b1000e7c5e1eba998dfe1fe8/gemma-4-E4B-it-Q4_K_M.gguf -a gemma-4-e4b-it-q4_k_m -ngl 999 -fa on -c 4096 -b 2048 -ub 512 -np 1 --no-context-shift --metrics --no-webui --host 127.0.0.1 --port 18105
Theoretical memory ceiling
333.7–341.3 tok/s
768 GB/s memory bandwidth (spec sheet) · 2.25 GB model weights · 16-bit KV cache · 1–1,010 tokens of context
35–36%
of the ceiling reached
Medium confidenceThe fastest this hardware's memory could serve a single request; real runs are slower. Model details from google/gemma-4-E4B-it; size from Q4_K_M estimate. Hardware source · Open calculator
Hardware
- GPU
- RTX A5000
- Count
- 1
- VRAM
- 24 GB
- OS
- Linux-6.19.14-300.fc44.x86_64-x86_64-with-glibc2.43
Engine
- Engine
- llama.cpp
- Version
- ce735c9
- Quant
- Q4_K_M
- Backend
- cuda
- GPU layers
- 999
- KV cache
- fp16
- Prefix caching
- no
- Prefill chunk
- 512
- Attn
- flash_attn
- Flash Attn
- yes
Run config
- Context
- 4,096 tokens
- Batch size
- 1
- Prompt tokens
- 1010
- Prefill tok/s
- 4,757.1 tok/s
- Output tokens
- 512
- Revision
- 2714b5519c6c3516b1000e7c5e1eba998dfe1fe8
- Notes
- Automated llmfit run on clean upstream llama.cpp ce735c9 with CUDA backend on NVIDIA RTX A5000. Mean of 2 measured /completion runs after one warmup: output tok/s=120.98, prefill tok/s=4757.14. Request used fixed prompt, n_predict=512, temperature=0, top_k=1, top_p=1, cache_prompt=false, one server slot, full GPU offload requested. Per-run output tok/s: 121.16, 120.80. ignore_eos=true. Local GGUF: gemma-4-E4B-it-Q4_K_M.gguf.
Captured evidence
- Prompt hash (SHA-256)
- —
Prompt sample—
Output sample—
