Unsloth Dynamic 3.1 achieves superior accuracy & outperforms other leading quants.
See below for 4-bit Qwen3.8-27B run inside of Unsloth Desktop:
Following the widespread community adoption of the Qwen3.5 and Qwen3.6 series, we are pleased to introduce Qwen3.8, the most capable generation in the Qwen open-model family to date.
Built on the architectural foundation of Qwen3.5, Qwen3.8 delivers substantial gains across coding, professional work, research, and long-horizon agentic tasks. Qwen3.8-27B brings these advances to a compact, deployment-friendly dense model: a native vision-language model that understands images and videos, with flexible thinking control, designed to carry complex, multi-step tasks through to completion with greater reliability.
Qwen3.8-27B features the following enhancements:
reasoning_effort, and reasoning context from historical messages is retained via preserve_thinking.To achieve optimal performance, we recommend the following settings:
Sampling Parameters: We suggest using the following sets of sampling parameters:
temperature=1.0, top_p=0.95, top_k=20, min_p=0.0, presence_penalty=0.0, repetition_penalty=1.0temperature=0.7, top_p=0.80, top_k=20, min_p=0.0, presence_penalty=1.5, repetition_penalty=1.0 For supported frameworks, you can adjust the presence_penalty parameter between 0 and 2 to reduce endless repetition. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.
Adequate Output Length: To optimize performance on agentic tasks, we recommend allocating sufficient output length to allow the model to generate detailed and comprehensive responses. For frameworks that support separate token limits for internal reasoning and final outputs, we suggest the following configuration within the 1M context length:
These settings provide the necessary capacity for complex reasoning while ensuring ample space for high-quality final deliverables.
Processing Ultra-Long Texts: Qwen3.8-27B natively supports context lengths of up to 262,144 tokens. For long-horizon tasks where the total length (including both input and output) exceeds this limit, we recommend using RoPE scaling techniques to handle long texts effectively, e.g., YaRN.
Long Video Understanding: To optimize inference efficiency for plain text and images, the size parameter in the released video_preprocessor_config.json is conservatively configured. It is recommended to set the longest_edge parameter in the video_preprocessor_config file to 469,762,048 (corresponding to 224k video tokens) to enable higher frame-rate sampling for hour-scale videos and thereby achieve superior performance. For example,
{"longest_edge": 469762048, "shortest_edge": 4096}
If you find our work helpful, feel free to give us a cite.
@misc{qwen38,
title = {{Qwen3.8-Max}: A New Bar for Coding and Cowork},
url = {https://qwen.ai/blog?id=qwen3.8},
author = {{Qwen Team}},
month = {August},
year = {2026}
}
BF16/Qwen3.8-27B-BF16-00001-of-00002.gguf 50 GBBF16/Qwen3.8-27B-BF16-00002-of-00002.gguf 4.7 GB/usr/local/bin/llama-server --host 127.0.0.1 --port 18080 --model "$MODEL" --alias qwen38-unsloth-mtp-localmaxxing --ctx-size 24576 --batch-size 2048 --ubatch-size 512 --parallel 1 --n-gpu-layers all --flash-attn on --cache-type-k q8_0 --cache-type-v q8_0 --jinja --metrics --no-webui --reasoning on --spec-type draft-mtp --spec-draft-n-max 3 --n-gpu-layers-draft all --spec-draft-type-k q8_0 --spec-draft-type-v q8_0View run on LocalMaxxing
/home/liviu/inference/turbo-sync-202608/build/bin/llama-server -m /home/liviu/models/qwen38/Qwen3.8-27B-UD-Q6_K.gguf --mmproj /home/liviu/models/qwen38/mmproj-F16.gguf -np 1 --ctx-size 262144 -ctk turbo4 -ctv turbo4 -ctkd turbo4 -ctvd turbo4 --flash-attn on --load-mode none --spec-type draft-mtp --spec-draft-n-max 3 --temp 1.0 --top-p 0.95 --top-k 20 --min-p 0.0 -ngl 99 -b 512 -ub 512 --no-context-shift --jinja --reasoning on --reasoning-budget 16000 --port 8081 --host 0.0.0.0 --metrics --cache-ram 32768View run on LocalMaxxing
llama.cpp GGUF five-prompt plus vision benchmarkView run on LocalMaxxing
/home/patrick/llama.cpp-matrix/build/bin/llama-server -m /home/patrick/models/Qwen3.8-27B-UD-Q4_K_XL-GGUF/Qwen3.8-27B-UD-Q4_K_XL.gguf --alias bench-model --host 127.0.0.1 --port 8000 -ngl 999 -fa on -c 262144 --no-mmap --parallel 1 --no-webui --spec-type draft-dspark --spec-draft-n-max 3 -md /home/patrick/models/Qwen3.8-27B-DSpark-GGUF/Qwen3.8-27B-DSpark-Q8_0.gguf -ngld 999View run on LocalMaxxing
/home/jack/llama.cpp/build-hip/bin/llama-bench -m /home/jack/unsloth/Qwen3.8-27B-GGUF/Qwen3.8-27B-UD-IQ1_M.gguf -p 512 -n 128View run on LocalMaxxing
GGML_VK_MMID_ROWLISTS=1 GGML_VK_MMID_SMALLN=1 GGML_VK_MMID_BM64=1 GGML_VK_MMID_WAVE32=1 GGML_VK_MMID_F16B=1 GGML_VK_MMID_M128=1 GGML_VK_FA_WAVE32=1 llama-server --model Qwen3.8-27B-UD-Q4_K_XL.gguf -ngl 999 -c 8192 -fa on --no-mmap -np 1 -b 2048 -ub 1024 --temp 0 --no-cache-prompt --spec-type draft-mtp --spec-draft-n-max 3View run on LocalMaxxing
Median of 562 community runs on 31 setups, from LocalMaxxing.
Run it yourself: setup guide