Nandai AI
Sign In
GGF-13 · QWEN 4 35B-A3B UD-IQ2_XXS (9.00 GIB) FOR 16 GB MACS & 12–16 GB GPUS

Qwen 4 35B-A3B UD-IQ2_XXS: 9.00 GiB Footprint, 1.55 GB/tok Active Reads & 16 GB MacBook Air Fit

UD-IQ2_XXS compresses the 35B MoE backbone to 9.00 GiB (~2.06 bpw) with 1.55 GB/token active reads, unlocking 1M-class hybrid Qwen 4 intelligence inside standard 16 GB MacBooks and 12–16 GB GPUs.

Roofline Math Disclosure: 77.4 tok/s on 120 GB/s M4 reflects theoretical peak (120 / 1.55); sustained speed on 16 GB unified Macs also reflects occasional NVMe demand-paging for cold Engram rows.

GGF-13 · Qwen 4 35B-A3B MoE · 16 GB Sweet Spot⌘9 Model Manager

OS-Aware Studios & Tools

Verify memory fit before downloading weights, or launch zero-upload browser studios on macOS, Windows, and Linux:

02 · Hardware Memory-Bandwidth Roofline & KV Matrix

Exact Weight GiB, Active GB/Token, KV Scaling & Bandwidth Ceilings

Calculated for Qwen 4 35B-A3B UD-IQ2_XXS (2.06 bpw effective, 9.00 GiB wired backbone, 1.55 GB/token active read, 40 MiB/1K FP16 QSA KV + 0.25 GiB GDN state, Host-RAM Engram).

Hardware TierQuant / ModeWeight GiBActive GB/tokKV @ 32KKV @ 128KKV @ 1MRoofline tok/sResidency Fit
MacBook Air / mini M4 (24 GB)Qwen4 35B-A3B UD-IQ2_XXS9.00 GiB1.55 GB/tok1.50 GiB5.25 GiB40.25 GiB77.4 tok/s (120 GB/s)Fits 128K+ residency · Engram 0 MB VRAM
Mac mini / MBP M4 Pro (48 GB)Qwen4 35B-A3B UD-IQ2_XXS9.00 GiB1.55 GB/tok1.50 GiB5.25 GiB40.25 GiB176.1 tok/s (273 GB/s)Fits 128K+ residency · Engram 0 MB VRAM
MacBook Pro M4 Max (128 GB)Qwen4 35B-A3B UD-IQ2_XXS9.00 GiB1.55 GB/tok1.50 GiB5.25 GiB40.25 GiB352.3 tok/s (546 GB/s)Fits 1M full residency · Engram 0 MB VRAM
Mac Studio Ultra (192 GB)Qwen4 35B-A3B UD-IQ2_XXS9.00 GiB1.55 GB/tok1.50 GiB5.25 GiB40.25 GiB528.4 tok/s (819 GB/s)Fits 1M full residency · Engram 0 MB VRAM
NVIDIA RTX 3090 (24 GB)Qwen4 35B-A3B UD-IQ2_XXS9.00 GiB1.55 GB/tok1.50 GiB5.25 GiB40.25 GiB603.9 tok/s (936 GB/s)Fits 128K+ residency · Engram 0 MB VRAM
NVIDIA RTX 4090 (24 GB)Qwen4 35B-A3B UD-IQ2_XXS9.00 GiB1.55 GB/tok1.50 GiB5.25 GiB40.25 GiB650.3 tok/s (1008 GB/s)Fits 128K+ residency · Engram 0 MB VRAM
NVIDIA RTX 5090 (32 GB)Qwen4 35B-A3B UD-IQ2_XXS9.00 GiB1.55 GB/tok1.50 GiB5.25 GiB40.25 GiB1156.1 tok/s (1792 GB/s)Fits 128K+ residency · Engram 0 MB VRAM
Variant / ModeMemory / ThroughputRecommended Hardware Configuration
UD-IQ2_XXS Backbone (~2.06 bpw)9.00 GiB GPU + 0 MB VRAM Engram16 GB MacBook Air / Mac mini M4 / 12–16 GB GPUs
Hybrid KV (32K–64K Q8_0)0.91 – 1.58 GiB (incl. 0.25 GDN)Fits 11.5 GiB practical 16 GB Metal pool
20.5B Engram Host/NVMe Cache~6.50 – 11.60 GiB System/APFS mmapLazy POSIX mmap() pages on demand

Section 01 · GGF-13

Why 2.06 bpw Vector Codebooks Recover Coherence Inside 16 GB RAM

Doubling expert codebook entropy from 1.75 to 2.06 bits crosses a major perplexity knee for sparse 256-expert MoE models.

In 256-expert Mixture-of-Experts checkpoints, each individual routed expert holds relatively few parameters (~125M–135M weights per expert slice). Stepping up from 1-bit (IQ1_M) to 2-bit importance-calibrated IQ2_XXS (2.0625 bpw, 66 bytes per 256 weights plus sub-scales) expands representable vector codebook states exponentially while adding only 1.40 GiB to the wired GPU backbone (9.00 GiB vs 7.60 GiB).

Because UD-IQ2_XXS retains Q4_K–Q6_K precision across the 10 QSA attention layers, 30 Gated-DeltaNet blocks, router gates, and shared expert, multi-turn instruction following and structured Markdown/JSON output become substantially cleaner than Q1—making it the viable floor for 16 GB MacBook Air and Mac mini M4 owners.

From a pure information-theory perspective, IQ2_XXS encodes groups of 8 weights using 2.0625 bits per parameter (66 bytes per 256 weights) paired with an importance matrix (imatrix) so high-gradient channels inside Qwen 4’s routed experts preserve dynamic range. That extra 0.31 bpw over Q1 eliminates frequent token repetition loops on multi-turn summaries.

Roofline / Allocation EquationIQ2_XXS_Total_16GB = 9.00 GiB (Backbone) + 0.91 GiB (32K Q8_0 KV + 0.25 GDN) + 0.75 GiB (Scratch) = 10.66 GiB <= 11.5 GiB Pool

Section 02 · GGF-13

120 GB/s Fanless MacBook Air M4 vs 153 GB/s M5 & 12 GB RTX Cards

Sparse 1.55 GB/token active reads keep even entry 120 GB/s laptops well above human reading speed.

A dense 14B Q4_K_M model (9.00 GiB) reads all 9.00 GB per token, capping a 120 GB/s MacBook Air M4 at 13.3 tok/s theoretical peak. Qwen 4 35B-A3B UD-IQ2_XXS occupies the exact same 9.00 GiB GPU residency yet reads only 1.55 GB per token across 8+1 active experts—lifting the 120 GB/s MacBook Air ceiling to 77.4 tok/s theoretical (roughly ~43–52 tok/s after realistic ~60% Metal efficiency!).

On 16 GB NVIDIA RTX 4060 Ti / 5060 Ti cards (~14.8 GiB usable VRAM, 288–448 GB/s), UD-IQ2_XXS fits completely inside GDDR VRAM with 64K–128K Q8_0 KV headroom while leaving Host RAM to stream the 20.5B Engram table cleanly over PCIe.

Note also the 12 GB discrete GPU angle (e.g., RTX 3060 12 GB at 360 GB/s or RTX 4070 12 GB at 504 GB/s): 9.00 GiB UD-IQ2_XXS plus 0.91 GiB (32K Q8_0 KV + GDN) plus 0.75 GiB CUDA workspace totals 10.66 GiB—fitting inside ~11.2 GiB usable 12 GB VRAM with Host-RAM Engram offloading at 232–325 tok/s theoretical peaks.

Verification & Runtime Flagsllama-server -m Qwen4-35B-A3B-UD-IQ2_XXS.gguf -c 65536 -ctk q8_0 -ctv q8_0 -fa on -ot "engram=CPU" -ngl 99

Section 03 · GGF-13

Handling the 20.5B Engram Table on 16 GB Unified Memory Systems

On 16 GB unified Macs, lazy APFS NVMe mmap() avoids locking all 20.5B Engram pages in wired RAM.

Discrete 12 GB GPU + 32 GB Desktop RAM systems keep the entire quantized 20.5B Engram table (~6.5–11.6 GiB) pinned in host DDR5 while leaving GPU VRAM exclusively for the 9.00 GiB backbone. On a 16 GB Unified Memory Mac, locking both 9.00 GiB wired Metal weights and 11.6 GiB Engram into RAM simultaneously would exceed 16 GB physical RAM.

Instead, read-only POSIX mmap() leaves cold Engram rows backed on high-speed Apple APFS NVMe (~3–6 GB/s) and keeps only hot lexical clusters inside macOS dynamic buffer cache (~1.5–2.5 GiB), allowing 16 GB Macs to stay responsive while drawing on the full 20.5B Engram knowledge index.

Section 04 · GGF-13

When 24 GB–32 GB Hardware Justifies Stepping Up to UD-IQ3_S

If your Mac has 24 GB+ RAM or your GPU has 24 GB VRAM, UD-IQ3_S supersedes UD-IQ2_XXS.

While UD-IQ2_XXS shines on 12 GB–16 GB systems, anyone running a 24 GB M4 Pro, 24 GB RTX 3090/4090, or 32 GB Mac mini should choose UD-IQ3_S (12.90 GiB) or UD-IQ4_XS (20.40 GiB). Higher codebook resolution sharply reduces edge-case hallucinations on obscure coding APIs and long-horizon math chains.

Compare 16 GB vs 24 GB residency margins at /tools/gguf-vram-calculator and explore lightweight Web Studio companions at /writing-engine and /seo-engine.

Interactive Sizing & Browser Studios

Verify Exact Memory Margins Before Downloading Multi-Gigabyte GGUFs

Plug your exact hardware SKU, KV quantization (--cache-type-k / -v), and context length into our zero-upload GGUF VRAM & Roofline Calculator. Explore full model cards at /models and Apple Silicon tier breakdowns at /apple-silicon, or draft and audit content inside /writing-engine and /seo-engine.

05 · Technical FAQ (1:1 JSON-LD Parity)

Qwen 4 35B-A3B UD-IQ2_XXS — Frequently Asked Questions

Can Qwen 4 35B-A3B UD-IQ2_XXS run on a 16 GB MacBook Air or Mac mini M4?

Yes. At 9.00 GiB for the wired MoE backbone plus 0.91 GiB for 32K Q8_0 KV + Gated-DeltaNet state, it fits inside the ~11.5 GiB practical Metal pool using lazy NVMe Engram paging.

How fast is UD-IQ2_XXS compared to a dense 14B Q4_K_M model of the same 9 GiB size?

Because Qwen 4 35B-A3B activates only 1.55 GB/token versus 9.00 GB/token for dense 14B, UD-IQ2_XXS enjoys a 5.8x higher memory-bandwidth ceiling on the exact same RAM budget.

What is the theoretical M4 Pro 273 GB/s roofline for UD-IQ2_XXS?

273 GB/s divided by 1.55 GB active read/token gives a 176.1 tok/s theoretical ceiling.

Should 24 GB MacBook Pro or RTX 3090 owners download UD-IQ2_XXS or UD-IQ3_S?

Download UD-IQ3_S (12.90 GiB) on 24 GB Macs and GPUs—it fits easily while delivering substantially stronger 3.15 bpw coding and reasoning precision.

Founder Pro $9.99/mo · 67% Off1-tap Stripe Checkout · Instant ?ref= Free Months · 40% Recurring Partner Payouts
1. Subscribe in 1 TapFOUNDER_999_LOCK

Unlock All 19 Pro Studios + Mac App

Lock $9.99/mo Founder Pro (reg. $29.99 — 67% off), $119/yr Web Annual (-34%), or $299/yr 5-Mac + Web Pro.

Redeem Code
2. Get 6 Months FreeZERO OTP

Mint Your ?ref= Link Instantly

Give friends 67% off ($9.99/mo). Every paid friend adds 30 days of Pro free to your account (up to 6 months).

Dashboard: /refer · Rules

3. Creator & Publisher Cash90-DAY COOKIE

Earn 40% Monthly · 30% Annual

Earn 40% recurring monthly until cancel + 30% annual & every renewal, or embed our free tools with data-ref.