Analysis AI

6 min read · Dec 5, 2026

Qwen4-35B-A3B: 3B Active, 1M Context, $0.36 per Million Output Tokens, Yet Its 37GB 4-Bit Build Outgrows a 32GB RTX 5090

Alibaba Qwen's Apache-2.0 mixture-of-experts model runs 3B parameters per token across a native 1,048,576-token window, yet its 57B total weights inflate the Ollama 4-bit download to 37GB, past a single 32GB RTX 5090.

6 min read Checked Dec 5, 2026 6 primary sources

Specifications come from Qwen's model card and Hugging Face's Dec 4, 2026 launch post; benchmark scores come from Qwen's official chart; quantized download sizes from Ollama; API pricing from Qwen Cloud; desktop GPU street prices from Tom's Hardware's tracker (Dec 3, 2026). Win tallies, percentages and token breakevens are calculated directly from those figures.

The short version

VERDICT // SUMMARY

Qwen4-35B-A3B brings Qwen3.8-Flash-Next-level agent and software-engineering scores under an Apache-2.0 license while pricing hosted output at $0.36 per million tokens. On Qwen's 12 published evaluations, it splits 6-6 with Qwen3.8-Flash-Next and defeats the dense Qwen3.8-27B in 10 of 12 tests, including a 3.8x lead on Terminal Bench 4.1. For local buyers, size hardware by the 37GB 4-bit footprint (57B stored weights) instead of the 3B active count: on a single 24GB or 32GB consumer GPU, the $6,499 street price of an RTX 5090 equals roughly 18.05 billion hosted output tokens on Qwen Cloud.

KEY NUMBERS // VERIFIED READOUT 4 METRICS AUDITED
  • Hosted output price

    $0.36/M

    $0.06 input and $0.003 cached input (95% off) on Qwen Cloud with 128K to 256K output.

    qwencloud.com, Dec 5

  • Native context

    1.05M

    1,048,576 tokens across text, image and video under an Apache-2.0 license.

    Qwen model card, Dec 4

  • Benchmark split

    10-1-1

    Beats dense Qwen3.8-27B on 10 of 12 tests; ties 6-6 against Qwen3.8-Flash-Next.

    Qwen official chart, Dec 4

  • Ollama 4-bit size

    37GB

    57B total weights exceed a 32GB RTX 5090 before KV cache fits in VRAM.

    ollama.com, Dec 5

Why the 35B label hides a 57B memory bill

Qwen4-35B-A3B pairs sparse per-token compute with a much larger memory footprint than its name implies. Each generated token executes only 3B parameters (5.3% of total weights), yet the model file carries 57B stored parameters once its 20B n-gram embedding table and 2B multi-token prediction (MTP) heads are included alongside the 35B main backbone.

That gap splits deployment economics in two. On hosted servers, 3B active parameters drive Qwen Cloud output down to $0.36 per million tokens. On a home workstation, every expert and embedding table still has to reside in memory, pushing the default 4-bit Ollama download to 37GB and leaving single 24GB and 32GB desktop GPUs short before context KV cache even starts.

Architecture and license breakdown

Specification Qwen4-35B-A3B verified detail
Parameter structure 35B main, 3B active per token, plus 20B n-gram embedding and 2B MTP (57B total weights)
Layers and experts 40 layers; 256 experts with 8 routed plus 1 shared active per token
Attention layout 3 of every 4 layers use Gated DeltaNet (linear attention); every 4th uses Qwen Sparse Attention
Native context 1,048,576 tokens
Modalities Text, image and video input
License Apache-2.0
Published formats BF16, FP8, GGUF (Q4_K_M, Q6_K, Q8_0), MLX

Hugging Face’s Dec 4 launch post cites approximately 3.8B active and 56B total parameters, whereas Qwen’s model card specifies 3B active and 57B total. Under either count, compute cost tracks a 3B to 4B model while RAM demand tracks a 56B to 57B checkpoint.

Official benchmark matrix across 12 evaluations

Benchmark Qwen4-35B-A3B Qwen3.8-Flash-Next Qwen3.8-27B Inkling2 Mini
DeepSWE v1.1 (software engineering) 61.8 58.7 42.2 48.2
Terminal Bench 4.1 21.2 24.2 5.6 5.6
FrontierCode-AA 2.0 16.1 27.1 14.9 15.1
NL2Repo 51.7 48.1 42.3 41.8
Work360 42.9 43.7 37.1 30.4
APEX Agents v1.1 59.0 61.0 47.5 50.9
AA-Briefcase v1.1 (Elo) 1486 1567 1391 1263
AutomationBench-AA 57.9 55.9 48.2 41.8
HealthBench Professional 47.4 34.8 29.8 45.7
GPQA 86.9 91.7 89.2 86.9
Chartography 27.8 24.6 27.8 22.1
VideoIndex 52.9 51.4 51.9 44.0

Against Qwen3.8-Flash-Next (whose parameter size Qwen did not publish in the card), Qwen4-35B-A3B splits 6 wins and 6 losses. Wide swings run in both directions: Qwen4 trails by 11.0 points on FrontierCode-AA 2.0 (40.6% lower) while leading by 12.6 points on HealthBench Professional. Against the dense Qwen3.8-27B, Qwen4 wins 10 tests, ties 1 (Chartography at 27.8) and loses 1 (GPQA at 86.9 vs. 89.2), with Terminal Bench 4.1 jumping 3.79x from 5.6 to 21.2.

Memory tiers and published serving speed

Build Download size Minimum single-box target
BF16 (full precision) 114GB One H200 141GB (Hugging Face test setup)
Q4_K_M (Ollama default) 37GB Exceeds a 32GB RTX 5090 or 24GB RTX 4090; needs 48GB+ VRAM or 64GB unified RAM
NVFP4 (MLX, Apple) 36GB Unified-memory Mac with capacity above 36GB plus KV cache headroom

Sizes above reflect Ollama’s published listings; Hugging Face did not list ggml-org GGUF file sizes on the launch page. For step-by-step quantization flags and multi-GPU offloading, see the Qwen4-35B-A3B llama.cpp GPU setup guide and which mini PC runs Qwen4-35B-A3B.

Published throughput numbers cover server H200 runs and relative Apple Silicon speedups:

Runtime and hardware Single-request speed Concurrent throughput (64 requests)
vLLM on 1x H200 (BF16, MTP 2 draft tokens) ~330 tok/s, ~90 ms TTFT ~2,660 output tok/s
SGLang on 1x H200 (BF16, MTP 2 draft tokens) ~260 tok/s, ~80 ms TTFT ~2,180 output tok/s
llama.cpp on Apple M5 (Q4, MTP 3 draft tokens) +22% faster decode vs. no MTP (absolute tok/s unpublished) Single-stream test only

Desktop GeForce RTX benchmark numbers were not published in either Qwen’s model card or Hugging Face’s launch post.

Local GPU capex vs. Qwen Cloud API economics

Deployment option Verified cost (Dec 3 to 5, 2026) Capacity and token breakeven
Qwen Cloud API $0.06/M input, $0.36/M output, $0.003/M cached input Full model, up to 128K output (256K thinking)
GeForce RTX 5090 (32GB) $6,499 street ($1,999 launch MSRP) Cannot hold 37GB Q4_K_M alone; street cost buys 18.05B API output tokens
GeForce RTX 4090 (24GB) $4,799 street 13GB short of Q4_K_M weights alone; street cost buys 13.33B API output tokens

Even at the $1,999 launch MSRP of an RTX 5090, hardware spend equals 5.55 billion Qwen Cloud output tokens before electricity or host memory. At the $6,499 Dec 3 street price tracked by Tom’s Hardware, buying a card solely for Qwen4 pays for 18.05 billion output tokens while still failing to hold the 37GB 4-bit build in VRAM on its own. Caching drops Qwen Cloud input rates by 95% to $0.003 per million tokens. Local deployment makes sense for strict offline privacy, zero-egress compliance or pooling existing 64GB unified-memory systems (such as splitting 8-bit Qwen4 across two mini PCs with llama.cpp RPC), not for lowering token bills against $0.36/M hosted output.

What is verified vs. what remains unverified

  • Verified from primary docs: 35B main / 3B active / 57B total weights (3.8B / 56B in Hugging Face’s post), 40 layers, 256 experts (8 routed plus 1 shared), 3:1 Gated DeltaNet to Qwen Sparse Attention ratio, 1,048,576 native context, text/image/video modalities, Apache-2.0 license, Ollama 114GB BF16 / 37GB Q4_K_M / 36GB NVFP4 sizes, Qwen Cloud rates ($0.06 / $0.36 / $0.003 per M tokens, 128K/256K output), H200 vLLM/SGLang speeds, M5 +22% MTP delta, and Tom’s Hardware Dec 3 GPU street prices.
  • Vendor-reported without third-party audit: All 12 benchmark scores in Qwen’s chart and all H200/M5 throughput numbers.
  • Unpublished at launch: Qwen3.8-Flash-Next parameter count, absolute Apple M5 tokens/sec, and independent RTX 4090/5090 offload benchmarks.

The verdict

Teams needing Apache-2.0 weights with strong repository-editing and agent performance (61.8 DeepSWE v1.1, 51.7 NL2Repo, 57.9 AutomationBench-AA) should evaluate Qwen4-35B-A3B first on Qwen Cloud at $0.36 per million output tokens, checking FrontierCode-style algorithmic tasks where Qwen3.8-Flash-Next leads by 11.0 points. Local builders should budget for 48GB+ VRAM or 64GB unified RAM to hold the 37GB 4-bit weights plus context rather than buying an inflated 32GB consumer GPU. Track verified inference hardware ratios on The Benchmarque Benchmarks Leaderboard.

The catch: Every benchmark figure and throughput number originates from Alibaba Qwen or Hugging Face’s launch post, and no independent desktop RTX or Apple Silicon absolute speed measurements exist yet.

Building local inference engines or hosting open-weight frontier models? Submit reproducible benchmark data or sponsorship inquiries at thebenchmarque.com/advertise.

LIVE DESK // BENCHMARQUE TOOLS

Track live street prices in the Hardware Market, check Hot Deals, or compare configurations in the PC and Local AI Builder and Benchmarks Leaderboard.

Sources & Primary Filings

6 cited
  1. Qwen: Qwen4-35B-A3B model card huggingface.co
  2. Qwen: Qwen4-35B-A3B benchmark results chart aliyuncs.com
  3. Hugging Face: Qwen4 launch post (Dec 4, 2026) huggingface.co
  4. Qwen Cloud: qwen4-35b-a3b pricing and limits qwencloud.com
  5. Ollama: qwen4 tags and download sizes ollama.com
  6. Tom's Hardware: lowest GPU prices tracker tomshardware.com

The Monday Hardware & AI Briefing

Verified street-price drops, buy-or-wait signals, and reproducible benchmark tables every Monday morning. Zero popups, one-click unsubscribe.

Reader focus

Sponsor a benchmark series or hardware briefing on The Benchmarque. View media kit and sponsorship options.