AI Infrastructure

Qwen 3.8 Local Requirements: VRAM, File Sizes and Hardware for 27B and Flash-Next

Qwen3.8 has three open-weight checkpoints, and two of them suit a desk or a single server: the dense 27B and Flash-Next, a preview of Qwen's next architecture. This guide lists every official and community build with its size, works out the memory for each GPU and Mac tier, and gives the Ollama, LM Studio, llama.cpp, vLLM and SGLang commands, all checked on 4 November 2026.

Qwen 3.8 local requirements depend on which model you mean. Qwen3.8-27B is dense, and its 4-bit GGUF files of 14.3 to 19.0 GB run on one 24 GB GPU with roughly 38,000 to 110,000 tokens of context, or on a 32 GB RTX 5090 with about 148,000. Qwen3.8-Flash-Next activates 6 billion of its 180 billion stored parameters and needs about 94 to 120 GB at 4-bit, which suits a 128 GB DGX Spark or Mac, while the 2.4-trillion-parameter model behind Qwen3.8-Max needs a GPU cluster.

Qwen published the Qwen3.8 open weights in August 2026: the 2.4-trillion-parameter flagship on 12 August, the dense 27B on 14 August and Flash-Next on 26 August. A Qwen 3.8 9B or 35B does not exist officially, and Qwen 3.8 Max is downloadable only under another name.

This guide covers what Qwen released, the community builds made from it and the memory each file needs, checked on 4 November 2026 with the method of our LLM VRAM calculator.

Qwen 3.8 models at a glance

Qwen3.8-27BQwen3.8-Flash-NextQwen3.8-2.4T-A95B
Open weights released14 August 202626 August 202612 August 2026
Parameters27.8B, dense125B with 6B active, plus a 51B n-gram embedding and 4B for multi-token prediction2.4T with 95B active
Layers64; one in four uses attention48; one in four uses sparse attention; 512 experts92; one in four uses attention; 512 experts
Context262,144 tokens; about 1M with YaRN262,144 tokens; about 1M with YaRN262,144 tokens; 1,010,000 with YaRN
InputText, images, videoText, images, videoText
LicenceApache 2.0Qwen Community License 1.0Qwen3.8-Max License
Qwen’s weightsBF16 55.6 GB; FP8 30.9 GBBF16 360.0 GB; FP8 185.6 GBBF16 4,892 GB; FP8 2,496 GB

All three think by default and accept a reasoning_effort of low, medium or xhigh; only the 2.4T model cannot switch thinking off.

Flash-Next is the unusual one: Qwen presents it as an early, experimental look at the design Qwen4 will use. Its sparse attention selects context in small blocks, and its n-gram embedding, a 20-million-row table looked up by bigrams and trigrams, adds 51 billion parameters at almost no compute cost. That table can sit in host memory, which shapes the tiers below.

Three names in search results are hosted models. Qwen3.8-Flash is Qwen Cloud’s production version of Flash-Next, with a 1M-token window and built-in tools, and Qwen3.8-Omni-Flash adds audio input; both cost $0.15 per million input and $0.47 per million output tokens as of 4 November 2026. Qwen3.8-Max is the hosted form of the open 2.4T model, adding image input and a non-thinking mode.

Is there a Qwen 3.8 9B or 35B?

No. Qwen’s Hugging Face organisation holds six Qwen3.8 repositories, the three models above in BF16 and FP8. Files named Qwen3.8-35B-A3B or Qwen3.8 9B are third-party distillations; Empero’s 35B-A3B uses the older Qwen3.6-35B-A3B architecture. For 8 to 16 GB cards, our model picks for each VRAM size cover the official alternatives.

Qwen 3.8 27B size: every build you can download

Repository totals on 4 November 2026; only the first two rows come from Qwen.

BuildPublisherSize
BF16, as releasedQwen55.6 GB
FP8Qwen30.9 GB
NVFP4NVIDIA21.9 GB
NVFP4 mixed with FP8Unsloth23.4 GB
GGUF Q8_0ggml-org28.6 GB
GGUF Q4_K_Mggml-org19.0 GB
GGUF UD-Q4_K_XLUnsloth17.6 GB
GGUF UD-IQ4_XSUnsloth14.3 GB
MLX 4-bit; 8-bitLM Studio community16.1 GB; 29.5 GB
Ollama q4_K_M; q8_0Ollama18 GB; 30 GB

One label can mean different sizes: Q4_K_M is 16.8 GB from LM Studio’s community account, 17.4 GB from bartowski and 19.0 GB from ggml-org. The vision encoder ships as a separate 0.6 to 0.9 GB mmproj file. NVFP4 builds need a Blackwell GPU, such as an RTX 50-series card or a DGX Spark, Unsloth notes; on an RTX 4090, use GGUF.

Qwen 3.8 Flash Next size and builds

Flash-Next stores 180 billion parameters but computes with 6 billion. Unsloth keeps the n-gram table at 4 bits or more, because squeezing it harder damages the model, so even its 1-bit file weighs 72.6 GB.

BuildPublisherSize
BF16, as releasedQwen360.0 GB
FP8Qwen185.6 GB
NVFP4 experts, FP8 n-gram tableNVIDIA132.7 GB
NVFP4RadixArk135.2 GB
GGUF Q8_0Unsloth188.2 GB
GGUF UD-Q4_K_XLUnsloth111.3 GB
GGUF UD-IQ4_XSUnsloth93.7 GB
GGUF UD-IQ1_SUnsloth72.6 GB
MLX 4-bitmlx-community111.5 GB
Ollama q4_K_M; MLX NVFP4Ollama120 GB; 105 GB

Unsloth measured top-1 token agreement with the full model at 77.3% for UD-IQ1_S, 89.6% for UD-IQ4_XS, 92.3% for UD-Q4_K_XL and 94.1% for Q8_0. NVIDIA’s NVFP4 build quantizes only the routed experts to 4 bits and lists B200 and B300 as its test hardware.

How to estimate Qwen 3.8 VRAM requirements

Memory is the weights (parameters × bits ÷ 8, or the file size above), plus the KV cache for the context you keep, plus runtime overhead.

Qwen3.8-27B caches only 16 of its 64 layers, each with 4 key-value heads of 256 dimensions: 2 × 16 × 4 × 256 × 2 bytes, or 64 KiB per token at 16-bit. That is 8.6 GB for 131,072 tokens and 17.2 GB for the full window, halved by an 8-bit cache, plus a fixed 0.15 GB of DeltaNet state per conversation. Flash-Next’s 12 sparse-attention layers hold 2 key-value heads each, so a token costs 24 KiB: 6.4 GB for the native window, plus a small indexer cache.

Like the calculator, the tables count 90% of GPU memory and 80% of unified memory as usable, for one conversation.

Qwen 3.8 VRAM requirements by tier

Qwen3.8-27B

MemoryExample hardwareBuildContext left
8 GBRTX 5060UD-IQ1_S, 6.2 GB≈13,000 tokens; not practical
12 GBRTX 5070UD-IQ2_XXS, 7.3 GB≈52,000 tokens at 2-bit quality
16 GBRTX 5080UD-IQ3_XXS, 10.9 GB≈51,000 tokens
24 GBRTX 4090UD-IQ4_XS 14.3 GB; Q4_K_M 19.0 GB≈110,000; ≈38,000 tokens
32 GBRTX 5090, Radeon AI PRO R9700Q4_K_M 19.0 GB≈148,000 tokens
48 GBL40SFP8 30.9 GB≈186,000 tokens
96 GBRTX PRO 6000 BlackwellBF16 55.6 GB≈468,000 tokens
24 GB MacMacBook Air or Pro, Mac miniMLX 4-bit 16.1 GB≈46,000 tokens
48 GB MacMac mini M5 Pro, MacBook ProMLX 8-bit 29.5 GB≈133,000 tokens
128 GB unifiedDGX Spark, Ryzen AI Max+ 395BF16 55.6 GBFull window, but slow

The 32 GB tier is the comfortable one, on NVIDIA or AMD’s Radeon AI PRO R9700; our GPU buying guide for local models compares the cards.

Qwen3.8-Flash-Next

MemoryExample hardwareBuildContext left
24–32 GB GPU plus 128 GB RAMRTX 4090 or 5090 workstationUD-IQ4_XS, experts in system RAMSpeed follows RAM bandwidth
96 GB GPURTX PRO 6000 BlackwellUD-IQ3_XXS 82.0 GB≈176,000 tokens
128 GB unifiedDGX Spark, Mac Studio M5 MaxUD-IQ4_XS 93.7 GB≈350,000 tokens
256 GB unifiedMac Studio M5 Ultra, two DGX SparksQ8_0 188.2 GB≈670,000 tokens
GPU servers4× RTX PRO 6000, 8× H100 or H200, one GB300NVFP4 or FP8Large shared pools

Bandwidth then sets speed. Our tokens-per-second calculator divides 60% of peak bandwidth by the bytes read per token: about 17 GB for the 27B at Q4_K_M, giving ceilings near 63 tokens per second on an RTX 5090’s 1,792 GB/s, 22 on a 614 GB/s M5 Max and under 10 on a 273 GB/s DGX Spark. Flash-Next reads about 3.7 GB at 4-bit, lifting the Spark’s ceiling to about 45. These are upper bounds, not benchmarks.

Running Qwen 3.8 locally: Ollama, LM Studio, llama.cpp, vLLM and SGLang

Desktop tools suit one person, vLLM and SGLang a shared server; see our vLLM, Ollama and llama.cpp comparison.

Ollama

ollama run qwen3.8 pulls the 27B at q4_K_M, 18 GB with image input, tools and thinking. Flash-Next needs a tag: qwen3.8-flash-next:125b-a6b-q4_K_M (120 GB), or qwen3.8-flash-next:125b-mlx (105 GB) for Ollama’s MLX engine on Apple silicon. Neither had a cloud tag on 4 November 2026. The default context runs from 4K tokens below 24 GiB of VRAM to 256K from 48 GiB up; Ollama suggests at least 64,000 for agents:

OLLAMA_CONTEXT_LENGTH=65536 ollama serve

LM Studio

The catalogue lists qwen/qwen3.8-27b with a 16 GB minimum, as GGUF and as MLX 4- to 8-bit builds, and qwen/qwen3.8-flash-next as GGUF with a 96 GB minimum. Unsloth’s own app runs the UD files; our Unsloth Studio and LM Studio comparison explains how they differ.

llama.cpp

The 27B uses the Qwen3.5 architecture. Flash-Next support arrived on 27 August 2026 (pull request #27742) and its multi-token prediction on 1 October (#29761).

# 27B on a 24-32 GB GPU
llama serve -hf ggml-org/Qwen3.8-27B-GGUF:Q4_K_M -c 65536

# Flash-Next with routed experts in system RAM; drop --cpu-moe on a 128 GB machine
llama serve -hf unsloth/Qwen3.8-Flash-Next-GGUF:UD-IQ4_XS --cpu-moe -c 65536

Without -c, the default --fit option trims the model’s 262,144 tokens to the memory it finds. llama.cpp can also read huge per-layer embedding tables, such as the n-gram table, from the file on demand (--lazy-mode, automatic for tensors over 4 GiB), so real memory use can sit below the file size.

vLLM

The 27B recipe asks for vLLM 0.17.0 or newer, Flash-Next for 0.30.0 or newer; 0.32.0, released on 18 October, was current on 4 November. The single-GPU command:

vllm serve Qwen/Qwen3.8-27B \
  --tensor-parallel-size 1 \
  --enable-auto-tool-choice \
  --tool-call-parser qwen3_coder \
  --reasoning-parser qwen3 \
  --mm-encoder-tp-mode data

Use Qwen/Qwen3.8-27B-FP8 to halve the weights, --kv-cache-dtype fp8 to halve the cache and --speculative-config '{"method":"mtp","num_speculative_tokens":3}' for the built-in draft head. For Flash-Next, the recipe runs Inferact’s NVFP4 build on four RTX PRO 6000 cards with expert parallelism. On eight H100s, vLLM moves the n-gram table to host memory by default, which needs at least 51 GB of host RAM.

SGLang

Qwen’s repository gives a four-GPU example; SGLang’s cookbook also has single-GPU recipes for the 27B on an RTX 5090, RTX PRO 6000 and DGX Spark:

sglang serve --model-path Qwen/Qwen3.8-27B --port 8000 --tp-size 4 --context-length 262144 --reasoning-parser qwen3 --tool-call-parser qwen3_coder

Qwen 3.8 on an RTX 5090, a DGX Spark or a Mac

Qwen 3.8 27B on an RTX 5090

In llama.cpp the 19.0 GB Q4_K_M file leaves about 148,000 tokens of 16-bit cache on the 5090’s 32 GB, and a 22.0 GB 6-bit file about 102,000. vLLM is tighter: its recipe found 31.4 GiB usable, and an NVFP4 build starts only with CUDA graphs off (--enforce-eager) and a 32,768-token limit, leaving a 91,022-token cache pool. Two 5090s hold the full window. Flash-Next needs --cpu-moe and about 128 GB of system memory.

Qwen 3.8 Flash Next on a DGX Spark

Flash-Next is the Qwen3.8 model that suits a Spark. Unsloth’s 93.7 GB UD-IQ4_XS fits the 128 GB with room for the native window. SGLang’s cookbook measured another route: because the Spark’s memory is one pool, it writes the 47.7 GiB FP8 n-gram table to a file on the NVMe drive and keeps the other 78 GiB of an NVFP4 build resident. It recorded 27.5 tokens per second for one stream with multi-token prediction and 15.9 without; two Sparks linked at 200 Gb/s reached 47.4 with it. Each boot rewrites that file, which took 55 minutes when the old copy was left in place. The dense 27B runs on a Spark too, but our estimate caps it near 10 tokens per second.

Qwen 3.8 on a Mac

The Mac Studio comes with an M5 Max, up to 128 GB at 460 or 614 GB/s, or an M5 Ultra with 96, 256 or 512 GB at 1.2 TB/s. The 27B’s MLX builds fit 24 GB Macs at 4-bit and 48 GB Macs at 8-bit. Flash-Next wants 128 GB: Unsloth’s 93.7 GB file fits, while Ollama’s 105 GB MLX tag and the 111.5 GB mlx-community build pass our 80% line. DwarfStar, a small open-source engine, says its 2-bit Flash-Next build runs on 64 GB Macs with 41.7 GiB of resident weights, reading the n-gram table from SSD; we have not tested it. Our M5 Ultra Mac Studio guide and desk-side hardware comparison cover the machines.

Qwen 3.8 Flash Next vs 27B vs GLM-5.3-Flash vs DeepSeek V4.1 Flash

Qwen3.8-Flash-NextQwen3.8-27BGLM-5.3-FlashDeepSeek-V4.1-Flash
Parameters125B, 6B active, plus 51B n-gram table27.8B dense320B, 18B active552B plus 196.6B Engram memory; 8B active in prefill, 16B in decode
Context262K native, 1M with YaRN262K native, 1M with YaRN1M1M
InputText, images, videoText, images, videoText, imagesText, images
LicenceQwen Community License 1.0Apache 2.0MITMIT
Weights as published185.6 GB FP830.9 GB FP8328.3 GB FP8510.3 GB, FP4 experts
Unsloth’s smallest 4-bit GGUF93.7 GB14.3 GB156.8 GB500.7 GB

Qwen’s own scores put Flash-Next ahead of the 27B on agent work: 62.5 against 61.7 on SWE-bench Pro, 58.7 against 42.2 on DeepSWE 1.1 and 73.9 against 70.7 on CoWorkBench. Other vendors use other harnesses, so test on your own tasks.

Against GLM-5.3-Flash, Flash-Next activates a third as many parameters per token and fits a 128 GB machine at 4-bit, where GLM’s 157 to 200 GB builds need 256 GB; GLM answers with a native 1M-token window and an MIT licence, as our GLM-5.3 sizing guide details. Our DeepSeek V4.1 Flash hardware guide covers the heaviest of the four.

Qwen 3.8 licences: Apache 2.0, Community and Max

  • Qwen3.8-27B: Apache 2.0, with no conditions beyond its usual notice terms.
  • Qwen3.8-Flash-Next: Qwen Community License 1.0. An MIT-style grant with two conditions. Products above 100 million monthly active users or US$20 million in monthly revenue must display the model name. A licensee whose group runs a Model-as-a-Service or AI Work Assistant business, meaning an independent coding or office-productivity product, must “obtain a separate license from Qwen before Using the Software” commercially, whatever its revenue. Internal use is exempt while the software, its outputs and its capabilities stay away from third parties.
  • Qwen3.8-2.4T-A95B: Qwen3.8-Max License. The same text, except that the separate licence applies only above US$50 million of group revenue in any 12 consecutive months.

NVIDIA’s Flash-Next NVFP4 build adds its own Open Model License. Our Qwen size-tier guide for enterprise teams compares Qwen3.5, 3.6 and 3.8 at scale.

How VDF AI fits

A Qwen3.8 server answers anyone who can reach its port. Work use also needs rules for who may send which data, a record of each request, and retrieval that respects document permissions. VDF AI supplies that layer on infrastructure you control, with policy-bound agents, multi-agent workflows in Networks, private document retrieval, audit logs and role-based access control on every plan.

VDF AI Router can register your own endpoints, such as vLLM serving Qwen3.8-27B or an Ollama host running Flash-Next, beside the cloud models your policy approves; in air-gap mode it sends nothing beyond local models. A team can start with the 27B on one GPU and add Flash-Next later without changing the applications that call the router.

Sources

Qwen model cards and licences, build listings and runtime docs checked 4 November 2026.


Planning a Qwen3.8 rollout? See how VDF AI Router governs local and cloud models behind one endpoint, or book a demo.

Frequently asked questions

What are the Qwen 3.8 27B VRAM requirements?

Plan for the file plus the context you want to keep. The 4-bit GGUF files are 14.3 to 19.0 GB, the 8-bit files about 29 GB and Qwen's BF16 original 55.6 GB. Every token of context adds 64 KiB of 16-bit KV cache, so 131,072 tokens cost another 8.6 GB. On that arithmetic one 24 GB GPU runs a 4-bit build with roughly 38,000 to 110,000 tokens of context, and a 32 GB card with about 148,000.

Can I run Qwen 3.8 27B on an RTX 5090?

Yes. In llama.cpp the 19.0 GB Q4_K_M file leaves room for about 148,000 tokens of 16-bit cache on the card's 32 GB. vLLM's recipe also serves an NVFP4 build on one RTX 5090, but only with CUDA graphs turned off and a 32,768-token limit, because the card has 31.4 GiB usable. Two RTX 5090s hold the model's full 262,144-token window.

What are the Qwen 3.8 Flash Next VRAM requirements?

Flash-Next stores 180 billion parameters, including a 51-billion-parameter n-gram embedding table, though only 6 billion are active for each token. Qwen's FP8 release is 185.6 GB and its BF16 release 360.0 GB. Community 4-bit files run from 93.7 GB to about 120 GB, so 128 GB of memory is the practical starting point; LM Studio lists a 96 GB minimum. vLLM and SGLang can move the n-gram table to host memory or an SSD file to save GPU memory.

Can Qwen 3.8 Flash Next run on a DGX Spark?

Yes. Unsloth's 93.7 GB UD-IQ4_XS GGUF fits a 128 GB Spark with room for the native 262,144-token window under our sizing rule. SGLang's cookbook also runs an NVFP4 build on one Spark by keeping the 47.7 GiB n-gram table in a file on the NVMe drive, and measured 27.5 tokens per second for a single stream with multi-token prediction. Two linked Sparks reached 47.4 tokens per second.

How do I run Qwen 3.8 with Ollama?

Run ollama run qwen3.8 to get the 27B, an 18 GB q4_K_M download with image input, tool calling and thinking. Flash-Next needs an explicit tag, such as qwen3.8-flash-next:125b-a6b-q4_K_M at 120 GB, or qwen3.8-flash-next:125b-mlx at 105 GB on Apple silicon. Neither model had cloud tags in Ollama's library on 4 November 2026, so both run on your own machine. Raise the context window with OLLAMA_CONTEXT_LENGTH, because Ollama's default depends on your VRAM.

Which Qwen 3.8 models are open weight?

Three: Qwen3.8-27B under Apache 2.0, Qwen3.8-Flash-Next under the Qwen Community License 1.0, and Qwen3.8-2.4T-A95B, the base of the hosted Qwen3.8-Max, under the Qwen3.8-Max License. Each is published in BF16 and FP8. Qwen3.8-Flash and Qwen3.8-Omni-Flash are API models on Qwen Cloud without downloadable weights, and Qwen has released no Qwen3.8 9B or 35B; files with those names are community distillations.

Filed under
QwenQwen3.8local LLMVRAMopen-weight modelsmodel serving
On-Prem AI

Plan your on-prem AI deployment

Book an architecture call and we will scope a private, on-prem AI deployment for your environment — integrations, hardware, and governance included.

Keep reading