Quantized GGUF versions of Qwen/Qwen3.8-27B, with thinking mode, vision (image input) and tool calling. Every quant was measured against the original BF16 model (perplexity + KL divergence) and functionally tested (thinking on/off, tool calls, vision).
Pipeline code: https://github.com/muhammedafsalpm/qwen3.8-27b-gguf-quantization
| File | Type | Size | Bits/weight | VRAM* | PPL ↓ | Mean KLD ↓ | Same top token ↑ | Notes |
|---|---|---|---|---|---|---|---|---|
| Qwen3.8-27B-Q8_0.gguf | Q8_0 | 29.1 GB | 8.50 | ~32 GB | 6.4399 | 0.0007 | 98.86% | Near-lossless. Best accuracy |
| Qwen3.8-27B-Q6_K.gguf | Q6_K | 22.4 GB | 6.57 | ~25 GB | 6.4312 | 0.0020 | 97.91% | Excellent quality |
| Qwen3.8-27B-Q5_K_M.gguf | Q5_K_M | 19.6 GB | 5.75 | ~23 GB | 6.4544 | 0.0041 | 97.10% | Very high quality |
| Qwen3.8-27B-Q4_K_M.gguf | Q4_K_M | 17.0 GB | 4.98 | ~20 GB | 6.4644 | 0.0121 | 95.09% | Recommended default. Best balance |
| Qwen3.8-27B-IQ4_XS.gguf | IQ4_XS | 15.5 GB | 4.55 | ~18 GB | 6.5045 | 0.0164 | 94.66% | Best choice for 16 GB GPUs |
| Qwen3.8-27B-Q3_K_M.gguf | Q3_K_M | 13.7 GB | 4.01 | ~17 GB | 6.6493 | 0.0468 | 90.81% | 16 GB GPUs with longer context |
| Qwen3.8-27B-IQ3_M.gguf | IQ3_M | 13.0 GB | 3.80 | ~16 GB | 6.7204 | 0.0563 | 90.33% | 12–16 GB GPUs |
Vision: also download mmproj-Qwen3.8-27B-F16.gguf (0.9 GB); it works with every quant above.
*VRAM is approximate: model + vision projector + ~8K context. Longer context needs more.
How to read the accuracy columns (all measured against the original BF16 model, perplexity 6.4334):
Compatibility: these files need llama.cpp build b12345 or newer. Recent llama.cpp stores some of this model's tensors in a combined layout (
attn_qkv_gate,ssm_beta_alpha) that older runtimes cannot read. Ollama 0.40.16 and older cannot load them (error:tensor 'blk.0.ssm_beta.weight' not found). Other apps work once their bundled llama.cpp is at least build b12345.
llama.cpp (chat with image support; tested):
llama-server -m Qwen3.8-27B-Q4_K_M.gguf --mmproj mmproj-Qwen3.8-27B-F16.gguf -ngl 99 -c 16384 --jinja
Ollama: not supported yet (see Compatibility). For Ollama, use its own library model instead:
ollama run qwen3.8:27b.
LM Studio and other llama.cpp-based apps: load a quant once the app's llama.cpp runtime is build b12345 or newer.
Thinking mode is on by default (reasoning effort xhigh). Per request, with llama-server or any
OpenAI-compatible API:
"chat_template_kwargs": {"enable_thinking": false}"chat_template_kwargs": {"reasoning_effort": "low"} (xhigh, medium or low)Run through llama-server with the vision projector loaded (temperature 0):
| Quant | Thinking on | Thinking off | Tool call | Vision | Generation speed (tok/s, RTX 6000 Ada) |
|---|---|---|---|---|---|
| Q8_0 | ✅ | ✅ | ✅ | ✅ | 27.7 |
| Q6_K | ✅ | ✅ | ✅ | ✅ | 35.5 |
| Q5_K_M | ✅ | ✅ | ✅ | ✅ | 39.6 |
| Q4_K_M | ✅ | ✅ | ✅ | ✅ | 43.7 |
| IQ4_XS | ✅ | ✅ | ✅ | ✅ | 46.9 |
| Q3_K_M | ✅ | ✅ | ✅ | ✅ | 48.6 |
| IQ3_M | ✅ | ✅ | ✅ | ✅ | 50.2 |
Scope of the evaluation: the functional tests are smoke tests (one prompt per feature) that confirm each feature works; they do not score quality. Accuracy (perplexity, KL divergence) is measured on English Wikipedia text at 512-token context, so code, math, other languages, long context and image quality are not separately measured.
Qwen/Qwen3.8-27B at commit 37561816e66b5b9153b1b64c10968c18c1e6f4a0 (SHA256-verified).b12345; vision projector exported as F16.<think> reasoning traces):| Source | Dataset | Samples | Tokens |
|---|---|---|---|
| general | Salesforce/wikitext |
55 | 32,012 |
| chat | HuggingFaceH4/ultrachat_200k |
25 | 32,181 |
| math | openai/gsm8k |
127 | 24,253 |
| code | iamtarun/python_code_instructions_18k_alpaca |
131 | 24,431 |
| reasoning | nvidia/OpenCodeReasoning |
13 | 33,040 |
| multilingual | CohereLabs/aya_dataset |
73 | 17,624 |
Qwen3.8-27B.imatrix.gguf is included.Checksums: SHA256SUMS.txt.
The model weights are licensed under Apache 2.0, the same as the original Qwen/Qwen3.8-27B. All credit for the model goes to the Qwen team. Quantized with llama.cpp.
Qwen/Qwen3.8-27B