Alibaba’s Quen 3.8 flash next, a 180 billion parameter AI model, runs on a desktop with a 12 GB GPU by using Strata software to manage a tiered memory system that leverages GPU memory, system RAM, and SSD storage, activating only a small subset of parameters at a time through a sparse mixture of experts architecture. This approach, combined with CPU involvement and multi-token prediction, enables efficient performance despite limited GPU memory, though it requires substantial system resources and involves trade-offs between speed and accuracy.
Alibaba’s Quen 3.8 flash next is a massive AI model with 180 billion parameters that can surprisingly run on a desktop equipped with a 12 GB GPU, specifically an RTX 5070. However, the GPU alone does not handle the entire workload. Instead, a community-developed software called Strata orchestrates the model’s operation by leveraging not just the GPU’s video memory but also the system’s RAM and SSD storage. This approach offloads significant computation to the CPU and uses a tiered memory system to manage the enormous model size, enabling the desktop to handle a model that far exceeds the GPU’s memory capacity.
The 180 billion parameters are not processed all at once. Quen 3.8 flash next uses a sparse mixture of experts architecture, where only a small subset of the model’s parameters—around 6 billion backbone parameters—are activated for each token generated. The rest of the parameters include a large lookup table and a drafting head that assist in speeding up token prediction by caching common sequences and proposing candidate tokens. This design means the GPU only computes a fraction of the model at any time, while the full model is stored across GPU memory, system RAM, and SSD, with the SSD holding the large lookup table accessed on demand.
Strata divides the model storage into three tiers: the GPU holds base layers and a cache of frequently used expert weights, system RAM stores the remaining expert weights, and the SSD contains the large lookup table. When the model requires weights not cached on the GPU, the CPU processes them in system RAM, and the SSD supplies specific rows of the lookup table as needed. This tiered system minimizes data transfer overhead and allows the model to run efficiently despite the limited GPU memory, effectively turning the rest of the computer into a cooperative compute resource.
Performance-wise, on a test setup with a 12 GB RTX 5070, Ryzen 5 7600 CPU, and 64 GB RAM, the model achieves around 90 tokens per second on short prompts and about 67 tokens per second on very long contexts. The engine uses multi-token prediction to batch candidate tokens, speeding up generation when drafts are correct. However, these speeds are developer-reported on a specific hardware configuration and do not represent independent benchmarks. Additionally, there is a trade-off between speed and accuracy depending on the compression level of the model weights, with more compressed versions running faster but producing less accurate code fixes.
In summary, running Alibaba’s 180 billion parameter AI model on a 12 GB GPU is feasible due to the innovative use of sparse activation, tiered memory management, and CPU involvement via the Strata software. While this setup is suitable for experimentation on compatible desktops, it requires substantial system RAM and SSD storage and may not replace cloud-based solutions for production use. Users interested in trying this should carefully test both speed and accuracy on their own hardware and workloads to find the best balance for their needs.
Useful Links
- Strata (community inference engine, MIT License) — Directly enables running the model on limited GPU memory by tiered memory management and CPU involvement.
- Strata developer’s speed run results (engine 0.1.14, September 28) — Provides concrete performance data for the model running on a 12GB GPU setup using Strata.
- Qwen3.8-Flash-Next model card on Hugging Face — Describes the model architecture and parameter breakdown essential to understanding the video content.
- ISTA-DASLab’s GSQ-RCO GGUF packages and LiveCodeBench v6 results — Supports claims about accuracy and speed trade-offs for different quantization packages used with Strata.