Nari Labs releases sub-3-bit quantized Qwen3.8-27B model for agentic tasks
Nari Labs published NariQ, a set of GGUF files that compress the Qwen3.8-27B model to under 3 bits per weight while preserving agent performance.
Nari Labs has released NariQ, a collection of heavily quantized GGUF files for the Qwen3.8-27B language model. Published on Hugging Face in November 2026, this release targets developers who need to run large vision-language models on consumer hardware without sacrificing too much reasoning capability. The project introduces custom tensor formats that require a specific fork of the llama.cpp runtime to function.
What happened
The release provides three primary quantization levels for the 27-billion-parameter Qwen3.8 model: 3.0 bits per weight, 2.5 bits per weight, and 2.0 bits per weight. These files reduce the model size from the original 53.8 GB in BF16 precision to between 6.8 GB and 10.1 GB. The vision projector remains in BF16 precision, adding approximately 0.93 GB to the total footprint. This approach allows the entire model stack to fit into the memory of high-end consumer GPUs or professional workstation cards.
Nari Labs benchmarked these quantized variants against the full-precision BF16 baseline using standard agent harnesses. The tests focused on coding agents and long-horizon task completion, utilizing the Claude Code CLI to drive the local model. The results indicate that the 3-bit and 2.5-bit versions maintain performance very close to the original model on complex software engineering tasks. However, the 2-bit variant shows a noticeable drop in accuracy, particularly in mathematics and general agent capabilities.
The release is notable for its dependency on a custom runtime. Standard tools like Ollama, LM Studio, and the main branch of llama.cpp cannot currently load these files. Users must use a specific fork of llama.cpp provided by Nari Labs, which includes support for the new NariQ tensor types. The developers have stated they hope to merge this support into the upstream llama.cpp project in the future, but for now, it remains a separate ecosystem.
How it works
NariQ uses trellis codes based on recent research to achieve sub-3-bit quantization. Unlike traditional uniform quantization, which maps weights to a fixed grid, trellis coded quantization allows for more efficient representation of the weight distribution. This method reduces the file size significantly while minimizing the information loss that typically degrades model performance at such low bit rates. The language model weights are quantized, but the vision tower and key-value cache remain in higher precision to preserve input understanding and context stability.
The custom llama.cpp fork implements the necessary kernels to decode these compressed tensors on NVIDIA GPUs. It is currently optimized for SM120 architecture, such as the RTX PRO 6000 series. The runtime handles the decompression and computation on the fly, allowing the model to operate within tight memory constraints. For example, on a 24 GB GPU, the 3-bit model can handle a context window of approximately 135,000 tokens, while the 2-bit version can manage up to 184,000 tokens. This efficiency comes from keeping the active weights small, though the KV cache still consumes significant memory as the context grows.
Key details
- Model sizes: The 3-bit file is 10.12 GB, the 2.5-bit file is 8.44 GB, and the 2-bit file is 6.75 GB.
- Performance retention: The 2.5-bit variant achieves 83.2% mean test pass share in DeepSWE benchmarks, nearly matching the 83.1% of the BF16 baseline.
- Hardware requirements: Requires an NVIDIA GPU with driver 570 or newer; AMD and Intel GPUs are not supported.
- Runtime dependency: Only works with the Nari Labs llama.cpp fork; stock llama.cpp and Ollama are incompatible.
- Vision support: Includes a BF16 vision projector file (0.93 GB) for image and video understanding.
- Context limits: A 24 GB GPU can fit roughly 135K tokens for the 3-bit model, while 32 GB+ is needed for the full 262K context.
Why it matters
For engineers building local AI agents, memory bandwidth and capacity are often the primary bottlenecks. Running a 27-billion-parameter model usually requires multiple high-end GPUs or expensive cloud instances. NariQ demonstrates that sub-3-bit quantization can make such models viable on single workstation cards. This lowers the barrier to entry for developing sophisticated coding assistants and research tools that require long context windows and strong reasoning abilities.
However, the reliance on a custom runtime introduces friction. Teams adopting this model must maintain a separate build pipeline and cannot easily swap in other inference engines. The lack of support for Apple Silicon and older NVIDIA architectures also limits its immediate applicability in heterogeneous environments. Developers must weigh the memory savings against the operational complexity of managing a non-standard inference stack.
What you can do
- Test the 3-bit model on an NVIDIA GPU with at least 24 GB of VRAM to evaluate agent performance for your specific use case.
- Use the provided
run.shscript for a quick start on Linux systems with compatible drivers. - Avoid the 2-bit variant for tasks requiring strong mathematical reasoning or complex planning, as benchmarks show significant degradation.
- Monitor the Nari Labs GitHub repository for updates on upstream llama.cpp integration and broader hardware support.
- Adjust the context length parameter (
-c) based on your available GPU memory, lowering it if other applications share the GPU. - Review the technical report cited in the release to understand the underlying trellis code mechanics if you plan to contribute to the runtime.


