[KongchangAI]
· 3 min read· 1,693 words

Qwen 4 35B-A3B Hands-On: Flagship-Level Performance Running Locally

Qwen 4 35B-A3B Hands-On: Flagship-Level Performance Running Locally

Alibaba open-sources Qwen 4 35B-A3B, letting a single consumer GPU run a near-flagship model locally at high speed.

Alibaba has open-sourced Qwen 4 35B-A3B under Apache 2.0, a MoE model with 35B total parameters, only 3B activated per token, and native 1M token context. In testing it reaches 90–150 tokens/s on an RTX 4090 with 4-bit quantization and runs on as little as 18GB of memory. It's the most intelligent model under 150B parameters, scoring 21 on Terminal Bench 4.1, ranking in the top 20% for hallucination rate, and costing about 55 cents per task. Architecturally it packs 256 experts, a 20B-parameter N-gram embedding table, and a multi-token prediction module—about 57B parameters in reality, with the embedding table externalizable to system memory. It excels at creative coding and a real financial reconciliation task, where it found all 12 planted issues with zero false positives, entirely locally. The author says it can't yet fully replace flagship closed-source models, but it represents a clear direction of raising intelligence density with a lower hardware barrier.

Alibaba's New Open-Source Model Hits Flagship Level on a Single GPU

Alibaba has officially released Qwen 4 35B-A3B—an open-source Mixture-of-Experts (MoE) model under the Apache 2.0 license, with 35B total parameters, only 3B activated per token, and native support for a 1 million token context window. According to hands-on testing by a YouTube tech channel, running on an RTX 4090 with Onslaught's dynamic 4-bit quantization, generation speed holds steady above 90 tokens/s—fully local, at zero cost.

Runtime demo

The significance of this number: intelligence density that was previously only available in the cloud has now been compressed into a single consumer-grade GPU. The channel's author states outright that this is the best model currently runnable locally, and considers its overall capability close to GPT-6 Luna level, even surpassing Opus 4.8 on some tasks.

Benchmarks: Small Size, High Scores

According to Artificial Analysis data, Qwen 4 35B is currently the most intelligent model under 150B parameters, with an intelligence index score of 25—about 5 points ahead of Inkling 2 Mini and Qwen 3.8 27B. The most notable gains are in agentic and scientific reasoning—it scores 21 on Terminal Bench 4.1, beating Grok 4.6 and only slightly below Opus 4.8.

Another counterintuitive finding is the hallucination rate. Small models usually lag on factual reliability, but Qwen 4 35B-A3B ranks in the top 20% on this benchmark, even outperforming flagship models like Fable and Astra. In a direct ten-category comparison against Opus 4.8, it wins six—including Deep Sway, Apex Agent, AA Briefcase, and Automation Bench; Opus 4.8 still holds its edge in graduate-level reasoning and repository development.

The cost side is equally aggressive: roughly 55 cents per task, more than 6x cheaper than the previous generation; API pricing is $0.06 per million input tokens and $0.36 per million output tokens.

Local Inference Speed: A Spectrum of Real-World Hardware Tests

The quantization scheme comes from Onslaught, offering both GGUF and MLX formats, and runs with as little as 18GB of memory. Community-reported generation speeds span a wide range of hardware: about 512 tokens/s on an RTX 5090, about 436 tokens/s on an RTX Pro 6000, about 104 tokens/s on a DGX Spark, and about 102 tokens/s on a 16GB Blackwell GPU in expert offloading mode. The RTX 4090's measured range is 90–150 tokens/s.

It's worth noting that these numbers come from different quantization precisions and inference configurations; some are still preliminary results, and the optimization headroom hasn't been fully tapped. But running a model of this caliber at hundreds of tokens/s on consumer hardware is itself a landmark moment for local AI.

Available entry points include the Qwen Cloud API, Qwen Chat's free cloud conversation, the Llama app, various quantized versions on Hugging Face, Onslaught Desktop (dynamic GGUF quantization with automatic offloading), and llama.cpp for local inference. The channel also recommends the World of AI Benchmark tool—enter your hardware model, system memory, and CPU core count to match a suitable quantization size.

Quantization is the technique of compressing model weights from 16-bit floating point to 8-bit, 4-bit, or even lower precision, with the goal of reducing VRAM usage and improving inference throughput. 4-bit quantization typically compresses model size to about a quarter of the original, at the cost of slight precision loss. Onslaught's "dynamic" quantization means different layers or tensors use different bit widths, preserving higher precision for sensitive layers and thereby achieving a better balance between compression rate and quality.

Expert Offloading targets MoE models: when VRAM is insufficient to hold all experts, experts not currently in use are kept in system memory or on disk and loaded into VRAM only when selected by the router. This introduces additional data transfer latency, so the higher the offloading ratio, the more speed is affected. The ~102 tokens/s on a 16GB Blackwell GPU in expert offloading mode mentioned above is exactly this trade-off in action.

Creative Coding Hands-On: From Game Clones to 3D Scenes

Front-end development and visual design were the focus of this round of testing. Under the same prompt compared against GPT-6 Luna's high-reasoning tier, Qwen 4 was 1.8x faster, 34% cheaper, and used 9% fewer tokens. The channel's author specifically notes that it demonstrates a visual aesthetic never seen before in the Qwen series—typography, scroll triggers, dynamic animations, and third-party package usage all land as required.

Generated output screenshot

On 3D generation, a Christmas snow globe scene built with Three.js includes Santa and reindeer animations, snowflake simulation, and detailed modeling—the author calls it the model's best 3D output to date. In an SVG task, it generated a New York City scene of no fewer than 2,000 lines as requested, including day-night cycles, sun-moon transitions, water reflections, and boat movement; another SVG painting reproduction supports environment switching between Twilight and golden hour, with a small animation showcase.

Side-by-side comparisons better illustrate the generational difference. When Qwen 3.8 27B generated a Call of Duty clone three months ago, it had basic animation but many broken features; Qwen 4 35B-A3B's zombie mode clone, produced in a single HTML file, includes plank destruction, material textures, weapon purchases, mystery box animations, and shell casings dropping when firing. The author also notes that even early Gemini models struggled with a Minecraft clone, yet this 35B model now handles water physics, materials, and an inventory system.

Minecraft clone output

Architecture Deep Dive: The Real 57B Size and Externalized Embedding Tables

There's a detail most people overlook: although marketed as a 35B model, it actually contains about 57B parameters once add-ons are counted. The backbone is a 256-expert MoE structure, plus a 20-billion-parameter N-gram embedding table and roughly a 2-billion-parameter multi-token prediction module for accelerated decoding—similar in approach to the DeepSeekAd series.

The real cleverness lies in how the embedding table is managed: this 20-billion-parameter embedding table doesn't need to reside entirely in VRAM and can be placed in DDR5 system memory, with reportedly minimal performance loss. The model can therefore access millions of N-gram and Trigram patterns without bearing the compute overhead of a conventional model of equivalent scale. Qwen 3.8 Flash Next and DeepSeek 4.1 Flash have similar designs, but bringing this technique down to a smaller model means something different—labs are finding smarter ways to expand knowledge capacity rather than scaling up compute requirements proportionally.

Mixture-of-Experts (MoE) architecture is built around on-demand activation: the model internally contains many parallel "expert" subnetworks, and for each token processed, the routing network selects only a few of them to participate in computation. Of Qwen 4 35B-A3B's 256 experts, each token typically activates only a very small number, so although total parameters reach 35B, the compute per forward pass is equivalent to a dense model of roughly 3B. This is the fundamental reason it can still infer at high speed on consumer GPUs, and why "total parameters" and "activated parameters" must be understood as two separate numbers.

The N-gram embedding table is a lookup structure that maps contiguous word sequences to dense vectors. Conventional large models place all embedding parameters in VRAM, whereas Qwen 4 externalizes its ~20-billion-parameter embedding table to DDR5 system memory, reading by index only when needed. Since embedding lookups are sparse accesses with relatively lower bandwidth requirements than matrix multiplication, this tiered strategy of "backbone in VRAM, vocabulary in memory" can drastically reduce VRAM usage with almost no performance loss, enabling hardware with just 18GB of memory to run it.

Agent Hands-On: A Month of Bookkeeping, 12 Issues, Zero False Positives

The most hardcore test was a real financial scenario. The author connected Qwen 4 to Qwen Code, pointed it at a model running on a local GPU, and fed it a design studio's November books: credit card statements, bank transactions, 21 messy receipts, a vendor list, and an expense policy, with the task of completing the month-end close—matching every charge to a receipt, finding all issues, and writing a report. Twelve issues were secretly planted in the books, plus several traps disguised as normal entries.

The model autonomously read the policy, both statements, and all receipts, and found all 12 issues with zero false positives. It identified a $54 overcharge at Staples, and correctly did not flag Slack's 4% price increase—because the policy only flags increases above 10%. The final total matched the author's pre-calculated result to the cent, and it produced a remediation memo ready to hand to the business owner. The whole process took about 10 minutes at roughly 80 tokens/s, with data never leaving the machine and no API calls made.

Objective Assessment: Not a Full Replacement, But the Direction Is Clear

The channel's author is relatively measured: this is not a complete replacement for GPT-6 Luna or other large closed-source models, and there's still a gap especially in complex reasoning and long-horizon agentic tasks. But for everyday coding, automation, and building AI applications, it's already good enough.

What's truly worth watching is Alibaba's architectural direction—no longer simply stacking parameters and compute, but raising intelligence density while lowering the hardware barrier. For developers and enterprises that want to keep sensitive data local, this may be the most pragmatic choice available today.

One-line Summary

Alibaba open-sources Qwen 4 35B-A3B, letting a single consumer GPU run a near-flagship-level model locally at high speed.

Paragraph Summary

Alibaba has open-sourced Qwen 4 35B-A3B under Apache 2.0, a Mixture-of-Experts model with 35B total parameters, only 3B activated per token, and native 1M token context. In testing it reaches 90–150 tokens/s on an RTX 4090 with 4-bit quantization and runs on as little as 18GB of memory. It's the most intelligent model under 150B parameters, scoring 21 on Terminal Bench 4.1, ranking in the top 20% for hallucination rate, and costing about 55 cents per task. Architecturally it packs 256 experts, a 20B-parameter N-gram embedding table, and a multi-token prediction module—about 57B parameters in reality, with the embedding table externalizable to system memory. It excels at creative coding and a real financial reconciliation task, where it found all 12 planted issues with zero false positives, entirely locally. The author says it can't yet fully replace flagship closed-source models, but it represents a clear direction of raising intelligence density with a lower hardware barrier.

#Qwen 4 35B-A3B#Alibaba open-source model#local LLM inference#MoE architecture#RTX 4090 benchmark#AI agent tasks#quantization
Share:

Related articles