Alibaba shipped the Qwen3.8 family across two weeks in August 2026. It is two models: a 2.4-trillion-parameter flagship whose weights you can download, and a 27B dense multimodal model small enough for one high-end consumer GPU. Both are open weights. Neither is API-only.
For anyone running models locally, the benchmark table is the less interesting part. The architecture is more useful. Qwen3.8 uses a hybrid attention stack that cuts the VRAM cost of long context by roughly 4x.
What Alibaba released
Two checkpoints, two deployment stories, two licences.
| Qwen3.8-27B | Qwen3.8-Max | |
|---|---|---|
| Parameters | 27,781,427,952 (incl. vision encoder) | 2.4T total, ~95B active |
| Architecture | Dense, hybrid attention | Sparse MoE (512 experts, 10 routed + 1 shared active) |
| Layers | 64 | 92 |
| Hidden size | 5,120 | 8,192 |
| Native context | 262,144 tokens | 262,144 tokens |
| Extended context | up to ~1,000,000 via YaRN | up to ~1,010,000 |
| Input | Text, images, video | Text only |
| Thinking mode | On by default, can be disabled | Mandatory, cannot be disabled |
| Licence | Apache 2.0 | Custom qwen3.8-max licence |
| Released | August 14, 2026 | August 3, 2026 (weights August 12) |
The 27B is the one most people will run. It is Apache 2.0 and natively vision-language, not a text model with an adapter bolted on. The model card calls it a "Causal Language Model with Vision Encoder", and it takes images and video, with video sampled at 2 fps by default. At 27B parameters it fits a single 24–48 GB card once quantized.
Qwen3.8-Max is Alibaba's first Max-class model released as open weights instead of staying behind an API. At 2.4 trillion parameters, though, "open weights" and "runnable" are different things.
Hybrid attention and the KV cache
Both models use the same trick. Instead of making every layer a full attention layer, Qwen3.8 interleaves them in a 3:1 ratio. The 27B's pattern is 16 repetitions of:
3 x (Gated DeltaNet -> FFN) -> 1 x (Gated Attention -> FFN)That is 64 layers, and only 16 of them are real attention layers. The other 48 are Gated DeltaNet, a linear-attention variant that keeps a fixed-size recurrent state per head instead of a per-token key-value cache. A KV cache grows linearly with the tokens you feed the model. A recurrent state is the same size at 1,000 tokens or 1,000,000.
So only 16 layers contribute to the cache that scales with context. The published attention config is 24 query heads, 4 KV heads (grouped-query attention) and head dim 256. At BF16:
- Per token, per attention layer: 2 (K and V) x 4 KV heads x 256 head dim x 2 bytes = 4 KiB
- Across 16 attention layers: 64 KiB per token
- At the native 262,144 context: 16 GiB
If all 64 layers used that config, you would need roughly 64 GiB of KV cache instead of 16 GiB, and about 256 GiB at the 1M ceiling rather than 64 GiB. The DeltaNet layers add a constant overhead of tens of megabytes that does not grow with context.
This is why a 27B model can credibly advertise 262k context for local use. On a full-attention stack of the same depth, the cache alone would be several times the size of the weights.
One caveat. The model card documents the layer pattern and the attention head config, but it does not describe DeltaNet's memory behaviour. That the DeltaNet layers hold a fixed state follows from the layer type, not from a claim on the card. Treat the 4x figure as a well-grounded inference, not a vendor number.
VRAM needed for Qwen3.8-27B
Weights at BF16 are about 51.75 GiB, more than any single consumer card, so you will be running a quant. The community GGUF quants give measured file sizes:
| Quant | Size | Notes |
|---|---|---|
| BF16 | 54.66 GB | Full precision, split file |
| Q8_0 | 29.12 GB | Max available quant, usually more than needed |
| Q6_K | 23.46 GB | Near-lossless |
| Q5_K_M | 20.75 GB | High quality |
| Q4_K_M | 17.77 GB | The default recommendation |
| IQ4_XS | 15.57 GB | Smaller than Q4_K_S, similar quality |
| Q3_K_M | 14.61 GB | Quality starts dropping noticeably |
| Q2_K | 11.84 GB | "Very low quality but surprisingly usable" |
Need it smaller still? Underdog's 2-bit Saluki 27B is a 7.89 GB GGUF tuned to keep tool calling, and it needs about 9.5 GiB at 32K context. Nous Research's Arete-27B fine-tune keeps the same memory profile but drops the MTP head.
Combined with the cache figures above:
- 24 GB card (RTX 4090, 3090): Q4_K_M weights at ~17.8 GB leave roughly 5–6 GB for cache and overhead. That is about 32k–64k of context, not 262k. Fine for coding and documents, not for a whole repository.
- 32 GB: Q4_K_M or Q5_K_M with room for longer context.
- 48 GB (RTX 6000-class, or 2x24 GB): Q6_K plus six-figure context, or Q4 with the full 262k.
- 80 GB (A100/H100): BF16 weights plus the full native context.
Two details catch people out. The vision encoder is separate in GGUF form, so image and video input needs an mmproj projector file alongside whatever quant you download. And the quants bundle MTP (multi-token prediction) layers for speculative decoding, which adds a little to file size but can improve throughput.
Check the numbers before you download 18 GB of weights. To run them against your own card, context length and concurrent-user count, use our AI VRAM Calculator. It has both Qwen3.8 presets, and the preset uses 16 attention layers rather than the full 64, so its KV figures match the arithmetic above instead of overstating them by 4x. If you are new to sizing GPUs for local models, our local LLM VRAM guide covers weights, KV cache and overhead for 8B to 70B models. For a mixture-of-experts comparison, Kolibri-1's VRAM math shows why 3B active parameters still means 73 GiB of weights.
Qwen3.8-Max hardware needs
At 2.4T total parameters, BF16 weights alone are roughly 4.4 TB. Even at 4-bit that is over a terabyte of memory.
MoE does not fix that. Only ~95B parameters are active per token, so compute per token is modest for a model this size. But every expert has to be resident where the GPU can reach it, so memory scales with the full 2.4T. Sparse activation buys speed, not footprint.
That puts it in multi-node datacentre territory: clusters of H100/H200 or MI300X-class accelerators with tensor and expert parallelism, served through SGLang or vLLM. You can download, inspect, fine-tune and self-host it if you have the hardware, but it is not a local model. Today the realistic route is a hosted provider.
The licence is a custom qwen3.8-max one, not Apache 2.0 like the 27B. Check the terms before building on it.
Thinking mode on Max cannot be turned off. Every response opens with a <think> block. You control depth with reasoning_effort (low, medium, xhigh, with xhigh the default), but you cannot get a bare answer. Budget output tokens for it: the card suggests up to 262,144 tokens for reasoning and 131,072 for the final response inside a 1M context.
Benchmarks
Alibaba's published numbers are strong. On the 27B: 61.7 on SWE-bench Pro, 73.0 on Terminal Bench 2.1, 89.2 on GPQA Diamond, 90.3 on LiveCodeBench v6. On vision: 84.3 on OSWorld-Verified, 90.0 on MathVision, 91.1 on OmniDocBench 1.5.
Qwen3.8-Max posts 67.7 on SWE-bench Pro, 86.6 on Terminal Bench 2.1, 92.6 on GPQA Diamond and 93.0 on PaperBench, the last of which is above the Claude and GPT-5.6 comparison figures in Alibaba's own table.
Several of these are in-house benchmarks (QwenSWEBench, QwenQoderBench, CoWorkBench, RecreationBench), and the scores for competing models were re-run by Alibaba rather than taken from independent leaderboards. The Max card itself says some competitor results "may involve fallbacks." Qwen has a solid track record, so the numbers are probably fine, but cross-model gaps from a vendor's own harness deserve more skepticism than the same gaps from a neutral evaluation.
The more notable claim is not a benchmark. Alibaba says Max sustained work for over 125 hours reproducing and improving research papers, and continued a software project for 16 days without human intervention. That is harder to fake than a leaderboard row.
Running the 27B
For a single-GPU local setup:
- Pick a quant for your VRAM. Q4_K_M at 17.77 GB is the default on a 24 GB card. Step up to Q6_K at 32 GB or more.
- Grab the mmproj file if you want image or video input. With llama.cpp's
-hfflag it is pulled automatically; loading files by hand means passing--mmprojyourself. - Set context on purpose. At 64 KiB per token, 262k costs 16 GiB of cache by itself. Start at 32k and raise it when a task needs it.
- Decide on thinking mode. Unlike Max, the 27B lets you disable it with
enable_thinking: False, or dial it withreasoning_effort. Thinking mode uses temperature 1.0 / top_p 0.95 / top_k 20; non-thinking uses temperature 0.7 / top_p 0.80 / top_k 20 with presence_penalty 1.5. - Use a real serving engine if you need throughput. Ollama and LM Studio are fine for one user, and our Hermes Agent setup guide shows how to point a local agent at either. On an Apple Silicon Mac, our Ollama MLX setup guide covers the faster MLX backend. For concurrency, the card points to SGLang, vLLM or TokenSpeed.
AMD announced day-0 support for the family on Instinct MI300X, MI325X and MI355X via ROCm with SGLang and vLLM.
If you make your own quants, note that the 27B sets attn_output_gate: true, which fuses an output gate into q_proj, so that tensor is [12288, 5120] rather than [6144, 5120]. Half of it is a multiplicative per-head gate, and quantization error hurts a multiplicative gate more than a plain additive projection. Community FP8 and NVFP4 builds account for this. A naive uniform quant may not.
If you run models locally, the 27B is the release to look at: Apache 2.0, native multimodal, usable long context thanks to the hybrid stack, and it fits one card at Q4. Most models that handle images well are closed or too big to self-host, and most that advertise 262k context make it painfully expensive to use. If more labs adopt the 3:1 pattern, the cost of 200k context will look very different next year. Max is a different case. A Max-class model with downloadable weights changes what "open" means at the top of the market, even if almost nobody can run it at home.
FAQ
Can I run Qwen3.8-27B on a 24 GB GPU?
Yes, quantized. Q4_K_M weights are 17.77 GB, which leaves roughly 5–6 GB for KV cache and overhead, enough for about 32k–64k of context. BF16 (51.75 GiB) and the full 262k context do not fit.
Why does the VRAM calculator show 16 layers for a 64-layer model?
Only 16 of the 64 layers use Gated Attention and keep a growing KV cache. The other 48 are Gated DeltaNet layers with a fixed-size recurrent state. Entering 64 layers would overstate the KV cache by roughly 4x.
Can I run Qwen3.8-Max locally?
Realistically, no. BF16 weights are around 4.4 TB, and 4-bit quantization still exceeds a terabyte. MoE sparsity reduces compute per token, not memory, because all experts must stay resident. It needs multi-node datacentre GPUs.
Can I turn off thinking mode?
On the 27B, yes: pass enable_thinking: False, or set reasoning_effort to low or medium to reduce depth. On Qwen3.8-Max, no. The card says thinking cannot be disabled, and every response begins with a <think> block.
Sources
- Qwen/Qwen3.8-27B model card: architecture, layer pattern, context, benchmarks, sampling settings
- Qwen/Qwen3.8-2.4T-A95B model card: MoE config, licence, thinking-mode behaviour, benchmark table
- bartowski/Qwen3.8-27B-GGUF: measured quant file sizes and mmproj notes
- AMD: Day-0 support for Qwen 3.8 on Instinct GPUs
- DataNorth: Alibaba releases Qwen3.8-27B open weights: release dates, licence confirmation, hosted pricing
- huginnfork/Qwen3.8-27B-FP8:
attn_output_gatequantization note
