Lab Tracker · LLM inference on a GPU
llama.cpp performance by build: b12004 to b12648, benchmarked
3 builds of llama.cpp, from b12004 to b12648, measured on the same card with the same model and test in one run, so every build meets the same conditions.
- Last run Nov 24, 2026
- Builds b12004, b12316 and b12648
- Setup one card, one model
- 100.9% fasterRead a 512-token prompt872 tok/s → 1,751 tok/s · b12004 → b12648
- 5 of 6workloads with no clear differencea change counts at 10% or more, twice the spread
- 0.5%largest self-test differencethe same build twice in one run, none of them clear
Every workload, every version
Every row: Qwen3 14B Q4_K_M. Median of the rounds, ± the spread between them. Green and amber cells differ by 10% or more from the first value of a row with a clear change; the last column compares b12648 with b12004.
| Workload | b12004 | b12316 | b12648 | b12004 → b12648 |
|---|---|---|---|---|
| Read a 512-token prompt | 872 tok/s ±0.3% | 878 tok/s ±2.2% | 1,751 tok/s ±0.0% | 100.9% faster |
| Read a 4,096-token prompt | 2,823 tok/s ±0.3% | 2,828 tok/s ±0.1% | 2,907 tok/s ±0.0% | no clear difference |
| Write 128 tokens | 47.8 tok/s ±0.4% | 48.0 tok/s ±0.1% | 47.8 tok/s ±0.1% | no clear difference |
| Write 128 tokens after 4,096 in context | 46.2 tok/s ±0.2% | 46.6 tok/s ±0.1% | 46.6 tok/s ±0.2% | no clear difference |
| Write 128 tokens after 16,384 in context | 37.9 tok/s ±0.1% | 38.1 tok/s ±0.1% | 38.1 tok/s ±0.1% | no clear difference |
| Peak VRAM | 10.9 GB ±0.0% | 11.0 GB ±0.0% | 11.0 GB ±0.0% | no clear difference |
Measured Nov 24, 2026 on our own machine. How we tested · Raw data (JSON)
More on llama.cpp
How we tested
- ProcessorAMD Ryzen 7 7800X3D (8 cores, 16 threads)
- Graphics cardNVIDIA GeForce RTX 4070 SUPER (driver 621.01)
- Memory32 GB RAM
- SystemWindows 11 Pro, Docker Desktop (WSL 2)
- ContainersDocker Engine 29.9.3
What we ran
- b12004
ghcr.io/ggml-org/llama.cpp:full-cuda-b12004sha256:3beda4861d0c… - b12316
ghcr.io/ggml-org/llama.cpp:full-cuda-b12316sha256:1a4983fc58a0… - b12648
ghcr.io/ggml-org/llama.cpp:full-cuda-b12648sha256:18715ab607da…
Self-test b12648 against b12648 in two containers: the largest difference was 0.5%, none of them clear.
Method
- Median of 3 rounds; the build that starts each round rotates
- llama-bench, 3 repetitions per test, every layer on the GPU, flash attention on, KV cache f16
- Models: Qwen3 14B Q4_K_M (GGUF files from ggml-org, Apache-2.0), read-only from the PC
- Peak VRAM: the card's use above its level before each call (nvidia-smi on the host)
- Each build is the newest at least 300 builds before the next, run as it ships, all in one run on 2026-11-24
Reproduce it
docker run --rm --gpus all -v ./models:/models:ro --entrypoint /app/llama-bench ghcr.io/ggml-org/llama.cpp:full-cuda-b12648 -m /models/Qwen3-14B-Q4_K_M.gguf -ngl 99 -fa 1 -ctk f16 -ctv f16 -r 3 -p 512,4096 -n 0
The same with -p 0 -n 128 -d 0,4096,16384 for writing
For the other builds use ghcr.io/ggml-org/llama.cpp:full-cuda-b12004, ghcr.io/ggml-org/llama.cpp:full-cuda-b12316.
Model Qwen3 14B Q4_K_M: https://huggingface.co/ggml-org/Qwen3-14B-GGUF (Qwen3-14B-Q4_K_M.gguf)Limits
- One card: an NVIDIA GeForce RTX 4070 SUPER with 12 GB under Windows 11 and WSL 2; another card, driver or system may behave differently.
- llama-bench's synthetic prompts on one model: a chat server, other models or other context lengths may differ.
Official pages on llama.cpp b12648
- github.com /ggml-org/llama.cpp/releases/tag/b12648