license: apache-2.0
base_model: OpenUncensored/Qwen4-35B-A3B-Uncensored
base_model_relation: quantized
library_name: gguf
pipeline_tag: image-text-to-text
tags:
- gguf
- qwen4
- moe
- llama.cpp
- quantized
- imatrix
- mtp
- vision-language
- uncensored
- conversational
- strata
- strata-q4-lite
Qwen4-35B-A3B-Uncensored-APEX-GGUF
English | 简体中文
Five APEX-I GGUFs from the OpenUncensored BF16 checkpoint, quantized by alphaZimuth. The five tiers share a BF16 vision encoder and projector for image input and an optional Q8_0 file for native multi-token prediction (MTP). OpenUncensored source checkpoint
Changelog
- 2026-12-04 — Prepared Balanced, Quality, Compact, Mini, and Nano with imatrix calibration and a shared native MTP file.
- 2026-12-05 — Added the BF16 vision encoder and projector. Verified image input with Compact and native MTP enabled.
- 2026-12-06 — Added the 100-task Strata comparison with Quality and UD-Q5_K_XL.
Recommended Versions
Choose Balanced over Quality when the 47.98 GB download fits. It scored slightly higher and decoded faster in the Strata comparison below. Quality uses Q6_K throughout the routed experts and Q8_0 attention projections, with a smaller Q5_0 PLE table. Compact is the smaller general-use option for llama.cpp. Mini and Nano reduce the footprint further.
Available Quantizations
| File | Size | Profile |
|---|---|---|
| APEX-I-Balanced | 47.98 GB | Q6_K routed experts in the first and last five blocks, Q5_K in the middle, Q8_0 shared experts and PLE table |
| APEX-I-Quality | 43.94 GB | Q6_K routed experts, Q8_0 attention projections and shared experts, Q5_0 PLE table |
| APEX-I-Compact | 32.48 GB | IQ4_XS routed gates, Q4_K and Q5_K expert projections, Q4_0 PLE table |
| APEX-I-Mini | 27.84 GB | IQ3_XXS and IQ3_S routed gate and up projections, Q3_K or Q4_K down projections, Q4_0 PLE table |
| APEX-I-Nano | 23.89 GB | IQ2_XXS routed gate and up projections, Q2_K down projections, Q3_K experts in protected blocks, Q4_0 PLE table |
| Native MTP Q8_0 | 2.01 GB | Optional companion with one native MTP layer, shared by all five tiers |
| Vision encoder and projector BF16 | 0.90 GB | 27-layer vision encoder and projector for image input, shared by all five tiers |
The sizes above are on disk in decimal GB. The five main GGUFs can run on their own for text. Use --mmproj for the vision companion and -md for the MTP companion.
Quantization Details
The release uses per-tensor APEX-I recipes tuned for Qwen4's routed and shared experts, attention projections, hyper-connections, and per-layer n-gram embeddings (PLE). The main models, native MTP, and vision weights come from the OpenUncensored BF16 snapshot at revision e347b9c6954e6a2277e6805247cc8497488b2c2a. Pinned BF16 revision
OpenUncensored BF16 checkpoint
├─ Text BF16 GGUF → Q4_K_M calibration build → imatrix
├─ Text BF16 GGUF + imatrix → APEX-I Balanced / Quality / Compact / Mini / Nano
├─ Native MTP BF16 GGUF → separate Q8_0 MTP GGUF
└─ Vision encoder and projector → separate BF16 mmproj GGUF
Calibration processed 546 blocks of 512 tokens for a total of 279,552 tokens. The corpus uses multilingual prose, code, and 137 conversations rendered with the Qwen4 chat template, including tool calls. The run observed 10,234 of 10,240 routed experts (99.94%). Mini and Nano reserve higher precision for boundary blocks and blocks containing unobserved experts. Calibration corpus source
Balanced follows the upstream I-Balanced gradient for routed experts, with Q6_K on blocks 0–4 and 35–39 and Q5_K on blocks 5–34. It uses Q6_K attention projections, Q8_0 shared experts, and a Q8_0 PLE table for this Qwen4 build. Upstream APEX profile definitions
llama.cpp Compatibility and Usage
Use a build that supports Qwen4's qwen4exp architecture and draft-mtp. The text-generation tests used llama.cpp b12973 on Windows. Balanced was tested on CPU. Quality, Compact, Mini, and Nano were tested with an RTX 5090 D v2. Tested llama.cpp release
Download your chosen main GGUF and the MTP companion. Run the following from their directory with the tested Compact settings.
llama-server -m Qwen4-35B-A3B-Uncensored-APEX-I-Compact.gguf \
-md mtp-Qwen4-35B-A3B-Uncensored-Q8_0.gguf \
--spec-type draft-mtp --spec-draft-n-max 3 \
--lazy-mode on -ngl 99 -ngld 99 -ncmoe 18 -c 1024 -np 1 -t 16 -fa on \
--host 127.0.0.1
On Windows, invoke llama-server.exe and put those arguments on one line in PowerShell. --lazy-mode on enables on-demand reads for the large PLE table. The tested CPU expert offload settings (-ncmoe) were 30 for Quality, 18 for Compact and Mini, and 14 for Nano. The Balanced CPU test used -ngl 0 -ngld 0 -ncmoe 40 --fit off. Adjust the offload and context size to suit your available memory.
Image input
Download the BF16 vision file and add --mmproj mmproj-Qwen4-35B-A3B-Uncensored-BF16.gguf to the server command above. With Compact, the image test used -c 2048 --fit off and kept the MTP arguments. Attach an image in the server UI or send an image_url part to /v1/chat/completions. llama.cpp multimodal documentation
Strata
Strata (0.2.26 and newer, through its q4-lite engine) runs Qwen4-35B-A3B. It cannot load these GGUFs as they are: the engine wants the merged tensors split apart (attn_qkv + attn_gate instead of attn_qkv_gate), which is a row-slice, not a re-quantization. The tools ship inside the Strata Terminal; this repository adds a ready script.
| Tier | prefill | decode | VRAM |
|---|---|---|---|
| APEX-I-Balanced | 6292 tok/s | 197.8 tok/s | 22.7 GB |
| APEX-I-Quality | 6100 tok/s | 178 tok/s | 22.7 GB |
| APEX-I-Nano | 3556 tok/s | 252.3 tok/s | 13.0 GB |
Measured on an RTX 5090 D v2 (24 GB) with 62 GB RAM and Windows 11, 32768 context, --kv int8, temperature 0, thinking off, median of three runs.
Compact and Mini do not run in Strata: the engine requires ffn_gate_exps and ffn_up_exps to share one quantization type per layer, and those two tiers mix IQ4_XS/Q5_K and IQ3_XXS/IQ3_S. Loading stops with gate and up differ in type. They need a re-quantization from BF16 with matched gate/up; conversion cannot fix it.
The full steps, a config sample and the one-click script are in STRATA.md (strata\install-apex.ps1).
Pictures: they work. Load mmproj-Qwen4-35B-A3B-Uncensored-BF16.gguf and set the config's model_name to qwen4-35b-a3b-ud-q4_k_xl (or either other UD build name); under any other name Strata silently drops --vision. The one-click script takes -Mmproj:install-apex.ps1 -Gguf ... -Mmproj .\mmproj-...-BF16.gguf.
Limits: Strata does not take this repository's GGUF MTP file (--mtp accepts only Strata's own .strata MTP). Image input works: load this repository's mmproj and set the config's model_name to a UD build name Strata recognises (qwen4-35b-a3b-ud-q4_k_xl and the other two), otherwise Strata silently drops --vision. See the Pictures section of STRATA.md.
Balanced, Quality, and UD-Q5_K_XL
On December 6, 2026, the three models ran the same 100 automatically scored tasks three times at temperature 0. The setup was Strata q4_lite 0.1.74 on Windows 11, an RTX 5090 D v2 (24 GB), 61.6 GB RAM, a 32K context, and INT8 KV. Decode throughput comes from the accompanying speed benchmark.
| Model | Scores by run | Mean / 100 | Decode |
|---|---|---|---|
| APEX-I-Balanced | 84 / 85 / 82 | 83.7 | 253 tok/s |
| APEX-I-Quality | 81 / 81 / 83 | 81.7 | 239 tok/s |
| Unsloth UD-Q5_K_XL (official Qwen base) | 84 / 85 / 82 | 83.7 | 262 tok/s |
Balanced decoded about 5.9% faster than Quality on this setup and matched the UD-Q5_K_XL mean on this suite. The paired McNemar test for the observed 2.0-point lead over Quality returned p = 0.453, so the evidence for a capability difference is limited. Arithmetic and string tasks account for 57 of the 100 items.
Local Verification
The table records accepted MTP drafts over proposed drafts on two short prompts with thinking disabled, temperature 0, and a 1,024-token context. Each tier returned the exact integer list from 1 to 20. The Chinese explanation exceeded the requested single sentence and reached the 160-token output limit on each tier.
| Tier | Integer-list format | Integer-list draft tokens | Chinese explanation draft tokens |
|---|---|---|---|
| Balanced | Pass | 49 / 60 | 90 / 207 |
| Quality | Pass | 49 / 60 | 89 / 208 |
| Compact | Pass | 49 / 60 | 83 / 225 |
| Mini | Pass | 49 / 60 | 90 / 205 |
| Nano | Pass | 49 / 60 | 88 / 207 |
With the BF16 vision companion and the Q8_0 MTP file loaded, Compact correctly identified a red image and a blue image. The image requests accepted 37 / 75 and 37 / 76 MTP drafts, respectively.
SHA256 checksums
| File | SHA256 |
|---|---|
| Balanced | 3a937b9f9dcfe8a42875071786a814e5f941d4b94d3c9e8b2ee91d5830ab49d9 |
| Quality | c53f2f2c94a51119ae83645c70772bdc3952310094d0b2bef1689354a6f3d1d4 |
| Compact | 740db0c660adaa93b55ea7906b4ed1e8598f57750641cb53dad029806588d961 |
| Mini | 83e2c099aa4792f03b8efd75d4be4ff3cd756fe97deb35027fbac1746145bfe9 |
| Nano | 665eb757f45dfca0d431cb2ba29babcef64c830d163099a0e01fe58dd735ab93 |
| Native MTP Q8_0 | 120071663789c0ab1fd2672044e1e6eced6e4ccb53513933a5bb47e4713c40db |
| Vision encoder and projector BF16 | b655d0bee61dd8c7832840d775fc184bf264d606412f1bf19967b5fd2416fead |
Credits and License
Qwen developed the original model, OpenUncensored prepared the BF16 variant, and alphaZimuth produced these APEX-I GGUFs. Qwen4 original checkpoint · OpenUncensored checkpoint
Released under the Apache License 2.0.