How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "Xylolabs/Qwen3.8-27B-GGUF"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "Xylolabs/Qwen3.8-27B-GGUF",
		"messages": [
			{
				"role": "user",
				"content": [
					{
						"type": "text",
						"text": "Describe this image in one sentence."
					},
					{
						"type": "image_url",
						"image_url": {
							"url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
						}
					}
				]
			}
		]
	}'
Use Docker
docker model run hf.co/Xylolabs/Qwen3.8-27B-GGUF:
Quick Links
Xylolabs

Qwen3.8-27B GGUF

Base model Formats License Code

GGUF quants of Qwen/Qwen3.8-27B for llama.cpp, on CUDA, Metal or CPU.

Files

File Parts Size
Qwen3.8-27B-Q8_0.gguf 1 29.047 GB
Qwen3.8-27B-Q6_K.gguf 1 22.431 GB
Qwen3.8-27B-Q5_K_M.gguf 1 19.536 GB
Qwen3.8-27B-Q4_K_M.gguf 1 16.564 GB
Qwen3.8-27B-Q4_K_S.gguf 1 15.358 GB
Qwen3.8-27B-IQ4_XS-imat.gguf 1 15.309 GB
Qwen3.8-27B-Q3_K_M.gguf 1 13.146 GB
Qwen3.8-27B-IQ3_M.gguf 1 12.768 GB
Qwen3.8-27B-IQ3_S.gguf 1 12.041 GB
Qwen3.8-27B-Q2_K.gguf 1 9.949 GB
mmproj-Qwen3.8-27B-F16.gguf 1 0.928 GB
mmproj-Qwen3.8-27B-Q8_0.gguf 1 0.629 GB
Qwen3.8-27B-Q2_K.imatrix 1 13.64 MB
Qwen3.8-27B-IQ3_S.imatrix 1 13.64 MB
Qwen3.8-27B-Q3_K_M.imatrix 1 13.64 MB
Qwen3.8-27B-Q4_K_M.imatrix (used for Q4_K_M) 1 13.64 MB
Qwen3.8-27B-chat2.imatrix 1 27.30 MB
Qwen3.8-27B-imat.imatrix 1 27.30 MB
Qwen3.8-27B-chat.imatrix 1 27.30 MB

How to run

Use llama.cpp commit cd959bae99ff4bed22bef2604f45241c09bbb8c8 or later.

git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp
git checkout cd959bae99ff4bed22bef2604f45241c09bbb8c8
cmake -B build -DCMAKE_BUILD_TYPE=Release        # add -DGGML_CUDA=ON for NVIDIA GPUs
cmake --build build -j --target llama-cli llama-server

./build/bin/llama-cli -m Qwen3.8-27B-Q5_K_M.gguf --jinja -c 8192 -ngl 99

For image input, add a vision projector: mmproj-Qwen3.8-27B-F16.gguf (0.928 GB) or the smaller mmproj-Qwen3.8-27B-Q8_0.gguf (0.629 GB). Download it beside the language file.

./build/bin/llama-server -m Qwen3.8-27B-Q5_K_M.gguf --mmproj mmproj-Qwen3.8-27B-F16.gguf --jinja -c 8192 -ngl 99

Add --chat-template-kwargs '{"enable_thinking":false}' to answer directly, without the reasoning pass. llama-server takes the same flags.

Accuracy

The plots use WikiText-2 scores with the model's BF16 weights as the reference.

Quant Size WikiText-2 KL top-1 Chat KL top-1 Held-out KL top-1
Q8_0 29.047 GB 0.000867 98.672% 0.002304 99.059% 0.001067 98.794%
Q6_K 22.431 GB 0.002161 97.951% 0.004358 98.245% 0.003333 97.824%
Q5_K_M 19.536 GB 0.004578 96.902% 0.008445 97.598% 0.008101 96.794%
Q4_K_M 16.564 GB 0.007451 96.123% 0.014151 96.510% 0.018714 95.804%
Q4_K_S 15.358 GB 0.015845 94.549% 0.030877 94.990% 0.030020 94.324%
IQ4_XS-imat 15.309 GB 0.017617 94.157% 0.032862 94.598% 0.032699 93.775%
Q3_K_M 13.146 GB 0.025916 93.230% 0.043775 93.676% 0.060944 92.196%
IQ3_M 12.768 GB 0.059505 89.637% 0.087631 91.343% 0.100871 89.118%
IQ3_S 12.041 GB 0.034623 92.000% 0.049603 93.931% 0.080145 90.618%
Q2_K 9.949 GB 0.083321 87.824% 0.106677 89.608% 0.182746 85.578%
AtomicChat Q8_0 28.888 GB 0.000896 98.721% 0.003599 98.931% 0.001053 98.833%
AtomicChat Q6_K 25.005 GB 0.001356 98.431% 0.003389 98.578% 0.002123 98.471%
AtomicChat Q5_K 23.082 GB 0.002414 97.711% 0.005841 98.049% 0.004041 97.657%
AtomicChat Q5_K_M 20.233 GB 0.003761 97.279% 0.008246 97.647% 0.006789 97.147%
AtomicChat Q4_K_M 17.121 GB 0.009966 95.789% 0.018466 96.235% 0.019308 95.343%
AtomicChat IQ4_XS 16.513 GB 0.011175 95.426% 0.025758 95.216% 0.021946 95.333%
AtomicChat IQ3_S 13.838 GB 0.036191 91.475% 0.054390 92.882% 0.070031 91.608%
AtomicChat IQ3_XXS 12.076 GB 0.073583 88.289% 0.095415 90.402% 0.117601 88.118%
AtomicChat IQ2_S 11.142 GB 0.105785 86.289% 0.157086 87.480% 0.171283 85.716%
AtomicChat IQ2_XS 9.890 GB 0.168705 82.078% 0.240257 84.873% 0.256814 81.725%
bartowski Q8_0 29.116 GB 0.000893 98.789% 0.002929 98.873% 0.001024 98.863%
bartowski Q6_K_L 24.959 GB 0.001486 98.137% 0.003495 98.588% 0.002203 98.147%
bartowski Q6_K 23.861 GB 0.001741 98.098% 0.003791 98.412% 0.002540 98.039%
bartowski Q6_K_S 22.857 GB 0.001796 98.118% 0.004042 98.304% 0.002728 97.951%
bartowski Q5_K_L 21.537 GB 0.003649 97.402% 0.006397 98.010% 0.006280 97.235%
bartowski Q5_K_M 20.924 GB 0.003850 97.221% 0.007609 97.941% 0.006614 96.971%
bartowski Q5_K_S 19.567 GB 0.004350 96.897% 0.007404 97.922% 0.007175 96.922%
bartowski Q4_K_L 18.821 GB 0.009259 95.936% 0.015962 96.578% 0.018824 95.284%
bartowski Q4_1 17.825 GB 0.015570 94.358% 0.021591 95.627% 0.027567 93.961%
bartowski Q4_K_M 17.442 GB 0.012294 95.304% 0.019341 95.637% 0.023030 94.755%
bartowski Q3_K_XL 16.392 GB 0.041538 91.083% 0.066300 92.294% 0.073482 90.451%
bartowski Q4_K_S 16.364 GB 0.014316 94.882% 0.022369 95.343% 0.026049 94.324%
bartowski Q4_0 16.349 GB 0.026167 92.824% 0.041994 93.578% 0.043947 92.627%
bartowski IQ4_XS 15.476 GB 0.017114 94.574% 0.048382 93.922% 0.030669 94.206%
bartowski IQ3_M 14.861 GB 0.039232 91.309% 0.056469 92.480% 0.075063 90.990%
bartowski Q3_K_L 14.123 GB 0.042344 91.137% 0.069178 92.176% 0.075243 90.490%
bartowski Q3_K_M 13.404 GB 0.055829 89.926% 0.082506 91.549% 0.095603 89.235%
bartowski Q2_K_L 13.081 GB 0.133288 84.559% 0.162731 86.804% 0.202529 83.833%
bartowski IQ3_XS 12.800 GB 0.057374 89.667% 0.086202 91.010% 0.098663 89.245%
bartowski Q3_K_S 12.740 GB 0.063628 89.157% 0.101661 90.520% 0.106222 88.588%
bartowski IQ3_XXS 12.320 GB 0.072959 88.608% 0.122097 89.618% 0.126111 88.010%
bartowski Q2_K 10.822 GB 0.161675 83.760% 0.211475 85.402% 0.230526 82.598%
bartowski IQ2_M 10.522 GB 0.148144 83.990% 0.238370 86.745% 0.231338 83.422%
bartowski IQ2_S 9.684 GB 0.208168 81.142% 0.287435 83.765% 0.299894 80.529%
byteshape IQ4_XS 13.083 GB 0.046557 91.054% 0.043219 93.647% 0.073566 90.206%
byteshape IQ3_S 11.035 GB 0.100455 86.544% 0.102267 89.892% 0.170342 85.216%
byteshape IQ3_XS-3.01bpw 10.353 GB 0.138316 84.299% 0.148501 87.461% 0.228114 82.618%
byteshape IQ3_XXS 9.919 GB 0.181147 82.368% 0.157283 86.931% 0.270854 81.167%
byteshape IQ2_XXS 8.844 GB 0.281744 77.868% 0.240894 83.922% 0.402898 76.471%
ggml-org Q8_0 28.596 GB 0.000896 98.721% 0.003599 98.931% 0.001053 98.833%
ggml-org Q4_K_M 19.404 GB 0.013713 94.485% 0.019312 95.412% 0.024574 94.069%
ISTA-DASLab IQ3_S 11.772 GB 0.052901 89.828% 0.070929 91.431% 0.099786 88.333%
ISTA-DASLab IQ3_XXS 10.094 GB 0.099919 86.441% 0.116172 89.284% 0.187846 84.275%
ISTA-DASLab IQ2_S 9.260 GB 0.137402 84.064% 0.176462 86.363% 0.242452 81.696%
ISTA-DASLab IQ2_XS 8.423 GB 0.197511 81.240% 0.254672 83.735% 0.356808 77.824%
lmstudio-community Q8_0 29.047 GB 0.000867 98.672% 0.002304 99.059% 0.001067 98.794%
lmstudio-community Q6_K 22.431 GB 0.002757 97.608% 0.005857 97.853% 0.003879 97.520%
lmstudio-community Q4_K_M 16.811 GB 0.020912 93.505% 0.038925 93.882% 0.035779 93.441%
mradermacher Q8_0 29.047 GB 0.000896 98.721% 0.003599 98.931% 0.001053 98.833%
mradermacher i1-Q6_K 22.431 GB 0.002160 98.005% 0.004548 98.176% 0.003257 97.922%
mradermacher Q6_K 22.431 GB 0.002793 97.652% 0.005352 98.118% 0.003833 97.588%
mradermacher i1-Q5_K_M 19.536 GB 0.004696 96.828% 0.009061 97.569% 0.007742 96.775%
mradermacher Q5_K_M 19.536 GB 0.007316 96.461% 0.014018 96.922% 0.011077 96.176%
mradermacher i1-Q5_K_S 18.972 GB 0.005187 96.583% 0.009299 97.755% 0.008693 96.637%
mradermacher Q5_K_S 18.972 GB 0.007995 96.059% 0.016709 96.647% 0.012708 95.873%
mradermacher i1-Q4_1 17.344 GB 0.016760 94.441% 0.026460 95.108% 0.030956 94.108%
mradermacher i1-Q4_K_M 16.811 GB 0.013741 94.789% 0.022717 95.431% 0.026533 94.412%
mradermacher Q4_K_M 16.811 GB 0.020836 93.520% 0.039187 93.833% 0.035622 93.480%
mradermacher i1-Q4_K_S 15.825 GB 0.016585 94.211% 0.023915 95.363% 0.032111 93.922%
mradermacher Q4_K_S 15.825 GB 0.024883 93.172% 0.040006 93.735% 0.044361 92.588%
mradermacher i1-Q4_0 15.760 GB 0.029264 92.373% 0.043715 93.539% 0.049017 92.235%
mradermacher IQ4_XS 15.420 GB 0.022966 93.152% 0.038014 93.931% 0.040977 93.304%
mradermacher i1-IQ4_XS 15.309 GB 0.017983 94.240% 0.031966 94.627% 0.034721 93.902%
mradermacher i1-Q3_K_L 14.560 GB 0.049778 90.569% 0.074452 91.951% 0.085536 89.637%
mradermacher Q3_K_L 14.560 GB 0.064653 88.848% 0.106608 90.304% 0.102274 88.647%
mradermacher i1-Q3_K_M 13.501 GB 0.054756 89.990% 0.091036 91.324% 0.092156 89.402%
mradermacher Q3_K_M 13.501 GB 0.070886 88.422% 0.115609 90.147% 0.113397 88.245%
mradermacher i1-IQ3_M 12.768 GB 0.061402 89.196% 0.075885 91.657% 0.110196 88.804%
mradermacher i1-IQ3_S 12.603 GB 0.060809 89.176% 0.071522 91.814% 0.107745 88.784%
mradermacher i1-Q3_K_S 12.257 GB 0.085490 87.152% 0.133511 89.490% 0.132585 86.725%
mradermacher Q3_K_S 12.257 GB 0.105506 85.951% 0.152663 88.127% 0.161286 85.716%
mradermacher i1-Q2_K 10.865 GB 0.151422 83.319% 0.172479 86.343% 0.244659 82.118%
mradermacher Q2_K 10.865 GB 0.286222 77.529% 0.409390 79.980% 0.408493 76.020%
Unsloth UD-Q8_K_XL 31.458 GB 0.000667 98.853% 0.001444 99.069% 0.000898 98.951%
Unsloth Q8_0 29.047 GB 0.000867 98.672% 0.002304 99.059% 0.001067 98.794%
Unsloth UD-Q8_K_L 28.046 GB 0.000786 98.657% 0.002376 98.980% 0.001109 98.627%
Unsloth UD-Q6_K_XL 25.299 GB 0.001032 98.564% 0.002039 98.588% 0.001826 98.265%
Unsloth UD-Q6_K_L 24.182 GB 0.001215 98.642% 0.002661 98.588% 0.002118 98.284%
Unsloth UD-Q6_K_M 23.087 GB 0.001383 98.397% 0.002909 98.373% 0.002544 98.235%
Unsloth UD-Q6_K 21.980 GB 0.001773 98.137% 0.003402 98.265% 0.003245 98.010%
Unsloth UD-Q5_K_XL 20.977 GB 0.002375 97.882% 0.005848 98.000% 0.004837 97.716%
Unsloth UD-Q5_K_M 19.871 GB 0.003068 97.412% 0.006759 97.706% 0.006460 97.039%
Unsloth UD-Q5_K_S 18.765 GB 0.003995 97.201% 0.007980 97.490% 0.008646 96.588%
Unsloth UD-Q4_K_XL 17.659 GB 0.005644 96.608% 0.015352 96.324% 0.012974 96.225%
Unsloth Q4_1 17.541 GB 0.015127 94.613% 0.023512 95.480% 0.026553 94.039%
Unsloth UD-Q4_K_M 16.564 GB 0.007576 96.201% 0.020176 95.618% 0.018755 95.431%
Unsloth Q4_0 16.056 GB 0.025561 93.049% 0.041697 93.873% 0.043021 93.049%
Unsloth UD-Q4_K_S 15.358 GB 0.010193 95.618% 0.034123 94.588% 0.030494 94.265%
Unsloth UD-IQ4_XS 14.353 GB 0.016367 94.176% 0.039900 94.127% 0.036723 93.157%
Unsloth UD-Q3_K_XL 13.146 GB 0.026235 92.554% 0.049744 93.863% 0.065165 91.657%
Unsloth UD-IQ3_S 12.041 GB 0.036043 91.770% 0.080079 91.471% 0.106168 89.118%
Unsloth UD-IQ3_XXS 10.935 GB 0.054159 89.627% 0.101860 90.078% 0.143572 86.402%
Unsloth UD-Q2_K_XL 9.949 GB 0.086977 87.289% 0.166114 87.000% 0.160427 85.824%
Unsloth UD-IQ2_S 8.423 GB 0.127511 84.931% 0.206836 84.941% 0.238166 82.578%
Unsloth UD-IQ2_XS 7.626 GB 0.165819 82.338% 0.244062 83.049% 0.312767 79.510%
Unsloth UD-IQ2_XXS 7.206 GB 0.197141 81.167% 0.234754 83.422% 0.358335 78.186%
Unsloth UD-IQ1_M 6.729 GB 0.275141 77.760% 0.524296 76.069% 0.602536 70.343%
Unsloth UD-IQ1_S 6.192 GB 0.386317 73.931% 0.704053 72.176% 0.805275 65.510%
Mean KL divergence by file size Top-1 agreement with BF16 by file size

Which file for your hardware

Hardware Memory File Context
RTX 4090 / RTX 3090 24 GB Qwen3.8-27B-Q4_K_M.gguf (16.6 GB) 32K
RTX 5090 32 GB Qwen3.8-27B-Q6_K.gguf (22.4 GB) 32K
RTX 6000 Ada, or 2 x 24 GB 48 GB Qwen3.8-27B-Q8_0.gguf (29.0 GB) 128K
One H100 80 GB Qwen3.8-27B-Q8_0.gguf (29.0 GB) 256K
RTX PRO 6000 Blackwell (GDDR7) 96 GB Qwen3.8-27B-Q8_0.gguf (29.0 GB) 256K
DGX Spark 128 GB unified Qwen3.8-27B-Q8_0.gguf (29.0 GB) 256K
Mac Studio M5 Max 128 GB unified Qwen3.8-27B-Q8_0.gguf (29.0 GB) 256K
One H200 (HBM3e) 141 GB Qwen3.8-27B-Q8_0.gguf (29.0 GB) 256K
One B200 192 GB Qwen3.8-27B-Q8_0.gguf (29.0 GB) 256K
Mac Studio M5 Ultra 256 GB unified Qwen3.8-27B-Q8_0.gguf (29.0 GB) 256K
Mac Studio M5 Ultra 512 GB unified Qwen3.8-27B-Q8_0.gguf (29.0 GB) 256K
One B300 (HBM3e) 288 GB Qwen3.8-27B-Q8_0.gguf (29.0 GB) 256K

License and notices

Apache License 2.0, copied in LICENSE. We converted the weights to GGUF and quantized them.

Updates

  • 2026-12-03: Rebuilt the accuracy table, CSV and charts.
  • 2026-12-02: Replaced IQ3_S; Wiki KL 0.037892 to 0.034623, Chat 0.055729 to 0.049603, held-out 0.091951 to 0.080145.
  • 2026-12-02: Replaced Q2_K. WikiText-2 KL 0.084479 to 0.083321, chat KL 0.107973 to 0.106677.
Downloads last month
45,480
GGUF
Model size
27B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Xylolabs/Qwen3.8-27B-GGUF

Base model

Qwen/Qwen3.8-27B
Quantized
(2,053)
this model

Collections including Xylolabs/Qwen3.8-27B-GGUF