groundy
Models & Research

Running Qwen4-35B-A3B Locally: What 3.8B Active Parameters Hide

Qwen4-35B-A3B requires planning for 56B total parameters, not 3.8B active. Vendor data suggests PLE tables may reside in host RAM, making system memory the critical budget.

Published 7 references
On this page10 sections

Qwen4-35B-A3B’s vendor-reported ~3.8B active parameters, from the Alibaba Qwen Team’s launch post, describe computation per token, not a memory budget. The same post reports ~35B main parameters plus ~20.5B Per-Layer N-gram Embedding parameters, or PLE, for ~56B total. For local planning, budget for that total across GPU VRAM and host RAM, then add the context cache and runtime overhead.

Converted directly from the vendor’s parameter counts, the weights-only planning figures are roughly 112 GB at BF16 or 56 GB at 8-bit precision. Those are arithmetic estimates, not measured footprints, and neither is automatically a VRAM requirement. Evidence from Qwen’s predecessor shows that this family’s n-gram tables can instead be held in host memory and prefetched. The defensible pre-purchase answer is therefore a system-memory range and a runtime verification plan, not a GPU size inferred from “3.8B active.”

What the active-parameter number leaves out

Qwen4-35B-A3B was released on 2026-12-04 under Apache-2.0. The vendor describes native text, image and video input, text output, and a 1M-token context window. Its Mixture-of-Experts design uses 256 routed experts, with ~3.8B parameters active per token.

That active count is useful for forming expectations about per-token computation. It does not describe how many parameters the system must store. Different tokens can select different experts, so the weights needed to serve the model remain part of the deployment even when they are inactive for a particular token. The PLE tables add a second, separate pool of capacity.

The opposite interpretation also goes too far: ~56B total parameters does not imply that every token reads all ~56B weights. MoE routing and embedding lookups are sparse. The total determines a capacity problem; which weights are touched, where they reside, and how efficiently their operators run determine the performance problem. For a local installation, that shifts attention from a simple active-parameter compute estimate toward weight bandwidth, host-to-device data movement and kernel coverage.

A weights-only memory worksheet

The calculation is deliberately plain:

resident bytes ≈ parameter count × bytes per parameter

Using the vendor-reported parameter groups, decimal GB, and the simplifying assumption that every parameter in a column has the same precision:

Weight groupParametersBF16, 2 bytes each8-bit, 1 byte eachUniform 4-bit illustration, 0.5 bytes each
Main model~35B~70 GB~35 GB~17.5 GB
PLE tables~20.5B~41 GB~20.5 GB~10.3 GB
Total, using the vendor’s rounded total~56B~112 GB~56 GB~28 GB

The total row multiplies the vendor’s rounded ~56B total, so it need not exactly equal the sum of the separately rounded component rows. These are capacity estimates, not precise checkpoint sizes.

Several exclusions matter more than another decimal place:

  • No attention key/value cache is included.
  • No Gated DeltaNet recurrent state or QSA indexer state is included.
  • Activations, runtime buffers and other implementation overhead are excluded.
  • No allowance is made for mixed precision within a checkpoint.
  • No claim is made that a runtime keeps every weight on the accelerator.

The 4-bit column is especially easy to misread. It answers only, “What if all ~56B parameters were stored at four bits?” The launch post lists BF16, FP8, OMLX and GGUF checkpoints, as well as a Multi-Token Prediction drafter for GGUF and OMLX, but the available documentation does not establish how each format stores the PLE tables. A GGUF label alone cannot justify budgeting ~28 GB.

Likewise, ~56 GB of 8-bit weights is not a recommendation to buy a GPU with approximately that capacity. It leaves the cache and runtime overhead unbudgeted, and some or all of the weights may belong in host RAM instead.

VRAM or host RAM? Check the runtime, not the nickname

The strongest counter-evidence to an all-in-VRAM assumption comes from Qwen’s own predecessor report. It describes Qwen3.8-Flash-Next as a 125B-parameter model with 6B activated per token and another 51B parameters of n-gram tables “held off the accelerator.” The report says those tables are prefetched from host memory, adding capacity with negligible additional per-token FLOPs and latency.

Those are predecessor figures, not Qwen4-35B-A3B measurements. In particular, Qwen4-35B-A3B’s PLE allocation is vendor-reported as ~20.5B, not 51B. What transfers is the design possibility: table placement is a systems choice. Host placement is not automatically a performance failure, but neither can it be assumed for every Qwen4 runtime.

That produces two planning cases:

  • If the runtime places the tables on the accelerator, use the applicable full-checkpoint estimate as the starting VRAM line, then add cache and overhead.
  • If it keeps the tables in host RAM, move that portion of the capacity estimate into the host-memory column. The accelerator still needs whatever main weights, recurrent states, indexer states and buffers the implementation retains.

An independent n-gram study reinforces the host-memory framing: it describes a 797 GB table sized to saturate node host RAM, serving backbones of up to 1B parameters. That example is not a sizing guide for Qwen4. It shows that n-gram capacity can be budgeted explicitly as system RAM rather than assumed to be accelerator memory.

Compression is a separate question. The predecessor’s original tables were already FP8, and research on low-bit n-gram embeddings found that further compression saved 47–55% of table memory with little change in perplexity or downstream performance. This demonstrates that the tables are a distinct compression target. It does not show that Qwen4’s shipped GGUF, FP8 or OMLX artifacts apply that compression.

Why the 1M context needs its own budget

The decoder is hybrid rather than a stack of conventional full-attention layers. According to the vendor’s architecture description, a four-layer pattern repeats ten times: three Gated DeltaNet layers followed by one Qwen Sparse Attention, or QSA, layer. That implies 30 Gated DeltaNet layers and 10 QSA layers; those layer totals are derived from the stated pattern, not separately published counts.

The distinction matters because the cache behaves differently:

  • The Gated DeltaNet-2 paper explains that linear attention replaces softmax attention’s unbounded cache with a fixed-size recurrent state, giving constant-memory decoding for that mechanism.
  • Qwen’s QSA description says its indexer selects up to 512 four-token groups, or up to 2,048 selected tokens, plus at most three trailing tokens.

The fixed recurrent state means the Gated DeltaNet layers do not contribute an attention cache that grows with every context token. QSA’s selection cap bounds the tokens selected for attention, but it is not a published byte figure for the stored key/value state. The growing-context cache question therefore concentrates in the QSA path, while its actual memory cost remains undocumented for this model.

The transformers documentation for Qwen4-Exp, a sibling architecture, supplies concrete behavior to check rather than behavior to assume:

  • PLE table shards loaded through split_ngram_parts are concatenated into one runtime weight.
  • Cache cropping is unsupported when PLE or QSA is enabled.
  • During cache offloading, Gated DeltaNet, PLE and QSA indexer states remain on device, while attention key/value states are offloaded.

That last point is easy to miss: enabling cache offload does not necessarily make every context-related state leave the GPU. And because this documentation concerns Qwen4-Exp, it should become a set of tests for Qwen4-35B-A3B, not be quoted as confirmed behavior for it. No published documentation quantifies this model’s cache footprint at its maximum context.

Day-0 support is a checklist, not a footprint

The vendor names transformers, llama.cpp, Llama App, vLLM, SGLang and MLX in its day-0 support announcement. That establishes intended availability, not uniform maturity or a known memory layout.

Experience with the predecessor explains why the distinction matters. FlashNext-RL reports that vLLM 0.31 supported Qwen3.8-Flash-Next, budgets that model’s n-gram table at roughly 95.4 GiB in host memory, and says the family’s memory requirements and model-specific operators made work difficult with existing open-source implementations. This was an RL systems study, not a Qwen4 local-inference benchmark. Its 95.4 GiB line item must not be imported into Qwen4’s worksheet, but it shows why a supported model can still require implementation-specific memory planning.

For each runtime below, verify the Gated DeltaNet recurrence, QSA indexer and PLE lookup paths. If you intend to use Multi-Token Prediction, verify drafter support separately; its availability in a checkpoint family is not evidence of a throughput gain on your machine.

RuntimeLaunch status and useful evidenceWhat to verify before purchasing hardware
transformersNamed in the day-0 announcement. The sibling Qwen4-Exp documentation provides the cache and table-loading behavior described above.The actual Qwen4-35B-A3B implementation, checkpoint component precisions, PLE device placement, supported cache type, and which states remain on device during offload.
llama.cpp / Llama AppBoth are named in the day-0 list, and GGUF artifacts are listed among the shipped checkpoints.Whether the selected GGUF contains and quantizes the PLE tables, whether the build implements GDN/QSA/PLE operations, and how its context cache behaves. Do not infer table size from the main-model bit width.
vLLMNamed as supported, but the vendor post supplies no launch command or memory figure, instead directing readers to the engine documentation.The exact version supporting this model, required configuration, PLE placement, host-memory usage, cache handling and model-specific kernel coverage. Predecessor support in one version does not establish Qwen4 behavior.
SGLangAlso named as supported, with the same pointer to external engine documentation and no published footprint.The same version, operator and memory-placement questions. A shared vendor announcement does not establish that SGLang and vLLM make identical placement or quantization choices.
MLXThe launch announcement includes MLX, but its own section says official mlx-lm language-model support is “on its way to the official repository,” while demonstrating an mlx-community 4-bit text checkpoint. The same section says oMLX supports “PLE offloading to SSD,” which partially answers the placement question for that path. MLX is also absent from the post’s TL;DR and Inference Support lists.Whether the required support has landed in the repository you intend to use, what the text checkpoint omits for multimodal work, and how PLE tables are quantized and placed on each path; the vendor’s SSD-offload statement covers oMLX. Treat the day-0 wording and pending-support wording as a real status discrepancy.

None of these rows supports a speed ranking. The launch material’s one performance datapoint is vendor-reported: a 22% generation-speed increase from Multi-Token Prediction with three draft tokens on an Apple Silicon M5 with the Q4 quant. It offers no cross-runtime throughput comparison and no measured memory footprints with which to declare one runtime cheapest or fastest.

What I would verify before buying

I would select the runtime and checkpoint before selecting the GPU. Then I would obtain an actual load on the intended software stack, inspect where the PLE tables and model states reside, and record both accelerator and host memory at a representative context. That is a bounded verification step, not an assurance that any particular capacity will be sufficient.

The decision changes with the workload:

  • For an experimental local deployment, use the worksheet as a system-memory starting point. Keep the VRAM and host-RAM columns separate until the runtime’s placement is known.
  • For a deployment that depends on 4-bit GGUF or OMLX, do not budget from the uniform 4-bit illustration until the artifact’s treatment of the PLE tables is documented or inspected.
  • For a deployment that must guarantee operation at the maximum context on launch-day evidence, wait for measurements or test the exact setup first. The fixed-size Gated DeltaNet state does not quantify the QSA cache, offload buffers or runtime overhead.

The strongest limitation is that Qwen4-35B-A3B launched on 2026-12-04 and has no independent memory, throughput or quality measurements in the available evidence. Every architecture figure is vendor-reported; the capacity figures here are multiplication, not observation.

The useful rule is consequently narrower than a single VRAM number: plan around ~56B resident parameters somewhere in the system, then make the runtime prove where they live and what its supported kernels and cache implementation add.

Frequently Asked Questions

How much memory do the Qwen4-35B-A3B weights require at BF16 and 8-bit precision?

Converted directly from the vendor’s parameter counts, the weights-only planning figures are roughly 112 GB at BF16 or 56 GB at 8-bit precision. Those are arithmetic estimates, not measured footprints, and neither is automatically a VRAM requirement.

Can the PLE tables be stored in host RAM instead of GPU VRAM?

The strongest counter-evidence to an all-in-VRAM assumption comes from Qwen’s own predecessor report. It describes Qwen3.8-Flash-Next as a 125B-parameter model with 6B activated per token and another 51B parameters of n-gram tables “held off the accelerator.” The report says those tables are prefetched from host memory, adding capacity with negligible additional per-token FLOPs and latency.

Which runtimes are supported for Qwen4-35B-A3B at launch?

The vendor names transformers, llama.cpp, Llama App, vLLM, SGLang and MLX in its day-0 support announcement. That establishes intended availability, not uniform maturity or a known memory layout.

References

Follow the links in the article for context. The supporting material is collected here for further reading.

  1. Alibaba Qwen Team’s launch posthuggingface.coAccessed
  2. Qwen3.8-Flash-Next reportarxiv.orgAccessed
  3. Independent n-gram studyarxiv.orgAccessed
  4. Research on low-bit n-gram embeddingsarxiv.orgAccessed
  5. Gated DeltaNet-2 paperarxiv.orgAccessed
  6. Qwen4-Exp transformers documentationhuggingface.coAccessed
  7. FlashNext-RL reportsarxiv.orgAccessed

Join the discussion

Share a useful perspective or ask a question about this article.

Discussion guidelinesComments privacy