Skip to page content
SAVRN
Search Plan a project

Open-weight model · Image and text to text

Qwen3.8-27B-CQ-4bit

by ThousandML thousandml/Qwen3.8-27B-CQ-4bit

Qwen3.8-27B-CQ-4bit is an open-weight model for image and text to text from ThousandML, released under Apache License 2.0. It has 2.6B parameters and a 262,144-token context. At 16-bit it needs about 6.2 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index. It draws 163 downloads a month.

Qwen3.8 27B quantized to 4-bit with Coded Quantization (CQ). CQ is a calibration-free 4-bit quantization method designed to preserve the behavior of the original model without requiring a calibration dataset.

Parameters2.6B
Context262,144
Weights18.0 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads163

Runs On

What it takes to serve Qwen3.8-27B-CQ-4bit (2.6B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 5.2 GB 6.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 2.6 GB 3.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 1.3 GB 1.6 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 16, 2026.

Qwen3.8-27B-CQ-4bit on every accelerator the SAVRN Index prices, at every precision

Model Card

By ThousandML, published under apache-2.0, revision 98df5a6d54d2.

Qwen3.8 27B quantized to 4-bit with Coded Quantization (CQ). CQ is a calibration-free 4-bit quantization method designed to preserve the behavior of the original model without requiring a calibration dataset. Because CQ does not optimize the quantization around a fixed calibration corpus, it is designed to generalize beyond calibration-specific data and workloads. This repository contains the 27B-parameter Qwen3.8 model quantized with Coded Quantization (CQ) 4-bit. Lower mean KL divergence indicates closer agreement between the quantized model's output distribution and the original model. Top-1 agreement measures how often the quantized model and original model select the same…

Read ThousandML's full model card

27B-parameter base model · Coded Quantization (CQ) 4-bit

Note on Hugging Face's model-size display: Hugging Face may report roughly 3B stored parameters for this repository because CQ stores the weights in a packed 4-bit representation. The underlying model is Qwen3.8-27B (27B parameters). The smaller number reflects the packed storage tensors counted by the Hub, not the parameter count of the original model architecture.

Qwen3.8 27B quantized to 4-bit with Coded Quantization (CQ).

ThousandML: https://thousandml.com

CQ is a calibration-free 4-bit quantization method designed to preserve the behavior of the original model without requiring a calibration dataset. Because CQ does not optimize the quantization around a fixed calibration corpus, it is designed to generalize beyond calibration-specific data and workloads.

This repository contains the 27B-parameter Qwen3.8 model quantized with Coded Quantization (CQ) 4-bit.

Quantization fidelity

CQ 4-bit · Qwen 3.8 27B · WikiText Raw

Metric Result
Mean KL divergence 0.0282
Top-1 agreement 92.4%

Lower mean KL divergence indicates closer agreement between the quantized model's output distribution and the original model. Top-1 agreement measures how often the quantized model and original model select the same highest-probability next token.

Why CQ?

Calibration-free. CQ does not require a representative calibration dataset before quantization.

This avoids tying the quantization procedure to a particular calibration corpus and is intended to provide better generalization beyond the data that would otherwise have been used for calibration.

4-bit inference. Model weights are quantized to 4-bit for substantially lower weight memory requirements than BF16/FP16 deployment.

Native vLLM integration. CQ models run through the CQ vLLM quantization plugin and custom CUDA kernels included in the Thousandml CQ Docker image.

Model

Base model Qwen/Qwen3.8-27B
Original model parameters 27B
HF displayed stored tensor count May appear as ~3B due to CQ 4-bit packing
Quantization Coded Quantization (CQ) 4-bit
Calibration None — calibration-free
Runtime vLLM + CQ custom kernels
Quantization name cq_quant

Run with Docker

The recommended way to run this model is with the CQ Docker image, which contains the compatible vLLM installation, CQ quantization plugin, and CQ CUDA kernels.

1. Make sure NVIDIA Docker support works

docker run --rm --gpus all \
  nvidia/cuda:13.0.2-base-ubuntu22.04 \
  nvidia-smi

Your GPU should appear in the output.

2. Start Qwen3.8-27B-CQ-4bit

docker run --rm --gpus all \
  -p 8000:8000 \
  docker.io/thousandml/cq:4bit-main \
  vllm serve thousandml/Qwen3.8-27B-CQ-4bit \
  --quantization cq

The model is then available through vLLM's OpenAI-compatible API on port 8000.

WSL2

If you are running Docker through WSL2 and vLLM reports that UVA is unavailable, enable vLLM's WSL2 pinned-memory support:

docker run --rm --gpus all \
  -e VLLM_WSL2_ENABLE_PIN_MEMORY=1 \
  -p 8000:8000 \
  docker.io/thousandml/cq:4bit-main \
  vllm serve thousandml/Qwen3.8-27B-CQ-4bit \
  --quantization cq

Send a request

Once the server is ready:

curl http://localhost:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "thousandml/Qwen3.8-27B-CQ-4bit",
    "messages": [
      {
        "role": "user",
        "content": "Explain quantization in one paragraph."
      }
    ]
  }'

Hugging Face authentication

For higher Hugging Face Hub rate limits, pass your Hugging Face token into the container:

docker run --rm --gpus all \
  -e HF_TOKEN="$HF_TOKEN" \
  -p 8000:8000 \
  docker.io/thousandml/cq:4bit-main \
  vllm serve thousandml/Qwen3.8-27B-CQ-4bit \
  --quantization cq

On WSL2, combine it with:

-e VLLM_WSL2_ENABLE_PIN_MEMORY=1

About Coded Quantization (CQ)

Learn more at https://thousandml.com.

Coded Quantization (CQ) is a calibration-free quantization approach for efficient LLM inference.

Traditional post-training quantization methods can depend on a calibration dataset to estimate quantization parameters. The resulting quantization can therefore be influenced by the distribution and composition of that calibration data.

CQ removes that calibration-data requirement. The goal is to retain strong fidelity to the original model while allowing the quantized representation to generalize beyond any particular calibration corpus.

For this Qwen3.8 27B checkpoint, the CQ 4-bit model achieves:

  • 0.0282 mean KL divergence on WikiText Raw
  • 92.4% top-1 agreement with the original model on WikiText Raw
  • No calibration dataset required

Base model

This checkpoint is derived from Qwen/Qwen3.8-27B, a 27B-parameter Qwen3.8 model.

Please refer to the original Qwen model card for architecture details, capabilities, usage guidance, limitations, and upstream licensing information.

License

The base model is released under the Apache 2.0 License. See the repository license and the original Qwen model card for applicable terms.

Configuration

Architecture
Qwen3_5ForConditionalGeneration
Context length (tokens)
262,144
Layers
64
Hidden size
5,120
Feed-forward size
17,408
Attention heads
24
Key/value heads
4
Head dimension
256
Vocabulary size
248,320
Model type
qwen3_5
Quantization
cq

Identity and Version

Repository
thousandml/Qwen3.8-27B-CQ-4bit
Publisher
ThousandML
Task
Image and text to text
Modality
Image and text
Library
Not stated by the source
Parameters
2.6B parameters
Languages
cq
Revision
98df5a6d54d22e774ce6804430b92722f53d5e6c
First published
2026-08-17
Last updated
2026-10-16

Files and Weights

36 files, 18.0 GB in total. The weights are 20 files totalling 18.0 GB in safetensors.

Weights20 files · 18.0 GB
Configuration7 files · 485.1 KB
Tokenizer4 files · 22.9 MB
Documentation2 files · 17.1 KB
Other2 files · 9.2 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00018.safetensorsWeights44.5 MB 06686c143afc
model-00002-of-00018.safetensorsWeights2.2 MB 4450aa346b36
model-00003-of-00018.safetensorsWeights2.5 GB 2e1bf62cbcd4
model-00004-of-00018.safetensorsWeights4.4 MB 5341a7258fd6
model-00005-of-00018.safetensorsWeights2.2 MB 08a5c3559fdd
model-00006-of-00018.safetensorsWeights5.4 MB d3073dc00cea
model-00007-of-00018.safetensorsWeights1.1 MB 89c290b6a751
model-00008-of-00018.safetensorsWeights5.4 MB 935fb2f2e756
model-00009-of-00018.safetensorsWeights1.1 MB 3b5a33ec3789
model-00010-of-00018.safetensorsWeights5.4 MB 2211500b5dd6
model-00011-of-00018.safetensorsWeights1.1 MB c92b8fabc26c
model-00012-of-00018.safetensorsWeights5.4 MB 7190dc762741
model-00013-of-00018.safetensorsWeights1.1 MB 5ef73fe2c6c0
model-00014-of-00018.safetensorsWeights5.4 MB 66ada65ceb51
model-00015-of-00018.safetensorsWeights1.1 MB 2ce7650ab191
model-00016-of-00018.safetensorsWeights5.5 MB 3a8845ffa87b
model-00017-of-00018.safetensorsWeights1.1 MB 561f32fff448
model-00018-of-00018.safetensorsWeights2.5 GB d7895a768504
quantization_data/cq-00001-of-00002.safetensorsWeights10.8 GB 4084e09fc46f
quantization_data/cq-00002-of-00002.safetensorsWeights2.0 GB 00a17c8e72bb
config.jsonConfiguration3.8 KB —
generation_config.jsonConfiguration202 B —
model.safetensors.index.jsonConfiguration112.2 KB —
preprocessor_config.jsonConfiguration390 B —
quantization_data/_layers.jsonConfiguration19.9 KB —
quantization_data/cq_shards.jsonConfiguration348.3 KB —
video_preprocessor_config.jsonConfiguration385 B —
LICENSEDocumentation11.5 KB —
README.mdDocumentation5.5 KB —
chat_template.jinjaOther9.0 KB —
crc32.txtOther238 B —
.gitattributesRepository1.6 KB —
merges.txtTokenizer3.4 MB —
tokenizer.jsonTokenizer12.8 MB 0997f410c57a
tokenizer_config.jsonTokenizer17.9 KB —
vocab.jsonTokenizer6.7 MB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
18.0 GB
Download from ThousandML

Released by ThousandML through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published18.0 GB
16-bit5.2 GB
8-bit2.6 GB
4-bit1.3 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About Qwen3.8-27B-CQ-4bit

How much GPU memory does Qwen3.8-27B-CQ-4bit need?

About 6.2 GB at 16-bit and 1.6 GB at 4-bit: the weights (2.6B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run Qwen3.8-27B-CQ-4bit on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use Qwen3.8-27B-CQ-4bit commercially?

Yes. Qwen3.8-27B-CQ-4bit is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is Qwen3.8-27B-CQ-4bit's context length?

262,144 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Image and text to text

Cosmos-Reason2-2B

NVIDIA

NVIDIA Cosmos Reason 2 is an open, customizable, 2B-parameter reasoning vision language model (VLM) for physical AI and robotics that enables robots and vision AI agents to reason like humans, using prior knowledge, physics understanding and common sense to understand and act in the real world. This model understands space, time, and fundamental physics, and can serve as a planning model to reason what steps an embodied agent might take next. New features with Cosmos Reason 2: Enhanced physical AI reasoning with improved spatio-temporal understanding and timestamp precision. Supports object detection with 2D/3D point localization and bounding box coordinates with reasoning explanations and…

Access requested at publisher other 2.4B parameters cosmos

Model · Image and text to text

ProcVLM-2B

Youhe Feng

ProcVLM-2B is a procedure-grounded vision-language model for estimating progress rewards from robot manipulation observations. Given a task description and a recent window of video frames, the model reasons about the remaining atomic actions and predicts the current task completion percentage. ProcVLM-2B is designed for research on robot learning, progress reward modeling, embodied evaluation, and procedure-aware video understanding. Typical use cases include: - estimating task completion progress from robot videos; - producing dense progress rewards from sparse demonstrations; - adapting progress prediction to a new environment with one-shot LoRA fine-tuning. This model is not intended to…

Open weights cc-by-4.0 2.4B parameters 262,144 tokens transformers

Model · Image and text to text

RynnBrain-2B

DAMO Academy

[2026.02.02] Release RynnBrain family weights and inference code. - [2026.02.02] Add cookbooks for cognition, localization, reasoning, and planning. RynnBrain aims to serve as a physics-aware embodied brain: it observes egocentric scenes, grounds language to physical space and time, and supports downstream robotic systems with reliable localization and planning outputs. - Comprehensive egocentric understanding Strong spatial comprehension and egocentric cognition across embodied QA, counting, OCR, and fine-grained video understanding. - Diverse spatiotemporal localization Locates objects, target areas, and predicts trajectories across long episodic context, enabling global spatial…

Open weights apache-2.0 2.4B parameters 262,144 tokens transformers

Model · Image and text to text

InternVL3.5-2B-MMBU-RFT

Nitiz Khanal

A full fine-tune of OpenGVLab/InternVL35-2B-HF (vision tower, projector and LLM all trained) on rejection-sampled, verified answers from public biomedical datasets. No MMBU data was used, and every training image passes a pHash near-duplicate check against the MMBU public images. - RFT data. The base model answered public classification, fine-grained, detection and counting questions 6 times each. Only answers that verified against the ground truth were kept. Hint-rationalized answers were added for unsolved questions, and box-answer rows were excluded. - Metadata supervision (about 30% of the mix). Targets are modality, submodality, specimen, body part, stain and medical domain. Medical…

Open weights apache-2.0 2.3B parameters 40,960 tokens

Model · Image and text to text

Qwen3.5-2B

Qwen

Over recent months, we have intensified our focus on developing foundation models that deliver exceptional utility and performance. Qwen3.5 represents a significant leap forward, integrating breakthroughs in multimodal learning, architectural efficiency, reinforcement learning scale, and global accessibility to empower developers and enterprises with unprecedented capability and efficiency. For more details, please refer to our blog post Qwen3.5. WMT24++: a harder subset of WMT24 after difficulty labeling and rebalancing; we report the averaged scores on 55 languages using XCOMET-XXL. Empty cells (--) indicate scores not yet available or not applicable. Scores of Qwen3.5 models are reported…

Open weights apache-2.0 2.3B parameters 262,144 tokens transformers

Model · Image and text to text

Rax-4.5

RaxCore

Over recent months, we have intensified our focus on developing foundation models that deliver exceptional utility and performance. Rax 4.5 represents a significant leap forward, integrating breakthroughs in multimodal learning, architectural efficiency, reinforcement learning scale, and global accessibility to empower developers and enterprises with unprecedented capability and efficiency. Rax 4.5 features the following enhancement: For more details, please refer to our blog post Rax 4.5. WMT24++: a harder subset of WMT24 after difficulty labeling and rebalancing; we report the averaged scores on 55 languages using XCOMET-XXL. Empty cells (--) indicate scores not yet available or not…

Open weights apache-2.0 2.3B parameters 262,144 tokens transformers