Галоўная / Артыкулы / Qwen3.8-Flash-Next: A 177B Model That Runs on One 24GB GPU

Артыкул апублікаваны на англійскай мове.

Qwen3.8-Flash-Next: A 177B Model That Runs on One 24GB GPU

How Qwen3.8-Flash-Next fits a 177B mixture-of-experts model onto modest hardware with 6B active parameters, an n-gram table and hybrid attention, plus its benchmark gaps.

2137 слоў

Why a 177B model matters to people with one GPU

Qwen3.8-Flash-Next, released by Alibaba's Qwen team, has the knowledge capacity of a frontier system and the per-token compute of a 6B model small enough for a phone. By several measurements it now beats Claude Opus 4.6 at agentic coding. Hauling 100+ GB of weights home instead of calling an API only makes sense once you understand what the model is, so this piece covers what it is, why it shipped now, how it compares with rivals, and how it manages to run on a single 24GB GPU.

Release timing and the "Next" label

Qwen3.8-Flash-Next arrived on August 26, 2026, the third Qwen release in three weeks:

| Model              | Released | Role                           | API price (per M tokens) |
|--------------------|----------|--------------------------------|--------------------------|
| Qwen3.8-Max        | Aug 3    | Frontier flagship, 2.4T MoE    | $2.00 / $6.00            |
| Qwen3.8-27B        | Aug 14   | Dense model for local use      | self-hosted              |
| Qwen3.8-Flash-Next | Aug 26   | Cost tier + architecture probe | $0.16 / $0.47            |

The "Next" suffix is the confusing bit. It's Qwen's brand for research previews. The original Qwen3-Next, from September 2025, introduced a hybrid attention design that went on to power every Qwen release for the following year. Flash-Next does the same job for what follows, which is Qwen4. The launch blog says the team is releasing the architectural changes early so the community can examine them before the full Qwen4 family is built on top.

That statement matters more than any benchmark. Plenty of labs publish papers months after weights, if they publish at all. Qwen ships working weights first, lets everyone break them, and builds its next generation from whatever survives.

"Flash" is the cost-tier brand. Flash-Next costs $0.16 per million input tokens and $0.47 per million output tokens, about 12 times cheaper than Qwen3.8-Max on both. By Qwen's account, training it cost roughly a ninth of what the previous Plus-tier model needed. So why now? The architecture is ready, the economics work, and the community gets an early look at Qwen4's skeleton.

What it is, in plain terms

On paper it has 125B main parameters, a 51B "n-gram embedding" table and a 4B multi-token prediction head, about 180B stored in total. For each generated token, only around 6B of them do any math. Imagine a library holding 177 gigabytes of books where the librarian opens six pages per question. The building is huge and the work per answer is small.

Keep three figures apart, because Qwen officially sells this as a 125B model: about 180B stored, a 125B network, and 6B active per token. The roughly 180B is everything on disk, meaning the 125B network, the 51B lookup table (Qwen counts those two at about 176B together) and a small look-ahead head. Only the 125B is "the model" in the usual sense of weights that compute.

The 51B table does no arithmetic. It's frozen memory, ready-made representations of common word patterns fetched by address. More shelves make the house bigger without adding residents.

Three parts make this work.

The main brain (125B, mixture-of-experts). Every layer contains 512 experts, but a token only wakes up 10 of them, roughly 2% of the total. This is where the actual reasoning is done.

The cheat sheet (the 51B n-gram table). Of the three, this one got the most attention. Instead of learning every phrase from scratch, the model keeps 20 million precomputed lookups for common word patterns. A lookup costs almost no compute, because the address is known before the token shows up, so hardware can fetch it ahead of time while the main brain works. Users have summed it up as a big crib sheet for frequent short phrases, which lets the small active core spend its effort on the harder thinking.

The look-ahead head (4B MTP). This small module predicts several future tokens at once and speeds up generation when a serving framework uses it for speculative decoding. Support in local runtimes such as llama.cpp is still arriving.

Then there's attention, meaning how the model remembers what you said, and this is where Flash-Next gets inventive:

  • Gated DeltaNet layers (36 of 48) squeeze everything seen so far into a fixed-size running summary. It's like keeping one sticky note up to date instead of rereading the whole conversation, and memory doesn't grow with context length.
  • The other 12 layers use Qwen Sparse Attention, which looks things up exactly, though it only searches a limited set of blocks instead of the full sequence.

The launch blog compresses it to one line: GDN efficiently "remembers," while QSA precisely "retrieves."

The result is that the KV cache, the memory hog that cripples long-context inference on ordinary models, stays tiny even at 262K tokens. That length is supported natively, and YaRN can stretch it toward 1M. It's the first reason this model runs on hardware that shouldn't have been able to hold it.

Hardware that can run it

Official footprints: BF16 needs 335GB, FP8 needs 173GB, and a 4-bit GGUF takes roughly 82 to 111GB depending on the quantization. Unsloth's list ranges from a 72.5GB IQ1_S to a 111GB Q4_K_XL.

According to Qwen, a 4-bit build is meant for machines in the 128GB range (Mac Studio, DGX Spark, Strix Halo), keeping the n-gram table in ordinary system RAM. There's a catch. When the model launched, the officially supported way to offload that table worked on NVIDIA only, so people on Apple Silicon had to rely on community builds.

| Setup                            | Quant   | What fits where                          |
|----------------------------------|---------|------------------------------------------|
| DGX Spark / Mac Studio (128GB)   | 4-bit   | Weights split, n-gram in unified RAM     |
| Single RTX 3090 + big system RAM | 2-4 bit | Attention on GPU, experts + table in RAM |
| Multi-GPU server (72GB+ VRAM)    | 4-bit   | Most weights in VRAM, table in RAM       |

The single-GPU row sounds impossible, and it gets its own section below.

Benchmarks: a three-way fight

A warning first. The model was nine days old when this was written, and nearly every benchmark figure is reported by the vendor, with independent verification still catching up. Treat all of it as provisional.

The contenders are Flash-Next, its smaller sibling Qwen3.8-27B (a dense model), DeepSeek V4 Flash 0731 (its direct rival in price tier) and Claude Opus 4.6 (the frontier reference):

| Benchmark     | Flash-Next | Qwen3.8-27B | DeepSeek V4F | Claude Opus 4.6 |
|---------------|------------|-------------|--------------|-----------------|
| SWE-bench Pro | 62.5       | 61.7        | 56.0         | 53.4            |
| DeepSWE 1.1   | 58.7       | 42.2        | 54.4         | -               |
| NL2Repo-Bench | 48.1       | 42.3        | 54.2         | 47.6            |
| CoWorkBench   | 73.9       | 70.7        | 45.1         | 68.2            |
| GPQA Diamond  | 91.7       | 89.2        | 90.8         | 91.3            |
| HLE           | 35.9       | 30.8        | 33.8         | 40.0            |

The table reads best in three passes.

First, the upset. SWE-bench Pro measures real agentic software engineering: reading repositories, writing patches, running tests and iterating. A model priced at $0.16 per million tokens scores 62.5 against 53.4 for Claude Opus 4.6. That nine-point gap sits on the benchmark that matters most for coding agents, and the cheapest model in the field takes it.

Second, the losses. There are two honest ones. On NL2Repo-Bench, which tests repository-level code generation from natural language, DeepSeek leads 54.2 to 48.1. On HLE, the frontier-reasoning test, Opus is ahead 40.0 to 35.9. So this is a specialist with two visible gaps, and not a universal replacement.

Third, independent confirmation, and the number to trust most. Artificial Analysis puts the model's Intelligence Index at 56, against 50 for DeepSeek V4 Flash. Even without Qwen's own figures, leadership in the open-weight cost tier has changed hands.

On speed, DeepSeek still wins API serving, at about 108 tokens per second versus roughly 88 for Flash-Next. The community's view is that the Flash-Next inference stack just isn't tuned yet, and the gap should close within months.

What the community reports

Praise falls into three groups: the agentic-coding jump (DeepSWE 1.1 climbed from 16.5 to 58.7 relative to Qwen's previous Plus model, a 3.6x gain), price-to-performance, and a design friendly to local use. One user put it neatly: you can offload 50GB of the PLE table to NVMe, and on size against performance Qwen wins.

The complaints are just as informative:

  • It thinks a lot. On one user's "build me a game" task it needed about 80 minutes on modest hardware, against 22 minutes for Qwen3.8-27B on the same machine. Deeper reasoning plus slower decoding means wall-clock time can surprise you.
  • Quantization hurts it more than it hurts rivals. On a single DGX Spark at low bit-rates, several testers saw DeepSeek come out ahead, since the architecture isn't yet optimized for quantized inference.
  • Computer use is still a coin flip. The full-success rate on OSWorld 2.0 is 19.4%. It progresses on most tasks and rarely finishes cleanly, so don't leave it unattended on your desktop.
  • The license isn't Apache 2.0. This checkpoint ships under qwen-community-1.0, which is fine for personal use, but read the terms before any commercial deployment.

It's too good to be a mere preview and too rough to be a final product, which is just what an architecture probe should be.

Does it really run on one 24GB GPU?

At first glance the claim looks impossible. A model of roughly 177B parameters can't fit 24GB of VRAM, even at the smallest quantization of about 72GB. Yet people have reported it working:

| Setup                          | Quant   | Result                          |
|--------------------------------|---------|---------------------------------|
| Single RTX 3090 + 256GB RAM    | Q4_K_XL | ~25 tok/s at short context      |
| RTX 5070 Ti (16GB) + 85GB RAM  | IQ3_XXS | ~20 tok/s decode, 130 prefill   |

The mechanism is the earlier design pushed to its limit.

Only 6B parameters are active per token. The GPU's job, attention plus a few experts, fits in 16 to 24GB. Everything else can live elsewhere without breaking anything, because none of the rest does any math at that moment.

The 51B cheat sheet sits in system RAM or on SSD. Lookups are deterministic. Since each address is computable ahead of the token, entries can be pulled in the background while the GPU is busy computing. In llama.cpp terms, a single flag pins that table in CPU memory.

The dormant experts stay in RAM as well. A --n-cpu-moe style offload keeps unselected experts out of VRAM, and only the roughly 10 chosen per token get touched.

The KV cache is small, because 36 of the 48 layers hold a fixed-size summary rather than keys and values that grow with context. One tester reported using just 16GB of VRAM at the full 262K context.

The catch is system RAM bandwidth. Dual-channel DDR5 moves about 90 gigabytes per second, while an RTX 3090's memory bus moves 936. Whenever part of the active weights sits in system RAM, that slower pipe sets the ceiling, which is why these setups land at a usable but unspectacular 7 to 25 tokens per second.

Think of the GPU as the chef and system RAM as the pantry. This model needs very few ingredients per dish, and it can fetch most of them slowly.

What to watch

Anyone running models locally should keep an eye on it. The IQ4_XS build is about 90GB. Open questions for hands-on testing: throughput at several context lengths, output quality compared directly with Qwen3.8-27B, and whether the extra thinking time pays off in everyday work instead of benchmark suites. The design is a hint at the direction cost-tier models are taking everywhere: less compute spent per token, more stored knowledge per byte, and memory needs that a normal workstation can meet.