(Nov 20, 2026) We are releasing NariQ v1 GGUFs of Qwen3.8-27B at 3, 2.5 and 2 bits per weight. Run them on our llama.cpp fork (required).
| Model | DeepSWE v1.1 113 tasks × 3, mean pass@1 |
Terminal-Bench 2.1 82 tasks × 3 |
AIME 25+26 60 × 8 |
MGSM 250 × 11 languages |
RealWorldQA 765 × 3 |
|---|---|---|---|---|---|
| BF16 (53.8 GB) | 39.8 (45.0) | 62.6 (154) | 97.7 (469) | 94.0 (2584) | 82.4 (1890) |
| NariQ 3-bit (10.1 GB) | 41.0 (46.3) | 63.8 (157) | 98.3 (472) | 93.1 (2561) | 82.4 (1890) |
| NariQ 2.5-bit (8.4 GB) | 41.9 (47.3) | 60.2 (148) | 96.5 (463) | 91.8 (2525) | 81.3 (1866) |
| NariQ 2-bit (6.8 GB) | 28.6 (32.3) | 52.4 (129) | 86.0 (413) | 90.6 (2491) | 80.9 (1856) |
Each cell gives a percentage and a count in parentheses. For DeepSWE, the count is the mean number of fully solved tasks per round. Across the same three rounds, the mean share of each task's new tests that passed was 83.1% (BF16), 82.9% (3-bit), 83.2% (2.5-bit) and 77.2% (2-bit). One BF16 verifier timeout in round 3 counts as zero (338 of 339 trials graded). Each NariQ variant had all 339 trials graded. Terminal-Bench counts solved trials, and the remaining columns count correct answers. The agent runs use the Claude Code CLI (2.1.309, thinking on, effort max) driving the local model, with a 262,144-token context and the model's thinking-mode sampling (temperature 1.0, top-p 0.95, top-k 20).
KL divergence from the BF16 model on held-out coding-agent traces, against file size. Every point was measured by us with the same code. Lower is better.
DeepSWE fully solved tasks out of 113, against file size. Our NariQ points and solid BF16 line average three rounds with Claude Code. Our GSQ-RCO points use one round. The hollow diamonds show approximate averages from Unsloth's published Dynamic V3.1 chart (mini-swe-agent). Compare each point with the BF16 line for its harness. Higher is better.
Terminal-Bench 2.1 score over 82 tasks × 3 attempts, against file size. Filled circles are our runs (Claude Code); hollow diamonds are Unsloth's reported results (mini-swe-agent), read from its published Dynamic V3.1 chart (hence ≈; its scores are averages over several passes). The two harnesses differ, so compare each point with the BF16 line of its own harness (solid: ours, dashed: Unsloth's). Higher is better.
| File | Bits | Size | For |
|---|---|---|---|
Qwen3.8-27B-NariQ-3.0bpw.gguf |
3.00 | 10.12 GB | the default |
Qwen3.8-27B-NariQ-2.5bpw.gguf |
2.50 | 8.44 GB | less memory; BF16-level on agent tasks |
Qwen3.8-27B-NariQ-2.0bpw.gguf |
2.00 | 6.75 GB | the smallest; weaker on math and agent tasks |
Qwen3.8-27B-NariQ-mmproj-BF16.gguf |
16 | 0.93 GB | the vision projector, for all three |
One command on Linux with an NVIDIA GPU and driver 570 or newer (downloads the fork's binaries and the files, checks them, and fits the context to your GPU):
curl -fsSLO https://github.com/nari-labs/nari-llama.cpp/releases/download/b12431-nariv0/run.sh
bash run.sh 3.0 # or 2.5, 2.0
Or download and serve yourself, with llama-server from the fork:
hf download nari-labs/Qwen3.8-27B-NariQ-GGUF \
Qwen3.8-27B-NariQ-3.0bpw.gguf Qwen3.8-27B-NariQ-mmproj-BF16.gguf --local-dir .
llama-server -m Qwen3.8-27B-NariQ-3.0bpw.gguf --mmproj Qwen3.8-27B-NariQ-mmproj-BF16.gguf \
-ngl 99 -c 131072 --jinja --port 8080 \
--temp 1.0 --top-p 0.95 --top-k 20 --min-p 0
The sampling flags are the thinking-mode settings our scores used. -c 131072 fits a 24 GB GPU with little to spare;
lower it if a display shares the GPU, or let run.sh pick the largest context that fits. Use -c 262144 (the model's
full context) on 32 GB or more. GPU memory with the vision projector:
| 3-bit | 2.5-bit | 2-bit | |
|---|---|---|---|
| Context that fits on a 24 GB GPU | ≈135K | ≈160K | ≈184K |
| GPU memory at the full 262K context | ≈30 GB | ≈28 GB | ≈27 GB |
Prebuilt binaries, the Docker image, supported GPUs and build steps: the fork's README.
Decode speed on one NVIDIA RTX PRO 6000 (Blackwell), single session, 512 greedy output tokens, tokens/s:
| Context | NariQ 3.0bpw (10.1 GB) | NariQ 2.5bpw (8.4 GB) | NariQ 2.0bpw (6.8 GB) | UD-IQ3_XXS (10.9 GB) |
|---|---|---|---|---|
| 4K | 88.9 | 99.2 | 111.7 | 94.7 |
| 16K | 84.5 | 93.8 | 105.1 | 89.8 |
| 64K | 70.7 | 77.5 | 85.0 | 74.8 |
NariQ on our llama.cpp fork with -fa on -ctk bf16 -ctv bf16 -t 1 -tb 16 --backend-sampling --samplers temperature (greedy sampling on the GPU, BF16 KV cache). UD-IQ3_XXS is Unsloth's file on llama.cpp, measured earlier on the same GPU type.
For technical consulting, compute sponsorships, or partnership inquiries, please contact founders@narilabs.com.
These files inherit the base model's Apache-2.0 license; see NOTICE.
Thanks to the Qwen team for the amazing Qwen3.8-27B, and to the Unsloth, ExLlamaV3, GSQ-RCO (IST Austria DASLab) and GGML teams, whose open-source work this release builds on. NariQ's trellis codes build on QTIP (Tseng et al., 2024).
If you use NariQ, please cite the technical report:
@techreport{kim2026nariq,
title = {NariQ: Sub-3-Bit Quantization for Long-Horizon Agentic Tasks},
author = {Doyeob (Toby) Kim},
institution = {Nari Labs},
year = {2026},
month = nov,
eprint = {2611.26157},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2611.26157}
}
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}
Alternatively, override the default values via engine startup parameters. For implementation details, refer to: vLLM / SGLang.
@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}
}
Qwen/Qwen3.8-27B