Local Inference

← All models

Qwen3.8 27B Q4_K_M

Qwen3.8 27B · 27.3B dense · llama.cpp · GGUF Q4_K_M · 17.44 GB · bartowski/Qwen3.8-27B-GGUF @125a02a

Chat generation
30.8 t/s
default sampling ± 0.06
Chat generation, greedy
30.8 t/s
± 0.03
Time to first token
220 ms
Peak VRAM
18.0 GB
serving the chat benchmark
GPU power while generating
249 W
Energy efficiency
0.12 tok/J
chat benchmark

Settings

llama-server -m Qwen3.8-27B-Q4_K_M.gguf --host 127.0.0.1 --port 8080 -a qwen3.8-27b-q4_k_m-gguf/32k-f16kv --fit off -c 32768 -np 1 --cache-ram 0 -ngl 999 -fa on -ctk f16 -ctv f16 -b 2048 -ub 512 -t 6 -ncmoe 0 -lm mmap --metrics --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0 --presence-penalty 0
SettingValue
ctx32768
gpu_layers999
flash_attnon
cache_type_kf16
cache_type_vf16
batch2048
ubatch512
threads6
n_cpu_moe0
parallel1
load_modemmap
cache_ram_mib0
spec—
reasoning_format—
reasoning_budget—
extra_args["--temp","1.0","--top-p","0.95","--top-k","20","--min-p","0","--presence-penalty","0"]

Highlighted rows differ between this model's configs.

Chat benchmark

Eight real chat prompts sent through the server's HTTP API, one at a time, up to 1,024 tokens each, thinking off. Every engine runs the same protocol, so these numbers compare across engines. How it's measured

SamplingDecode t/s± sdTPOT msTTFT msPrefill t/sEnd-to-end t/sOutput tokensGPU WTok/J
default sampling · 8 prompts30.80.0632.422045930.69482490.12
greedy · 8 prompts30.80.0332.522046030.69462500.12

Load time 6 s · Peak VRAM 18.0 GB · Peak RAM 23.9 GB · Run of 2026-09-17 17:34

Chat generation, every Qwen3.8 27B config

Same prompts and settings on every engine. Click a bar to open that config.

Speed by context depth

llama.cpp's own benchmark, llama-bench, with no server in the loop.

Generation vs context depth

All configs of this model; the selected one is solid.

Prompt processing vs context depth

TestDeptht/s± sdRepsGPU WTok/J
pp512 llama-bench096571.751735.58
pp512 llama-bench4k1,10926.252334.75
pp512 llama-bench16k99815.852374.21
tg128 llama-bench032.40.2052450.13
tg128 llama-bench4k31.70.1052440.13
tg128 llama-bench16k30.30.1652420.13

GPU power during the run

VRAM during the run

Quality

Not measured yet: perplexity and KL-divergence against a reference quant.

Capability

Not measured yet. The quick tier (LiveCodeBench, BFCL, GPQA Diamond, AIME 2025) runs for every config; SWE-bench Verified and Terminal-Bench run for the configs worth a night each.

Run history

DateKindEngine buildDriverDurationFlags
2026-09-17 17:34chat benchmarkllama.cpp@91f6a6cf3595.99.0213.0 min
2026-09-15 18:42speed (llama-bench)llama.cpp@91f6a6cf3595.99.022.3 min