Qwen4-35B-A3B Hits 512 Tokens per Second on an RTX 5090: How a 57B Model Fits in 32GB of VRAM

Running a 57-billion-parameter multimodal language model on a single consumer graphics card at 512 tokens per second would have sounded unrealistic just a few months ago. With Qwen4-35B-A3B, released under the Apache 2.0 license by Alibaba's Qwen team, a lone NVIDIA GeForce RTX 5090 is now able to hit that figure in single-concurrency decoding.
The result is not a synthetic parlor trick. It comes down to a sparse hybrid design paired with Blackwell's hardware precision formats. The open weights are available directly on the official Qwen4-35B-A3B Hugging Face repository.
Why Qwen4-35B-A3B Actually Weighs 57 Billion Parameters on Disk
The name can catch newcomers off guard. While its Mixture-of-Experts (MoE) backbone indeed holds 35 billion parameters across 256 routed experts per layer, the complete on-disk footprint sits close to 57 billion parameters (56.82B total, or roughly 113.68GB in unquantized BF16 safetensors).
Two auxiliary components account for that extra weight:
- The MoE Core (35B total, ~3B active): For every generated token, only 8 routed experts and 1 shared expert wake up. Because local token generation is heavily bound by memory bandwidth, streaming just 3 billion active parameters per step keeps throughput remarkably high.
- The 20.5B Per-Layer N-gram Embedding (PLE) Table: Often referred to as an "Engram" table, this massive lookup layer stores millions of bigrams and trigrams to sharpen factual recall without bloating matrix compute.
- The 2B Multi-Token Prediction (MTP) Module: Built directly into the architecture to accelerate decoding pipelines and speculative verification.
The model natively handles text, images, and video, backed by a 1-million-token native context window. Instead of relying solely on costly full attention, Qwen4 blends Gated DeltaNet (GDN) linear attention with Qwen Sparse Attention (QSA) to keep the KV cache lean. That same focus on local memory efficiency is shaping broader hardware initiatives, including NVIDIA's Linux-ready RTX Spark local AI systems.
NVFP4, SGLang, and DFlash2: The 512 Tokens/s Blueprint on RTX 5090
Fitting a 113GB BF16 checkpoint into the 32GB of GDDR7 on a GeForce RTX 5090 requires three coordinated optimizations rather than brute force:
- Native NVFP4 Quantization: Blackwell GPUs natively accelerate 4-bit floating point math. Using mixed-precision GPTQ-NVFP4 compresses the heavy MoE layers while keeping sensitive vision, video, and MTP layers in lossless BF16. That leaves enough VRAM headroom for a practical 32K to 64K token context window on a single desktop card.
- Offloading the PLE Table: The 20.5B N-gram embedding table does not need to sit inside GPU memory. Runtimes such as SGLang, vLLM, and llama.cpp offload or memory-map it to system RAM or an NVMe SSD, leaving VRAM dedicated to active experts and the KV cache.
- DFlash2 Speculative Decoding in SGLang: Pairing SGLang with the DFlash2 draft model (RadixArk/Qwen4-35B-A3B-Dflash2) proposes multiple tokens in parallel and verifies them in a single forward pass. That combination is what pushes single-user throughput up to 512 tokens per second.
That structural split also pays dividends outside flagship desktops. With GGUF builds supported by llama.cpp, LM Studio, and Unsloth, users can offload the PLE table to storage and run Qwen4-35B-A3B comfortably on everyday 24GB or 32GB RAM laptops, albeit at far lower speeds than a GeForce RTX 5090 running full throttle.
My Field Notes
Watching open-weight models evolve overnight, this release feels like a genuine inflection point. For a long time, breaking past 100 tokens per second locally meant settling for tiny models or wiring up a multi-GPU rig. By decoupling factual lookup memory (the offloadable PLE table) from active compute (3B parameters in hardware NVFP4), Alibaba's Qwen team found a way to make consumer 32GB Blackwell cards punch far above their weight class. For developers and gamers turning their desktop rigs into local AI workstations, the speed gap with cloud APIs just narrowed dramatically.













