Qwen3.5-4B-Base, MLX, 6-bit

A 6-bit MLX quantization of Qwen/Qwen3.5-4B-Base (affine, group size 64). The download is 3.2 GB, for on-device inference on Apple Silicon.

Only the weights are quantized. This is not a fine-tune, so the behaviour is the base model's.

The smaller sibling is Robin1333k/Qwen3.5-2B-Base-MLX-6bit, quantized the same way.

Intended use

Built for AutoComplete, a system-wide inline text-prediction app for macOS. The model continues what you are typing, a few words at a time. These conventions matter if you want the same behaviour:

  • Pass the raw prefix, with no chat template and no BOS. It is a base model. A chat template makes it answer questions instead of continuing text.
  • Strip trailing whitespace before encoding (a flush prefix) and reconcile the leading space when you render, so foo and foo give the same prompt.
  • Decode greedily (temperature 0) with a repetition penalty of 1.15, and stop at the first clause boundary after content.

chat_template.jinja ships as it came from the original model.

Measurements

All numbers below come from AutoComplete's own evaluation in October 2026. The comparison point is the 2B sibling above. Each model ran alone on one Apple Silicon Mac with 32 GB of memory. Older or 8 GB Macs were not measured.

Suggestion quality

The evaluation replayed the app's decode settings and output filters on held-out text and counted how many words of each suggestion a typist would accept (higher is better). The sign test is two-sided and exact, on accepted words per start, ties dropped.

corpus language 2B this model starts better / worse p
held-out prose (351 starts) German 0.383 0.521 21 / 6 0.006
held-out prose English 0.636 0.734 23 / 9 0.020
held-out prose both 0.512 0.632 44 / 15 0.0002
split-author (192 starts) German 0.312 0.427 10 / 3 0.092
split-author English 0.760 0.854 10 / 6 0.454
split-author both 0.536 0.641 20 / 9 0.061

Consecutive cuts of one held-out text share their prefix, so the held-out p-values overstate the evidence. The split-author corpus takes its cuts from different sentences and is the cleaner test.

Latency

Measured in-process with mlx-swift-lm 3.31.3 on 40 short prompts, each predicted twice. First token is the prefill plus the mean per-step decode time. A full suggestion is at most 24 tokens.

model first token P50 / P90 full suggestion P50 / P90 load from the file cache
Qwen3.5-2B-Base 6-bit 75 / 82 ms 161 / 316 ms 2.6 s
Qwen3.5-4B-Base 6-bit (this) 131 / 145 ms 245 / 405 ms 2.6 s

Memory

state measured
MLX active memory after load 3260 MB
process memory (phys_footprint) after load, in the app about 3.4 GB
process memory during a predict with a 512-token prompt, in the app 4416 MB
process memory after the app's idle cache flush about 3.4 GB

The 2B needs about 1.5 GB of MLX memory after load. The in-app numbers come from a macOS virtual machine.

Languages

Measured in English and German. German stays the weaker language at this size, though it gains the most over the 2B (0.38 to 0.52 accepted words per start on the held-out prose).

Provenance

Converted from the official Qwen/Qwen3.5-4B-Base weights with MLX: 6 bits, group size 64, affine. The licence is Apache 2.0, inherited from the base model (see the licence link above). All credit for the model belongs to the Qwen team. This repository adds a quantization and a measurement, nothing more.

Downloads last month
128
Safetensors
Model size
4B params
Tensor type
U32
路
BF16
路
F32
路
MLX
Hardware compatibility
Log In to add your hardware

6-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 馃檵 Ask for provider support

Model tree for Robin1333k/Qwen3.5-4B-Base-MLX-6bit

Quantized
(41)
this model