# Qwen3\.5\-4B Quantization Explorer

How quantization shrinks the Qwen3\.5\-4B model from FP16 to INT8 and INT4, and what that means for GPU memory

By DUSK

Topic: Computing, AI &amp; Electronics

[Open the interactive Jig](https://ask.jig.com/j/pKEIjFQAmwDK)

## Transcript

### 1. Qwen3\.5\-4B 量化探索器 · Quantization Explorer

This bench holds a real AI model, Qwen3\.5\-4B, and three graphics cards that could run it\. Quantization is the trick that makes a big model small enough to fit\. Drag anywhere to turn the bench\.

Qwen3\.5\-4B is an open model from the Qwen team, shared on Hugging Face\.

### 2. 权重 Weights

An AI model is a huge table of numbers called weights\. Qwen3\.5\-4B has about 4 billion of them\. In FP16, each weight takes 16 bits, which is 2 bytes, so the weights alone need about 8 GB\.

A bit is a single 0 or 1\. Eight bits make one byte\.

### 3. 量化 Quantization

Quantization stores every weight with fewer bits\. INT8 uses 8 bits and INT4 uses only 4\. The same 4 billion weights shrink from 8 GB to 4 GB to 2 GB\. Pick a precision, or tap a key on the selector\.

Same number of weights, fewer bits each\. The model is not retrained from scratch\.

### 4. 精度损失 Precision loss

Fewer bits means fewer possible values\. INT8 has 256 steps and INT4 has only 16, so each weight is rounded to the nearest step\. The red slivers show that rounding error: almost nothing at INT8, easy to see at INT4\.

Good methods keep the damage small, so INT4 models usually still answer well\.

### 5. 显存 VRAM: theory and reality

VRAM is the graphics card's own fast memory\. The dark ring marks the theoretical weight size\. The real stack is taller: the model file holds extra numbers, and running it needs a KV cache, which remembers the conversation, plus working space\.

At FP16 the real file is about 8\.2 GB, and running it takes roughly 9\.5 GB\. Runtime figures here are estimates for a short chat\.

### 6. 4 GB · 8 GB · 12 GB GPUs

Compare three cards\. At FP16 only the 12 GB card can hold the model\. INT8 fits on 8 GB, and INT4 squeezes onto even a 4 GB card\. Red means the model spills over the top\.

Longer chats grow the KV cache, so a tight fit can stop fitting\.

### 7. 推理 Inference

To write each new word, called a token, the chip reads every weight out of VRAM\. Smaller weights mean less data to move, so quantized models often answer faster\. Press run and watch the data flow into each card\.

A card that cannot hold the model cannot run it: its data never arrives\.

### 8. 选择精度 Choose your precision

Quantization is a trade: much less memory and often more speed, for a little precision\. That is how a 4 billion weight model can run on a small graphics card\. Try each precision once more\.
