Qwen3.6-35B-A3B with every routed expert stored at its own precision —
4, 3 or 2 bits — or removed: 7.3 GB of expert storage, 4.7× less than the
8-bit reference, perplexity within 14–15% of it, a task average within
2% of it, the model's program-state tracking intact, and ten major
languages kept within 11–34% of the reference. Loads with the shim shipped
in this repo; everything else is stock mlx_lm.
Niwaki (庭木) are Japan's garden trees, sculpted by meticulous pruning so that every branch serves the form of the whole. This model applies that spirit to a Mixture-of-Experts.
A paper with the full method and measurements is coming soon.
Project page, with the releases and their measurements side by side: niwakiai.com
The v2 line removed three quarters of the experts in layers 10–29 and stored every remaining expert at one precision. v3.0 changes the layout: every layer keeps its full router, and each of the 10,240 routed experts is stored at its own precision — 65 at 4-bit, 1,546 at 3-bit, 5,141 at 2-bit — or removed (3,488; a removed expert's routing slot is dropped). At exactly v2.3-2bit's expert bytes, perplexity falls by 13.5% on WikiText-2 and 14.8% on C4, the task average rises from 0.760 to 0.785 (the reference: 0.796), the tracking and distractor families stay near the reference's level on both evaluation seeds, and all ten major languages read closer to the reference than v2.3-2bit does (see Languages). The one family where v2.3 stays ahead is two-step arithmetic in generation: 0.92–0.93 for v2.3-2bit, 0.48–0.57 here, below the reference's own 0.63–0.68.
Full evaluation protocol: WikiText-2 (145 × 2048-token windows) and C4 (256 × 2048-token windows) perplexity; complete lm-evaluation-harness suites for arc_easy, hellaswag, piqa, winogrande and boolq; gsm8k on 100 problems under lm-eval's default 5-shot prompt (strict match).
| model | expert storage | wt2 ppl ↓ | C4 ppl ↓ | task avg ↑ | retention | gsm8k | generation d2 (avg/min) |
|---|---|---|---|---|---|---|---|
| reference (8-bit) | 34.2 GB | 6.76 | 10.82 | 0.796 | 100% | 0.99 | 0.63 / 0.51 |
| Qwen3.6-23B-A3B-Niwaki-v2.3-4bit-mlx | 11.3 GB (0.331×) | 7.95 | 13.13 | 0.772 | 97.0% | 0.85 | 0.64 / 0.48 |
| Qwen3.6-23B-A3B-Niwaki-v2.3-2bit-mlx | 7.3 GB (0.213×) | 9.02 | 14.51 | 0.760 | 95.5% | 0.85 | 0.60 / 0.44 |
| Niwaki-Qwen3.6-30B-A3B-v3.0-mlx | 10.1 GB (0.294×) | 6.98 | 11.64 | 0.794 | 99.7% | 0.88 | 0.66 / 0.52 |
| Niwaki-Qwen3.6-27B-A3B-v3.0-mlx | 8.9 GB (0.260×) | 7.20 | 11.74 | 0.791 | 99.4% | 0.81 | 0.62 / 0.45 |
| this model | 7.3 GB (0.213×) | 7.80 | 12.37 | 0.785 | 98.6% | 0.80 | 0.59 / 0.43 |
One row per generation at its flagship byte point, all under the protocol above (the first-generation models were re-measured for this table; their own cards carry older 500-sample screens).
| generation | model | expert storage | wt2 ppl ↓ | C4 ppl ↓ | task avg ↑ | retention | gsm8k | d2 (avg/min) |
|---|---|---|---|---|---|---|---|---|
| — | reference (8-bit) | 34.2 GB | 6.76 | 10.82 | 0.796 | 100% | 0.99 | 0.63 / 0.51 |
| v1 | Qwen3.6-27B-A3B-Niwaki-2bit-mlx | 7.5 GB (0.221×) | 9.89 | 14.49 | 0.769 | 96.7% | 0.90 | 0.62 / 0.49 |
| v2 | Qwen3.6-19B-A3B-Niwaki-v2-4bit-mlx | 9.1 GB (0.265×) | 9.42 | 14.75 | 0.742 | 93.2% | 0.43 | 0.80 / 0.56 |
| v2.1 | Qwen3.6-23B-A3B-Niwaki-v2.1-4bit-mlx | 11.3 GB (0.331×) | 8.62 | 14.31 | 0.759 | 95.4% | 0.84 | 0.60 / 0.47 |
| v2.2 | Qwen3.6-23B-A3B-Niwaki-v2.2-4bit-mlx | 11.3 GB (0.331×) | 8.14 | 13.79 | 0.770 | 96.8% | 0.86 | 0.60 / 0.47 |
| v2.3 | Qwen3.6-23B-A3B-Niwaki-v2.3-4bit-mlx | 11.3 GB (0.331×) | 7.95 | 13.13 | 0.772 | 97.0% | 0.85 | 0.64 / 0.48 |
| v3.0 | Niwaki-Qwen3.6-30B-A3B-v3.0-mlx | 10.1 GB (0.294×) | 6.98 | 11.64 | 0.794 | 99.7% | 0.88 | 0.66 / 0.52 |
The line reads left to right as a trade. v1's flagship spent the fewest bytes and held its benchmarks, but lost the model's program-state tracking; v2 cut deeper and lost gsm8k as well; v2.1 bought both back for 1.5× v1's bytes; v2.2 and v2.3 kept that layout and took 7–8% off perplexity through better kept experts and better recovery training. v3.0 changes the layout itself; this model is its smallest size, at about the bytes of v1's flagship and exactly those of v2.3-2bit, and below both on perplexity by 13–21%.
The intact model cannot be cast this small in MLX (2-bit, group 64, is 10.1 GB of expert storage), so the controls at this size are pruned models. The last three columns are our program-state battery (generation accuracy, range over two evaluation seeds): the value a variable holds through two-hop aliasing, the same past a distractor line, and two-step arithmetic.
| model | expert storage | wt2 ppl ↓ | C4 ppl ↓ | task avg ↑ | gsm8k (masked) | two-hop tracking | distractor | two-step arithmetic |
|---|---|---|---|---|---|---|---|---|
| reference (8-bit) | 34.2 GB | 6.76 | 10.82 | 0.796 | 0.99 | 0.98–0.99 | 0.95 | 0.63–0.68 |
| Qwen3.6-23B-A3B-Niwaki-v2.3-2bit-mlx | 7.3 GB (0.213×) | 9.02 | 14.51 | 0.760 | 0.85 (0.85) | 0.98 | 0.98–1.00 | 0.92–0.93 |
| REAP-19B (community; 128 of 256 experts in every layer) | 9.8 GB (0.286×) | 10.94 | 16.43 | 0.734 | 0.89 | 0.97–0.99 | 0.95–1.00 | 0.85–0.90 |
| this model | 7.3 GB (0.213×) | 7.80 | 12.37 | 0.785 | 0.80 (0.72) | 0.97–0.98 | 0.92–0.98 | 0.48–0.57 |
At v2.3-2bit's exact bytes this model reads 13.5–14.8% lower perplexity and a 2.5-point higher task average, with two-hop tracking at the same level; v2.3-2bit keeps two-step arithmetic in generation much higher (0.92–0.93 against 0.48–0.57), the distractor family higher (0.98–1.00 against 0.92–0.98) and gsm8k (0.85 against 0.80; masked 0.85 against 0.72). Pick v2.3-2bit for exact multi-step arithmetic in generation, this model for everything else.
FLORES-200 (devtest; each language's 1,012 sentences in 1,024-token windows, identical tokens for every row), perplexity relative to the 8-bit reference — 1.00 means no loss:
| model | English | Spanish | French | German | Russian | Chinese | Japanese | Korean | Arabic | Hindi |
|---|---|---|---|---|---|---|---|---|---|---|
| this model | 1.11 | 1.16 | 1.17 | 1.21 | 1.19 | 1.19 | 1.25 | 1.34 | 1.29 | 1.27 |
| Qwen3.6-23B-A3B-Niwaki-v2.3-2bit-mlx | 1.33 | 1.33 | 1.35 | 1.41 | 1.37 | 1.36 | 1.47 | 1.55 | 1.53 | 1.43 |
| REAP-19B (community, 9.8 GB of experts) | 1.56 | 22.5 | 19.8 | 42.7 | 232 | 3.83 | 22.6 | 1,415 | 161 | 47.0 |
These ten languages are the ones this model is built to keep; other languages are not protected the same way, and at this size some lose a lot. Of ten further languages we measured, Thai, Malayalam and Punjabi read 1.43–1.50, Belarusian and Hebrew 1.83–1.94, Vietnamese 2.70, Greek 3.13, Azerbaijani 4.50, Turkish 6.20 and Icelandic 13.3.
Task average: the complete test sets of the five benchmarks scored by
per-choice log-likelihood — arc_easy, hellaswag, and piqa report normalized
accuracy (acc_norm); winogrande and boolq report accuracy (acc); the
average is the unweighted mean of the five. Perplexity rows use the full
window protocol above, identical windows for every row, loss in fp32, no
chat template. gsm8k is lm-evaluation-harness's default 5-shot prompt with
greedy decoding and strict answer matching, 100 problems; the 30B row caps
generation at 512 tokens (in raw few-shot completion it can run past its
answer, and mlx_lm's harness adapter applies the stop strings only after
generating), the 27B and 24B rows stop on their own; "masked" reruns
the same problems with the end-of-sequence tokens masked at sampling
(384-token cap). Generation diversity: an 8-prompt battery (code,
reasoning, chat, creative; 600-token sampled generations) scored by bigram
diversity (distinct bigrams / total bigrams; d2 is a diversity statistic,
not a quality score — the reading is closeness to the reference's 0.63 /
0.51), every row measured with the same script, prompts and seeds, the
reference alongside.
| total parameters | 24.1B (from 35.1B; 23.7B in the language model, 0.45B in the vision tower) |
| active parameters per token | at most the reference's ~3.8B (8 routed + 1 shared expert per layer; a removed expert's slot is dropped) |
| layers / routed experts / top-k | 40 / 256 / 8 (every layer keeps its full router) |
| routed experts stored | 10,240: 65 at 4-bit, 1,546 at 3-bit, 5,141 at 2-bit (group 64), 3,488 removed |
| expert intermediate size | 512 (unchanged) |
| backbone precision | 8-bit (untouched) |
| whole-model size on disk | 10.8 GB |
| runs comfortably in | 24 GB unified memory |
This checkpoint stores one quantized expert bank per precision in each
layer, which stock mlx-lm cannot express — load through the shim in this
repo (it builds those banks from config.json, then defers to
mlx_lm.load):
# curl -O https://huggingface.co/neopolita/Niwaki-Qwen3.6-24B-A3B-v3.0-mlx/resolve/main/niwaki_v2_load.py
from niwaki_v2_load import load
from mlx_lm import generate
model, tokenizer = load("neopolita/Niwaki-Qwen3.6-24B-A3B-v3.0-mlx")
print(generate(model, tokenizer, prompt="...", max_tokens=256))
GGUF build for llama.cpp, through the
neopolita-llama.cpp fork at
tag v3.0 or later (it reads this model's per-expert precision):
Niwaki-Qwen3.6-24B-A3B-v3.0-gguf — one 10.8 GB file
within 0.7% of this repo's perplexity on identical tokens, in English and
in each of the ten languages above.
Base model by the Qwen team (Apache 2.0); 8-bit MLX conversion by mlx-community; compression by the Niwaki project, 2026-09.
Have the files? Submit a torrent.
Submit a torrentHave the complete files and permission to share them? Replace the example folder path. The script checks the files, makes a torrent and submits its magnet and checksums. Keep your torrent client seeding. Get your community key from your settings, and read the script before running it.
curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo neopolita/Niwaki-Qwen3.6-24B-A3B-v3.0-mlx ./model-foldermodel-00001-of-00003.safetensors 5.4 GBmodel-00002-of-00003.safetensors 5.4 GBmodel-00003-of-00003.safetensors 67 MB